I have a recurring problem: My standard roku encode is an h.264 created with compressor (and more often lately with ffmpeg) , wrapped in a transport stream. I have experienced quite frequently videos getting "Cut off" before the very end. This effects fades to black as well as any trailing audio and makes the encode unusable. I have requested that all clips delivered to me for encoding have extra black at the tail, and this seems to mitigate the problem. However, I'd love to know what is actually going on, so I can fix my files in the future. One such video is here: http://dl.dropbox.com/u/20213609/Vid1.ts The file is 1280x720, ffmpeg h264, 59.94, AAC audio@48k, steam bitrate doesn't rise above 10mbps.
Date
Votes
2 comments
-
Ryan Nestor
Ah, I believe I have solved my problem.
Seems that while the brightsign will *play* h264 and aac shoe-horned into an mpeg transport stream, it was the aac that was causing problems. I was able to get the encodes working nicely with mpg audio, which must be what the wrapper is looking for. My ffmpeg commandline from my batch script:
ffmpeg -i $INPUTFILE -acodec mp2 -ab 192k -vcodec libx264 -vpre slow -b 20480k -s 1280x720 -threads 8 $OUT_BASE.ts
this is multi-threaded, so you may need to change the value of -threads. -
RokuLyndon
I sent an email with firmware for you to test with. Thanks for the ffmpeg info.
Please sign in to leave a comment.