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

FFmpeg trac at avcodec.org
Sat Jun 1 22:53:15 CEST 2013


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

Comment (by cehoyos):

 {{{
 $ time ffmpeg -i out.mp4 -ss 00:01:00 -t 00:01:00 test.avi
 ffmpeg version N-53495-g4f8e4b8 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun  1 2013 22:48:50 with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 12.100 / 55. 12.100
   libavformat    55.  7.100 / 55.  7.100
   libavdevice    55.  1.101 / 55.  1.101
   libavfilter     3. 70.101 /  3. 70.101
   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: isomiso2avc1mp41
     encoder         : Lavf55.8.102
   Duration: 00:10:00.00, start: 0.000000, bitrate: 57 kb/s
     Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 /
 0x31637661), yuv444p, 854x480 [SAR 1:1 DAR 427:240], 54 kb/s, 25 fps, 25
 tbr, 12800 tbn, 50 tbc
     Metadata:
       handler_name    : VideoHandler
 Output #0, avi, to 'test.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     ISFT            : Lavf55.7.100
     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 (h264 -> mpeg4)
 Press [q] to stop, [?] for help
 frame= 1500 fps=380 q=31.0 Lsize=    2882kB time=00:01:00.00 bitrate=
 393.4kbits/s
 video:2840kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 1.462303%

 real    0m3.969s
 user    0m9.423s
 sys     0m0.146s
 }}}
 {{{
 $ time ffmpeg -i out.mp4 -ss 00:01:00 -t 00:01:00 test.avi
 ffmpeg version N-53746-gec34963 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jun  1 2013 22:52:00 with gcc 4.7 (SUSE Linux)
   configuration:
   libavutil      52. 34.100 / 52. 34.100
   libavcodec     55. 13.100 / 55. 13.100
   libavformat    55.  8.102 / 55.  8.102
   libavdevice    55.  2.100 / 55.  2.100
   libavfilter     3. 74.101 /  3. 74.101
   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: isomiso2avc1mp41
     encoder         : Lavf55.8.102
   Duration: 00:10:00.00, start: 0.000000, bitrate: 57 kb/s
     Stream #0:0(und): Video: h264 (High 4:4:4 Predictive) (avc1 /
 0x31637661), yuv444p, 854x480 [SAR 1:1 DAR 427:240], 54 kb/s, 25 fps, 25
 tbr, 12800 tbn, 50 tbc
     Metadata:
       handler_name    : VideoHandler
 Output #0, avi, to 'test.avi':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     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 (h264 -> mpeg4)
 Press [q] to stop, [?] for help
 frame= 1500 fps=100 q=31.0 Lsize=    2882kB time=00:01:00.00 bitrate=
 393.4kbits/s
 video:2840kB audio:0kB subtitle:0 global headers:0kB muxing overhead
 1.462303%

 real    0m15.019s
 user    0m31.781s
 sys     0m0.197s
 }}}

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


More information about the FFmpeg-trac mailing list