[FFmpeg-trac] #2355(FFmpeg:new): Stop time option (-to time_stop) broken

FFmpeg trac at avcodec.org
Wed Mar 13 20:56:15 CET 2013


#2355: Stop time option (-to time_stop)  broken
--------------------------------+--------------------------------------
             Reporter:  Ajaja   |                     Type:  defect
               Status:  new     |                 Priority:  normal
            Component:  FFmpeg  |                  Version:  git-master
             Keywords:          |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+--------------------------------------
 Summary of the bug:
 {{{
 ffmpeg.exe -i colon.mpeg -ss 00:01:00.100 -to 00:02:00.200 -c copy
 dddd.mpg
 ffmpeg version N-50733-gcde1e7d Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Mar 13 2013 00:01:53 with gcc 4.7.2 (GCC)
   configuration: --enable-libtwolame --arch=x86_64 --target-os=mingw32
 --cross-
 prefix=/home/alex/ffmpeg/sandbox/mingw-w64-x86_64/bin/x86_64-w64-mingw32-
 --pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-libx264
 --enable-avisynth --enable-libxvid --enable-libmp3lame --enable-version3
 --enable-zlib --enable-librtmp --enable-libvorbis --enable-libtheora
 --enable-libspeex--enable-libopenjpeg --enable-gnutls --enable-libgsm
 --enable-libfreetype --enable-fontconfig --enable-libass --enable-
 libutvideo --enable-libopus --disable-w32threads --enable-frei0r --enable-
 filter=frei0r --enable-libvo-aacenc --enable-bzlib --enable-libxavs
 --extra-cflags=-DPTW32_STATIC_LIB --enable-libopencore-amrnb --enable-
 libopencore-amrwb --enable-libvo-amrwbenc --enable-libschroedinger
 --enable-libbluray --enable-libvpx --enable-libilbc --enable-static
 --disable-shared --enable-nonfree --enable-libfdk-aac --enable-runtime-
 cpudetect
   libavutil      52. 19.100 / 52. 19.100
   libavcodec     55.  0.100 / 55.  0.100
   libavformat    55.  0.100 / 55.  0.100
   libavdevice    54.  4.100 / 54.  4.100
   libavfilter     3. 45.100 /  3. 45.100
   libswscale      2.  2.100 /  2.  2.100
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 [mpeg @ 000000000209e180] max_analyze_duration 5000000 reached at 5000000
 microseconds
 Input #0, mpeg, from 'colon.mpeg':
   Duration: 00:54:28.67, start: 0.500000, bitrate: 1930 kb/s
     Stream #0:0[0x1c0]: Audio: mp2, 48000 Hz, stereo, s16p, 192 kb/s
     Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p, 544x576 [SAR
 24:17 DAR 4:3], 25 fps, 25 tbr, 90k tbn, 50 tbc
 Option to (record or transcode stop time) cannot be applied to output file
 dddd.mpg -- you are trying to apply an input option t
 o an output file or vice versa. Move this option before the file it
 belongs to.
 Error parsing options for output file dddd.mpg.
 Error opening output files: Error number -22 occurred
 }}}


 I think it was broken in 5743095ca9:
 https://github.com/FFmpeg/FFmpeg/commit/5743095ca9566db981b8fe113fc4f330dda5798a#cmdutils.c

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2355>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list