[FFmpeg-trac] #3999(ffmpeg:new): Stretching (increasing duration) of video without reencoding

FFmpeg trac at avcodec.org
Fri Oct 3 10:52:44 CEST 2014


#3999: Stretching (increasing duration) of video without reencoding
------------------------------------+----------------------------------
             Reporter:  Ilya87      |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  ffmpeg
              Version:  2.4.1       |               Resolution:
             Keywords:  Stretching  |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+----------------------------------

Comment (by Ilya87):

 https://yadi.sk/i/b2o6CYnmbny9q - original file
 ffmpeg -i 122.mkv
 ffmpeg version N-66581-g105654e Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Oct  3 2014 12:40:48 with clang version 3.5.0
 (branches/release_35) (llvm/branches/release_35 218565)
   configuration: --prefix=/usr --enable-libvpx --cc=clang --cxx=clang++
 --enable-libopus --enable-vdpau --enable-libx265 --enable-vaapi --disable-
 indev=jack --disable-outdev=oss --disable-indev=oss --enable-libopenjpeg
 --enable-gpl --enable-version3 --enable-libxvid --enable-nonfree --enable-
 libmp3lame --enable-libfaac --enable-libx264 --enable-libtheora --enable-
 postproc --enable-libvorbis --enable-shared --enable-gray --disable-static
 --enable-pthreads --enable-libass --enable-libfreetype --enable-x11grab
 --extra-cflags='-march=native -O3 -mfpmath=sse -pipe -fstack-protector
 --param=ssp-buffer-size=4' --disable-debug
   libavutil      54.  9.100 / 54.  9.100
   libavcodec     56.  2.101 / 56.  2.101
   libavformat    56.  7.102 / 56.  7.102
   libavdevice    56.  1.100 / 56.  1.100
   libavfilter     5.  1.102 /  5.  1.102
   libswscale      3.  1.100 /  3.  1.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  1.100 / 53.  1.100
 Input #0, matroska,webm, from '122.mkv':
   Metadata:
     encoder         : libebml v1.3.0 + libmatroska v1.4.1
     creation_time   : 2014-10-03 08:37:49
   Duration: 00:00:12.10, start: 0.120000, bitrate: 4038 kb/s
     Stream #0:0: Video: mpeg2video (Main), yuv420p(tv), 720x576 [SAR 64:45
 DAR 16:9], max. 9800 kb/s, 50 fps, 50 tbr, 1k tbn, 50 tbc (default)
     Metadata:
       BPS             : 4032408
       BPS-eng         : 4032408
       DURATION        : 00:00:12.100000000
       DURATION-eng    : 00:00:12.100000000
       NUMBER_OF_FRAMES: 303
       NUMBER_OF_FRAMES-eng: 303
       NUMBER_OF_BYTES : 6099018
       NUMBER_OF_BYTES-eng: 6099018
       _STATISTICS_WRITING_APP: mkvmerge v7.2.0 ('On Every Street') 64bit
 built on Sep 21 2014 04:29:13
       _STATISTICS_WRITING_APP-eng: mkvmerge v7.2.0 ('On Every Street')
 64bit built on Sep 21 2014 04:29:13
       _STATISTICS_WRITING_DATE_UTC: 2014-10-03 08:37:49
       _STATISTICS_WRITING_DATE_UTC-eng: 2014-10-03 08:37:49
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

 Command line: ffmpeg -r 10 -i 122.mkv -c copy 123.mkv
 After this ffplay shows 10 fps in terminal (50 fps in input file is also
 wrong info - 25 fps is right), but decodes at 25 fps speed as original.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3999#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list