NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 12 13 14 15 16 … 193 Next »
Better playback of radio recordings

 
  • 0 Vote(s) - 0 Average
Better playback of radio recordings
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#1
2018-06-14, 01:45 PM
Hi Sub,

NPVR is able to record radio shows with no problems, but when you play them back the experience is not great.
As well as just seeing a black screen, which is not a big problem - I encounter the following issues:

No ability to skip forward or back
No OSD or timeline
No resume options if playback is stopped part way through
The 'This recording has been watched to completion....' and prompt to delete message comes up every time you stop playback, even if you've only played the first few seconds.

Any chance of improving radio playback so these issues don't occur? It would greatly improve the WAF in my household.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#2
2018-06-14, 06:29 PM (This post was last modified: 2018-06-14, 11:18 PM by pBS.)
use ffmpeg to add video to the audio files and you'll get all those features back..just takes a few secs as it's optimized to not add too much to file size..
Code:
ffmpeg -y -f lavfi -i color=c=black:s=qcif -r 4 -i "input file" -c:a copy -c:v libx264 -tune stillimage -map 0:v:0 -map 1:a:0 -shortest -r 4 -g 8 "output file"
i usually just save as original name so it replaces original file..
this keeps audio as-is and just adds a black frame video, so you can pause/skip/resume..adds roughly less than 1% to size of file..Big Grin
you can play with the -r [framerate/sec] and -g [group of pictures size,roughly skipping point size] to get skipping that's more responsive if you want..

you could add logic to postprocessing.bat to process all radio channels automatically..Smile [only takes a few secs to process,1000's of fps]
To process ch 550 thru 750:
Quote:@for /L %%f in (550,1,750) do (if %2==%%f ffmpeg line from above...)
you can also add text to that black frame w ffmpeg, tho i doubt any motion possible,just static text..tho it could change during song..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#3
2018-06-15, 08:20 AM
Thank you pBS, that is extremely helpful, I will do some tinkering with my postprocessing.bat and try to get this working.

For users who are not comfortable with scripting etc, I do think it would be a worthwhile improvement to integrate something like this into NPVR. As long as NPVR already knows which channels are radio channels, perhaps a static image of the channel-logo, or some basic animation could be added automatically as a video track?
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#4
2018-06-15, 04:11 PM
pBS - Any chance you could post an example postprocessing.bat that does this - I haven't been able to make it work, and I'm not sure why...
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2018-06-15, 09:00 PM
which channel #s do you want included?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#6
2018-06-15, 09:06 PM
JP23 Wrote:perhaps a static image of the channel-logo

Speaking on behalf of oled owners everywhere, no, no, no! Smile

Iain
JP23
Offline

Senior Member

Posts: 405
Threads: 98
Joined: Oct 2007
#7
2018-06-16, 11:02 AM
pBS Wrote:which channel #s do you want included?

I've got it working now, I very much hope substituting the right channel numbers in was a bit I could manage. Smile

Every test I did with ffmpeg using the -y option to overwrite the existing file failed immediately as the input file gets overwritten straight away, stopping processing. So I ended up writing the new file elsewhere and then copying it back to the recording directory.
I also ended up removing the @for... line and putting an if > goto statement for every radio channel number, which is ok because I only have 10.

Thanks again for all your help.

@imline - I get the concern, but I don't think the odd 30 minutes of a static image amongst hours of tv playback is going to ruin a TV? An animation or a black screen might be better options though.

I suspect Sub isn't very interested though or he probably would have said something by now...
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#8
2018-06-17, 07:26 PM
does oled suffer from burn-in?
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Web display of Recordings w/o Pending Recordings turndave 5 974 2023-09-13, 10:08 PM
Last Post: turndave
  subtract time from recordings for web client jobby99 0 551 2023-05-28, 09:09 PM
Last Post: jobby99
  Divide Recordings by Channel (and other properties) ChaosMageX 1 708 2023-03-20, 07:35 PM
Last Post: mvallevand
  [Kodi] Directory Folders for Recordings Panic 14 3,017 2022-07-28, 03:59 PM
Last Post: mvallevand
  Radio feed Information Pfmk2 1 806 2022-06-28, 08:44 PM
Last Post: mvallevand
  Resume on recordings mvallevand 13 2,861 2022-05-02, 08:04 PM
Last Post: artmetz
  playback position artmetz 6 1,482 2022-03-06, 01:15 PM
Last Post: artmetz
  direct bookmarkable URL for Recent Recordings f0945a5662 2 989 2021-11-18, 07:50 PM
Last Post: f0945a5662
  Cancellation of individual pending recordings Petrovski 25 8,397 2021-11-07, 06:49 PM
Last Post: sub
  Feature request (recordings calendar view) ThymeJ 1 2,317 2021-09-19, 04:44 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode