[FFmpeg-user] Transcoding for the Roku with recent ffmpeg

Yan Seiner yan at seiner.com
Sat Jan 5 16:34:36 CET 2013


Carl Eugen Hoyos wrote:
> Yan Seiner <yan <at> seiner.com> writes:
>
>   
>> One more time, lots of googling and this seems to be 
>> my problem. Is there any way to set the audio and 
>> video interleave?
>>
>> The Roku Box does not support playing content that 
>> does not interleave the audio and the video.
>>     
>
> I don't remember a bug report about bad mov interleaving 
> and I don't think this changed lately so this sounds 
> very unlikely to me.
>
> Given that the two files you posted information about 
> were completely differently encoded (x264 options), I 
> strongly suspect this is where the problem lies.
>   
Well, my latest effort is pretty close:

ffmpeg 1.0, doesn't play ***********************************************************

< Bits/(Pixel*Frame)                       : 0.152
< Stream size                              : 1.57 GiB (89%)
< Writing library                          : x264 core 129 r2230 1cffe9f
< Encoding settings                        : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

ffmpeg 0.8, plays ************************************************************

> Bits/(Pixel*Frame)                       : 0.163
> Stream size                              : 937 MiB (88%)
> Writing library                          : x264 core 114
> Encoding settings                        : cabac=0 / ref=5 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=abr / mbtree=1 / bitrate=1200 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.41 / aq=1:1.00


The only difference is the me_method, which I have fixed in my current attempt, and the rc and ref, which I'm still trying to figure out....

do you know what options control those settings?



More information about the ffmpeg-user mailing list