[FFmpeg-user] Automatic encoding of .ts files gives an inexplicable delay after muxing

Moritz Barsnick barsnick at gmx.net
Mon Oct 27 22:36:36 CET 2014


On Mon, Oct 27, 2014 at 09:36:57 -0700, marsupilami wrote:
> So most things work alright now. But I'd like to have the "Encoding Settings"
> header back in my mkv files like the standalone x264 adds them - ffmpeg's
> muxer doesn't seem to do that. What would I have to do to fix that? I've
> tried ffmpeg's -metadata option, but it doesn't work like I want it to. 

Oh, I think it's in there somewhere, because mediainfo kindly displays
it.

File created with:

$ ffmpeg -f lavfi -i testsrc -c:v libx264 -t 3 /tmp/test.mkv

and checked with mediainfo:

$ mediainfo /tmp/test.mkv | grep -E "Encoding|Writing"
Writing application                      : Lavf56.9.100
Writing library                          : Lavf56.9.100
Writing library                          : x264 core 142
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=4 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=23.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00

(Sorry, I couldn't tickle that info out of ffprobe, nor find it in the
metadata displayed by ffmpeg.)

Moritz


More information about the ffmpeg-user mailing list