• Anton Khirnov's avatar
    rawenc: switch to encode2(). · cd1ad18a
    Anton Khirnov authored
    This changes a number of FATE results, since before this commit, the
    timestamps in all tests using rawenc were made up by lavf.
    
    In most cases, the previous timestamps were completely bogus.
    
    In some other cases -- raw formats, mostly h264 -- the new timestamps
    are bogus as well. The only difference is that timestamps invented by
    the muxer are replaced by timestamps invented by the demuxer.
    
    cscd     -- avconv sets output codec timebase from r_frame_rate
    and r_frame_rate is in this case some guessed number 31.42 (377/12),
    which is not accurate enough to represent all timestamps. This results
    in some frames having duplicate pts. Therefore, vsync 0 needs to be
    changed to vsync 2 and avconv drops two frames. A proper fix in the
    future would be to set output timebase to something saner in avconv.
    
    nuv      -- previous timestamps for video were wrong AND the cscd
    comment applies, one frame is dropped.
    
    vp8-signbias -- the file contains two frames with identical timestamps,
    so -vsync 0 needs to be removed/changed to -vsync 2 and avconv drops one
    frame.
    
    vc1-ism -- apparrently either the demuxer lies about timestamps or the
    file is broken, since dts == pts on all packets, but reordering clearly
    takes place.
    cd1ad18a
Name
Last commit
Last update
..
aiff Loading commit data...
alaw Loading commit data...
asf Loading commit data...
au Loading commit data...
avi Loading commit data...
bmp Loading commit data...
dv_fmt Loading commit data...
ffm Loading commit data...
flv_fmt Loading commit data...
gif Loading commit data...
gxf Loading commit data...
jpg Loading commit data...
mkv Loading commit data...
mmf Loading commit data...
mov Loading commit data...
mpg Loading commit data...
mulaw Loading commit data...
mxf Loading commit data...
mxf_d10 Loading commit data...
nut Loading commit data...
ogg Loading commit data...
pbmpipe Loading commit data...
pcx Loading commit data...
pgm Loading commit data...
pgmpipe Loading commit data...
pixfmt Loading commit data...
png Loading commit data...
ppm Loading commit data...
ppmpipe Loading commit data...
rm Loading commit data...
sgi Loading commit data...
swf Loading commit data...
tga Loading commit data...
tiff Loading commit data...
ts Loading commit data...
voc Loading commit data...
voc_s16 Loading commit data...
wav Loading commit data...
xwd Loading commit data...
yuv4mpeg Loading commit data...