[FFmpeg-trac] #2118(undetermined:new): Reading option: -b:a is -b:a' ... matched as option 'b' (video bitrate (please use -b:v)) with argument '128k'

FFmpeg trac at avcodec.org
Mon Jan 7 21:07:43 CET 2013


#2118: Reading option: -b:a is -b:a' ... matched as option 'b' (video bitrate
(please use -b:v)) with argument '128k'
-------------------------------------+-------------------------------------
             Reporter:  natsmith52   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 -report:
 Using -b:a to set the audio; is reported to match to the video -b; even
 though is is actually being use correctly by the audio codec.  Output is
 OK.
 -ab no longer appears to work; but many examples still show it.

 Log:****
 ffmpeg started on 2013-01-07 at 07:16:08
 Report written to "ffmpeg-20130107-071608.log"
 Command line:
 ffmpeg -i "Adorable cat girl Japanese advert.mp4" -report -target ntsc-dvd
 -b_strategy 1 -bf 2 -acodec mp2 -b:a 128k "J:\\video\\Adorable cat girl
 Japanese advert -report -target ntsc-dvd -b_strategy 1 -bf 2 -acodec mp2
 -b#a 128k.mpg"
 ffmpeg version N-48459-g498e1c6 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Jan  4 2013 17:28:27 with gcc 4.7.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca
 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --enable-libxvid --enable-zlib
   libavutil      52. 13.100 / 52. 13.100
   libavcodec     54. 85.101 / 54. 85.101
   libavformat    54. 59.103 / 54. 59.103
   libavdevice    54.  3.102 / 54.  3.102
   libavfilter     3. 30.104 /  3. 30.104
   libswscale      2.  1.103 /  2.  1.103
   libswresample   0. 17.102 /  0. 17.102
   libpostproc    52.  2.100 / 52.  2.100
 Splitting the commandline.
 Reading option '-i' ... matched as input file with argument 'Adorable cat
 girl Japanese advert.mp4'.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Reading option '-target' ... matched as option 'target' (specify target
 file type ("vcd", "svcd", "dvd", "dv", "dv50", "pal-vcd", "ntsc-svcd",
 ...)) with argument 'ntsc-dvd'.
 Reading option '-b_strategy' ... matched as AVOption 'b_strategy' with
 argument '1'.
 Reading option '-bf' ... matched as AVOption 'bf' with argument '2'.
 Reading option '-acodec' ... matched as option 'acodec' (force audio codec
 ('copy' to copy stream)) with argument 'mp2'.
 ****Reading option '-b:a' ... matched as option 'b' (video bitrate (please
 use -b:v)) with argument '128k'.
 Reading option 'J:\video\Adorable cat girl Japanese advert -report -target
 ntsc-dvd -b_strategy 1 -bf 2 -acodec mp2 -b#a 128k.mpg' ... matched as
 output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file Adorable cat girl Japanese
 advert.mp4.
 Successfully parsed a group of options.
 Opening an input file: Adorable cat girl Japanese advert.mp4.
 [mov,mp4,m4a,3gp,3g2,mj2 @ 024b8e20] Format mov,mp4,m4a,3gp,3g2,mj2 probed
 with size=2048 and score=100
 [mov,mp4,m4a,3gp,3g2,mj2 @ 024b8e20] ISO: File Type Major Brand: isom
 [mov,mp4,m4a,3gp,3g2,mj2 @ 024b8e20] File position before
 avformat_find_stream_info() is 1283320
 [h264 @ 024bfbe0] Using externally provided dimensions
 [mov,mp4,m4a,3gp,3g2,mj2 @ 024b8e20] All info found
 rfps: 29.583333 0.016682
 rfps: 29.583333 0.016682
 rfps: 29.666667 0.009429
 rfps: 29.666667 0.009429
 rfps: 29.750000 0.004243
 rfps: 29.750000 0.004243
 rfps: 29.833333 0.001125
 rfps: 29.833333 0.001125
 rfps: 29.916667 0.000075
 rfps: 30.000000 0.001092
 rfps: 30.083333 0.004177
 rfps: 30.166667 0.009330
 rfps: 30.250000 0.016550
 rfps: 59.500000 0.016972
 rfps: 59.500000 0.016972
 rfps: 59.583333 0.009702
 rfps: 59.583333 0.009702
 rfps: 59.666667 0.004500
 rfps: 59.666667 0.004500
 rfps: 59.750000 0.001365
 rfps: 59.833333 0.000298
 rfps: 59.916667 0.001299
 rfps: 60.000000 0.004368
 rfps: 29.970030 0.000488
 rfps: 59.940060 0.001952
 [mov,mp4,m4a,3gp,3g2,mj2 @ 024b8e20] File position after
 avformat_find_stream_info() is 76765
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Adorable cat girl Japanese
 advert.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf54.22.104
   Duration: 00:00:15.01, start: 0.000000, bitrate: 684 kb/s
     Stream #0:0(und), 41, 1/1000: Video: h264 (Main) (avc1 / 0x31637661),
 yuv420p, 720x480 [SAR 1:1 DAR 3:2], 545 kb/s, 29.92 fps, 29.92 tbr, 1k
 tbn, 59.83 tbc
     Metadata:
       handler_name    : VideoHandler
     Stream #0:1(und), 58, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100
 Hz, stereo, fltp, 128 kb/s
     Metadata:
       handler_name    : SoundHandler
 Successfully openened the file.
 Parsing a group of options: output file J:\video\Adorable cat girl
 Japanese advert -report -target ntsc-dvd -b_strategy 1 -bf 2 -acodec mp2
 -b#a 128k.mpg.
 Applying option target (specify target file type ("vcd", "svcd", "dvd",
 "dv", "dv50", "pal-vcd", "ntsc-svcd", ...)) with argument ntsc-dvd.
 Applying option acodec (force audio codec ('copy' to copy stream)) with
 argument mp2.
 Applying option b:a (video bitrate (please use -b:v)) with argument 128k.
 Successfully parsed a group of options.
 Opening an output file: J:\video\Adorable cat girl Japanese advert -report
 -target ntsc-dvd -b_strategy 1 -bf 2 -acodec mp2 -b#a 128k.mpg.
 Successfully openened the file.
 [buffer @ 02946620] Setting entry with key 'video_size' to value '720x480'
 [buffer @ 02946620] Setting entry with key 'pix_fmt' to value '0'
 [buffer @ 02946620] Setting entry with key 'time_base' to value '1/1000'
 [buffer @ 02946620] Setting entry with key 'pixel_aspect' to value '1/1'
 [buffer @ 02946620] Setting entry with key 'sws_param' to value 'flags=2'
 [buffer @ 02946620] Setting entry with key 'frame_rate' to value '359/12'
 [graph 0 input from stream 0:0 @ 025ab380] w:720 h:480 pixfmt:yuv420p
 tb:1/1000 fr:359/12 sar:1/1 sws_param:flags=2
 [scale @ 025ab300] Setting 'w' to value '720'
 [scale @ 025ab300] Setting 'h' to value '480'
 [scale @ 025ab300] Setting 'flags' to value '0x4'
 [scaler for output stream 0:0 @ 025ab4a0] w:720 h:480 flags:'0x4' interl:0
 [scaler for output stream 0:0 @ 025ab4a0] w:720 h:480 fmt:yuv420p sar:1/1
 -> w:720 h:480 fmt:yuv420p sar:1/1 flags:0x4
 [abuffer @ 029466a0] Setting entry with key 'time_base' to value '1/44100'
 [abuffer @ 029466a0] Setting entry with key 'sample_rate' to value '44100'
 [abuffer @ 029466a0] Setting entry with key 'sample_fmt' to value 'fltp'
 [abuffer @ 029466a0] Setting entry with key 'channel_layout' to value
 '0x3'
 [graph 1 input from stream 0:1 @ 02a04060] tb:1/44100 samplefmt:fltp
 samplerate:44100 chlayout:0x3
 [aformat @ 025cef00] Setting entry with key 'sample_fmts' to value 's16'
 [aformat @ 025cef00] Setting entry with key 'sample_rates' to value
 '48000'
 [aformat @ 025cef00] Setting entry with key 'channel_layouts' to value
 '0x4,0x3'
 [audio format for output stream 0:1 @ 025cef40] auto-inserting filter
 'auto-inserted resampler 0' between the filter 'Parsed_anull_0' and the
 filter 'audio format for output stream 0:1'
 [auto-inserted resampler 0 @ 025ceba0] chl:stereo fmt:fltp r:44100Hz ->
 chl:stereo fmt:s16 r:48000Hz
 [mpeg2video @ 024b5020] detected 2 logical cores
 [mpeg2video @ 024b5020] intra_quant_bias = 96 inter_quant_bias = 0
 [h264 @ 024bfbe0] detected 2 logical cores
 Output #0, dvd, to 'J:\video\Adorable cat girl Japanese advert -report
 -target ntsc-dvd -b_strategy 1 -bf 2 -acodec mp2 -b#a 128k.mpg':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf54.59.103
     Stream #0:0(und), 0, 1/90000: Video: mpeg2video, yuv420p, 720x480 [SAR
 1:1 DAR 3:2], q=2-31, 6000 kb/s, 90k tbn, 29.97 tbc
     Metadata:
       handler_name    : VideoHandler
 ****    Stream #0:1(und), 0, 1/90000: Audio: mp2, 48000 Hz, stereo, s16,
 128 kb/s
     Metadata:
       handler_name    : SoundHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 -> mpeg2video)
   Stream #0:1 -> #0:1 (aac -> mp2)
 Press [q] to stop, [?] for help
 [h264 @ 02897020] Using externally provided dimensions
 [dvd @ 02752020] First SCR: 0 First DTS: 45000
 frame=   57 fps=0.0 q=2.0 size=     354kB time=00:00:01.95
 bitrate=1481.3kbits/s
 frame=  120 fps=116 q=2.5 size=    1022kB time=00:00:04.06
 bitrate=2057.2kbits/s
 frame=  178 fps=116 q=2.5 size=    1404kB time=00:00:05.99
 bitrate=1920.0kbits/s
 frame=  243 fps=120 q=2.5 size=    1848kB time=00:00:08.17
 bitrate=1852.1kbits/s
 *** 1 dup!
 frame=  310 fps=122 q=2.0 size=    2408kB time=00:00:10.38
 bitrate=1900.1kbits/s dup=1 drop=0
 frame=  377 fps=124 q=2.5 size=    2984kB time=00:00:12.61
 bitrate=1938.0kbits/s dup=1 drop=0
 frame=  447 fps=127 q=2.0 size=    3420kB time=00:00:14.91
 bitrate=1878.0kbits/s dup=1 drop=0
 EOF on sink link output stream 0:0:default.
 [output stream 0:1 @ 02a04200] EOF on sink link output stream 0:1:default.
 No more output streams to write to, finishing.
 frame=  450 fps=126 q=2.5 Lsize=    3442kB time=00:00:14.98
 bitrate=1882.1kbits/s dup=1 drop=0

 video:3086kB audio:234kB subtitle:0 global headers:0kB muxing overhead
 3.674821%
 [AVIOContext @ 024b9a00] Statistics: 1333297 bytes read, 2 seeks

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


More information about the FFmpeg-trac mailing list