[FFmpeg-trac] #2620(undetermined:new): ffmpeg don't stop encoding if example -ss 00:05:00 -t 00:01:00

FFmpeg trac at avcodec.org
Sat Jun 1 22:07:34 CEST 2013


#2620: ffmpeg don't stop encoding  if example -ss 00:05:00 -t 00:01:00
-------------------------------------+-------------------------------------
             Reporter:  telperion    |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Works fine here, could you recompile? (Maybe with less options, some of
 them look very broken.)
 {{{
 $ ffmpeg -f lavfi -i testsrc=size=854x480:duration=600 out.mp4
 ffmpeg version N-53736-g1fb52bf Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun  1 2013 21:52:52 with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.102 / 55. 12.102
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 73.100 /  3. 73.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, lavfi, from 'testsrc=size=854x480:duration=600':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 854x480
 [SAR 1:1 DAR 427:240], 25 tbr, 25 tbn, 25 tbc
 Output #0, mp4, to 'out.mp4':
   Metadata:
     encoder         : Lavf55.8.102
     Stream #0:0: Video: mpeg4 ( [0][0][0] / 0x0020), yuv420p, 854x480 [SAR
 1:1 DAR 427:240], q=2-31, 200 kb/s, 12800 tbn, 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo -> mpeg4)
 Press [q] to stop, [?] for help
 [swscaler @ 0x2a85080] Warning: data is not aligned! This can lead to a
 speedloss
 frame=15000 fps=259 q=31.0 Lsize=   27343kB time=00:10:00.00 bitrate=
 373.3kbits/s
 video:27278kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 0.236658%
 }}}
 {{{
 $ ffmpeg -i out.mp4 -ss 00:01:00 -t 00:01:00 test.avi
 ffmpeg version N-53736-g1fb52bf Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun  1 2013 21:52:52 with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.102 / 55. 12.102
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 73.100 /  3. 73.100
   libswscale      2.  3.100 /  2.  3.100
   libswresample   0. 17.102 /  0. 17.102
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     encoder         : Lavf55.8.102
   Duration: 00:10:00.00, start: 0.000000, bitrate: 373 kb/s
     Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
 yuv420p, 854x480 [SAR 1:1 DAR 427:240], 372 kb/s, 25 fps, 25 tbr, 12800
 tbn, 25 tbc
     Metadata:
       handler_name    : VideoHandler
 Output #0, avi, to 'test.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2mp41
     ISFT            : Lavf55.8.102
     Stream #0:0(und): Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 854x480
 [SAR 1:1 DAR 427:240], q=2-31, 200 kb/s, 25 tbn, 25 tbc
     Metadata:
       handler_name    : VideoHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (mpeg4 -> mpeg4)
 Press [q] to stop, [?] for help
 frame= 1500 fps=578 q=31.0 Lsize=    2341kB time=00:01:00.00 bitrate=
 319.6kbits/s
 video:2299kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 1.802684%
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2620#comment:4>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list