Changes between Initial Version and Version 2 of Ticket #3683


Ignore:
Timestamp:
May 28, 2014, 5:01:19 PM (5 years ago)
Author:
cehoyos
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3683

    • Property Keywords duration added
    • Property Version changed from unspecified to git-master
    • Property Component changed from avformat to undetermined
  • Ticket #3683 – Description

    initial v2  
    11The following sequence of commands shows the problem:
    2 
     2{{{
    33ffmpeg -f lavfi -i nullsrc=s=256x256:d=1.0 -c:v mpeg2video out.mpg
    44
     
    3030frame=   25 fps=0.0 q=1.6 Lsize=     130kB time=00:00:00.96 bitrate=1109.3kbits/s   
    3131video:127kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.983437%
    32 
     32}}}
     33{{{
    3334ffmpeg -i out.mpg
    3435
     
    4748    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p(tv), 256x256 [SAR 1:1 DAR 1:1], max. 104857 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    4849At least one output file must be specified
    49 
     50}}}
    5051The duration is misdetected as 0.96 instead of 1.0, i.e. one frame short. Note that this is not a problem of the nullsrc filter. I have run into this problem with files generated via transcoding but have used the source example so no upload is required.