[FFmpeg-user] FFMPEG MXF Issue

afellah ahmed-fellah at hotmail.com
Tue Apr 12 11:44:06 CEST 2016


Hi Carl,

i already edited my previous post with the correct command:

*D:\01>ffmpeg.exe -y -f mpegvideo -i V2.MXF -f s16le -ar 48000 -ac 2 -i
A2.MXF -f s16le -ac 2 -ar 48000 -i B2.MXF -top 1 -vcodec dnxhd -c:a
pcm_s16le -b:v 120M -map 0 -map 1 -map 2 OUT.MXF*

and below are the full console logs, please note that i have an output file
(OUT.MXF) but with noise in the beginning.



D:\01>ffmpeg.exe -y -f mpegvideo -i V2.MXF -f s16le -ar 48000 -ac 2 -i
A2.MXF -f s16le -ac 2 -ar 48000 -i B2.MXF -top 1 -vcodec dnxhd -c:a
pcm_s16le -b:v 120M -map 0 -map 1 -map 2 OUT.MXF
ffmpeg version N-78313-g6632802 Copyright (c) 2000-2016 the FFmpeg
developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --
enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --
enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp
--enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-decklink --enable-zlib
  libavutil      55. 17.100 / 55. 17.100
  libavcodec     57. 24.101 / 57. 24.101
  libavformat    57. 24.100 / 57. 24.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 28.100 /  6. 28.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
[mpeg1video @ 002ff7e0] Invalid frame dimensions 0x0.
    Last message repeated 5 times
[mpegvideo @ 03d9aa20] Estimating duration from bitrate, this may be
inaccurate
Input #0, mpegvideo, from 'V2.MXF':
  Duration: 00:00:51.81, bitrate: 99999 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p(tv, bt470bg), 1920x1080
[SAR 1:1 DAR 16:9], 100000 kb/s, 25 fps, 25 tbr, 1200k tbn, 50 t
bc
[s16le @ 03da6e40] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #1.0 : stereo
Input #1, s16le, from 'A2.MXF':
  Duration: 00:00:52.22, bitrate: 1535 kb/s
    Stream #1:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
[s16le @ 04fc5460] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for  Input Stream #2.0 : stereo
Input #2, s16le, from 'B2.MXF':
  Duration: 00:00:52.22, bitrate: 1535 kb/s
    Stream #2:0: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
Output #0, mxf, to 'OUT.MXF':
  Metadata:
    encoder         : Lavf57.24.100
    Stream #0:0: Video: dnxhd, yuv422p, 1920x1080 [SAR 1:1 DAR 16:9],
q=2-1024, 120000 kb/s, 25 fps, 25 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.24.101 dnxhd
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc57.24.101 pcm_s16le
    Stream #0:2: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc57.24.101 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> dnxhd (native))
  Stream #1:0 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
  Stream #2:0 -> #0:2 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpeg2video @ 03da6a40] Invalid frame dimensions 0x0.
    Last message repeated 1 times
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg2video @ 03da6a40] Invalid frame dimensions 0x0.
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg2video @ 03da6a40] Invalid frame dimensions 0x0.
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg2video @ 03da6a40] Invalid frame dimensions 0x0.
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg2video @ 03da6a40] Invalid frame dimensions 0x0.
Error while decoding stream #0:0: Invalid data found when processing input
[mxf @ 04f3db00] -d10_channelcount requires MXF D-10 and will be ignored
    Last message repeated 1 times
[mpeg2video @ 03da6a40] ignoring extra picture following a
frame-picture3.3kbits/s speed=1.76x
    Last message repeated 1 times
[mpeg2video @ 03da6a40] Missing picture start code
    Last message repeated 9 times
[mpeg2video @ 03da6a40] slice below image (71 >= 68)
Error while decoding stream #0:0: Invalid data found when processing input
Multiple frames in a packet from stream 0
[pcm_s16le @ 04fc5060] Invalid PCM packet, data has size 2 but at least a
size of 4 was expected
Error while decoding stream #1:0: Invalid data found when processing input
Multiple frames in a packet from stream 0
[pcm_s16le @ 04f3b920] Invalid PCM packet, data has size 2 but at least a
size of 4 was expected
Error while decoding stream #2:0: Invalid data found when processing input
frame= 1296 fps= 44 q=1.0 Lsize=  789263kB time=00:00:52.21
bitrate=123823.1kbits/s dup=2 drop=0 speed=1.77x
video:767232kB audio:19581kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.311351%

many thank.




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FFMPEG-MXF-Issue-tp4672425p4675620.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list