[FFmpeg-trac] #2547(avformat:open): -muxrate option doesn't work with stream_segment mpegts output

FFmpeg trac at avcodec.org
Thu Nov 20 21:43:50 CET 2014


#2547: -muxrate option doesn't work with stream_segment mpegts output
------------------------------------+------------------------------------
             Reporter:  jettoblack  |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  segment     |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 Reproducible with the following command, {{{-muxrate}}} has no effect:
 {{{
 $ ffmpeg -f lavfi -i testsrc -map 0 -muxrate 2M -f ssegment -segment_time
 10 -t 30 out%d.ts
 ffmpeg version N-67845-g0f8908a Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Nov 20 2014 15:18:45 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      54. 14.100 / 54. 14.100
   libavcodec     56. 12.101 / 56. 12.101
   libavformat    56. 14.100 / 56. 14.100
   libavdevice    56.  3.100 / 56.  3.100
   libavfilter     5.  2.103 /  5.  2.103
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 Input #0, lavfi, from 'testsrc':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240
 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
 Output #0, stream_segment,ssegment, to 'out%d.ts':
   Metadata:
     encoder         : Lavf56.14.100
     Stream #0:0: Video: mpeg2video, yuv420p, 320x240 [SAR 1:1 DAR 4:3],
 q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.12.101 mpeg2video
 Stream mapping:
   Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg2video (native))
 Press [q] to stop, [?] for help
 frame=  750 fps=0.0 q=8.4 Lsize=N/A time=00:00:29.96 bitrate=N/A
 video:1018kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 }}}

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


More information about the FFmpeg-trac mailing list