[FFmpeg-trac] #2945(undetermined:new): Incorrect bitrate error prevents D10 IMX mux of legitimate essence

FFmpeg trac at avcodec.org
Mon Sep 9 00:17:07 CEST 2013


#2945: Incorrect bitrate error prevents D10 IMX mux of legitimate essence
-------------------------------------+-------------------------------------
             Reporter:  ortoni       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Known good 30 Mbit/sec m2v and wav essences cannot be muxed into IMX30 D10
 MXF because of "error MXF D-10 only support 30/40/50 mbit/s"
 How to reproduce:
 If a known good IMX30 D10 MXF is demultiplexed into m2v and wav files,
 then immediately multiplexed back to the same format, the muxing fails. I
 have checked that the m2v essence shows a video bitrate of 30,000,000 at
 the mpeg header level:

 ffmpeg.exe" -i FCP.MXF -vcodec copy FCP.m2v -acodec copy FCP.wav
 ffmpeg version N-55721-gc443689 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug 22 2013 18:59:54 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --
 enable-libxvid --enable-zlib
   libavutil      52. 42.100 / 52. 42.100
   libavcodec     55. 29.100 / 55. 29.100
   libavformat    55. 14.102 / 55. 14.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Guessed Channel Layout for  Input Stream #0.1 : 4.0
 Input #0, mxf, from 'FCP.MXF':
   Metadata:
     uid             : 2f8e817a-c070-4d6a-a891-a30d79fef4d4
     generation_uid  : 3fd15f16-f8ee-449b-89fc-6a136320aae9
     company_name    : SONY
     product_name    : XDCAM Transfer
     product_version : 631
     application_platform: SONY MXF Development Kit (MacOS X)
     product_uid     : 060e2b34-0401-0103-0e06-012002410200
     modification_date: 2010-11-23 03:57:48
     timecode        : 01:00:00:00
   Duration: 00:00:05.00, start: 0.000000, bitrate: 42626 kb/s
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405
 DAR 16
 :9], max. 30000 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tbc
     Stream #0:1: Audio: pcm_s16le, 48000 Hz, 4.0, s16, 3072 kb/s
 Output #0, mpeg2video, to 'FCP.m2v':
   Metadata:
     uid             : 2f8e817a-c070-4d6a-a891-a30d79fef4d4
     generation_uid  : 3fd15f16-f8ee-449b-89fc-6a136320aae9
     company_name    : SONY
     product_name    : XDCAM Transfer
     product_version : 631
     application_platform: SONY MXF Development Kit (MacOS X)
     product_uid     : 060e2b34-0401-0103-0e06-012002410200
     modification_date: 2010-11-23 03:57:48
     timecode        : 01:00:00:00
     encoder         : Lavf55.14.102
     Stream #0:0: Video: mpeg2video, yuv422p, 720x608 [SAR 608:405 DAR
 16:9], q=2
 -31, max. 30000 kb/s, 25 fps, 90k tbn, 25 tbc
 Output #1, wav, to 'FCP.wav':
   Metadata:
     uid             : 2f8e817a-c070-4d6a-a891-a30d79fef4d4
     generation_uid  : 3fd15f16-f8ee-449b-89fc-6a136320aae9
     company_name    : SONY
     product_name    : XDCAM Transfer
     product_version : 631
     application_platform: SONY MXF Development Kit (MacOS X)
     product_uid     : 060e2b34-0401-0103-0e06-012002410200
     modification_date: 2010-11-23 03:57:48
     ISMP            : 01:00:00:00
     ISFT            : Lavf55.14.102
     Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 4.0,
 3072 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #1:0 (copy)
 Press [q] to stop, [?] for help
 frame=  125 fps=0.0 q=-1.0 Lsize=   17050kB time=00:00:05.00
 bitrate=27934.8kbits/s
 video:17050kB audio:1875kB subtitle:0 global headers:0kB muxing overhead
 -9.907499%

 ffmpeg.exe" -i FCP.m2v -i FCP.wav -vcodec copy -acodec copy -f mxf_d10
 FCP_new.mxf
 ffmpeg version N-55721-gc443689 Copyright (c) 2000-2013 the FFmpeg
 developers
   built on Aug 22 2013 18:59:54 with gcc 4.7.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
 --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
 --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
 libvo-
 amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
 libxavs --
 enable-libxvid --enable-zlib
   libavutil      52. 42.100 / 52. 42.100
   libavcodec     55. 29.100 / 55. 29.100
   libavformat    55. 14.102 / 55. 14.102
   libavdevice    55.  3.100 / 55.  3.100
   libavfilter     3. 82.102 /  3. 82.102
   libswscale      2.  5.100 /  2.  5.100
   libswresample   0. 17.103 /  0. 17.103
   libpostproc    52.  3.100 / 52.  3.100
 Input #0, mpegvideo, from 'FCP.m2v':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 720x608 [SAR 608:405
 DAR 16
 :9], max. 30000 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 tbc
 Input #1, wav, from FCP.wav':
   Metadata:
     encoder         : Lavf55.14.102
     timecode        : 01:00:00:00
   Duration: 00:00:05.00, bitrate: 3072 kb/s
     Stream #1:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 4.0,
 s16, 3072 kb/s

 '''[mxf_d10 @ 026ae060] error MXF D-10 only support 30/40/50 mbit/s'''
 Output #0, mxf_d10, to 'FCP_new.mxf':
   Metadata:
     encoder         : Lavf55.14.102
     Stream #0:0: Video: mpeg2video, yuv422p, 720x608 [SAR 608:405 DAR
 16:9], q=2
 -31, max. 30000 kb/s, 25 fps, 25 tbn, 25 tbc
     Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, 4.0,
 3072 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #1:0 -> #0:1 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Error
 number -1 occurred

 Thanks in advance.

 -m

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


More information about the FFmpeg-trac mailing list