Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Imx 30 Mxf Error

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Imx 30 Mxf Error

Postby dinesh24 » Thu Oct 05, 2017 1:16 pm

Hello Support,

We want to convert the file in to IMX 30 mxf format. I have tried below ffmpeg command it is showing error message.

Code: Select all
C:\Users\iPlayout>C:\Users\iPlayout\Downloads\FFAStrans0.8.2\Processors\ffmpeg\x
86\ffmpeg.exe -i "D:\AAA\test.mov" -f mxf -y -vcodec mpeg2video -r 25 -pix_fmt y
uv422p -minrate 30000k -maxrate 30000k -b 30000k -bufsize 1200000  -rc_init_occu
pancy 1200000 -rc_buf_aggressivity 0.25 -intra -dc 10 -ps 1 -qmin 1 -qmax 3 -top
 1 -flags2  -acodec pcm_s16le -ac 2 "D:\AAA\test11.mxf"
ffmpeg version 3.3.3 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 7.1.0 (GCC)
  configuration: --disable-static --enable-shared --enable-gpl --enable-version3
 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --
enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0
r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-lib
bs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --ena
ble-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb -
-enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-lib
opus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --en
able-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc -
-enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --en
able-lzma --enable-zlib
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\AAA\test.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537134592
    compatible_brands: qt
    creation_time   : 2010-04-03T09:57:54.000000Z
  Duration: 00:01:44.76, start: 0.000000, bitrate: 51475 kb/s
    Stream #0:0(eng): Video: mpeg2video (4:2:2) (xd5c / 0x63356478), yuv422p(tv,
 bt709), 1920x1080 [SAR 1:1 DAR 16:9], 49938 kb/s, 25 fps, 25 tbr, 25 tbn, 50 tb
c (default)
    Metadata:
      creation_time   : 2010-04-03T09:57:54.000000Z
      handler_name    : Alias
      encoder         : XDCamHD Coding
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, stereo, s1
6, 1536 kb/s (default)
    Metadata:
      creation_time   : 2010-04-03T09:57:54.000000Z
      handler_name    : Alias
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg2video (native) -> mpeg2video (native))
  Stream #0:1 -> #0:1 (pcm_s16le (native) -> pcm_s16le (native))
  Stream #0:0 -> #1:0 (mpeg2video (native) -> mpeg2video (native))
  Stream #0:1 -> #1:1 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[mpeg2video @ 01ecc140] [Eval @ 0028e4bc] Undefined constant or missing '(' in '
acodec'
[mpeg2video @ 01ecc140] Unable to parse option value "acodec"
[mpeg2video @ 01ecc140] Error setting option flags2 to value -acodec.
Error initializing output stream 0:0 -- Error while opening encoder for output s
tream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Conversion failed!


Thanks
Dinesh
dinesh24
 
Posts: 51
Joined: Fri May 06, 2016 4:26 pm

Re: Imx 30 Mxf Error

Postby llogan » Thu Oct 05, 2017 5:20 pm

As hinted by your console output you used "-flags2" without any values which is required for this option, so ffmpeg interpreted the next option as the value which resulted in an invalid command. Remove "-flags2", or add a value or values.

I can't provide any recommendations for encoding to MXF because I, fortunately, never had to deal with this format.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2360
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Re: Imx 30 Mxf Error

Postby dinesh24 » Fri Oct 06, 2017 7:20 am

Thanks llogan....
dinesh24
 
Posts: 51
Joined: Fri May 06, 2016 4:26 pm


Return to ffmpeg

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 6 guests