ProRes (or DNxHD).mov to .MXF for Vegas w/ffmpeg

Eagle Six wrote on 2/11/2016, 3:47 PM
When I run astar's ffmpeg command line as (that he posted in another thread):

ffmpeg -i t001.mov -vcodec copy -acodec copy t001.mxf

I get this error:

[mxf @ 0000000002ed0200] Unsupported video frame rate 30000/1

The input is ProRes422HQ. MediaInfo reports this is 29.970p. Is ffmpeg expecting a frame rate of 30p?

Can anyone provide insight or a solution?

This is the full screen readout:


This is the original file MediaInfo:


Thank You and Best Regards.....George

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16

Comments

NormanPCN wrote on 2/11/2016, 9:52 PM
Don't know about the error message specifics but you cannot go directly from MOV to MXF with a file that has a stereo audio stream. The audio stream needs to be split into separate mono streams. That was mentioned in the other thread and there was an example command given to handle this but you seem to have overlooked that.

I'm not sure the ffmpeg muxer accepts Prores in MXF files. I've never tried it. The ffmpeg MXF muxer is pretty finicky.

Here is a batch command I have used to remux XDCAM mpeg-2 in MOV to MXF. It worked for that. Don't know about anything else. It works drag and drop from the file browser, for any number of input files.

@echo off

:top
c:\systools\ffmpeg\bin\ffmpeg.exe -i %1 -c:v copy -c:a pcm_s16le -filter_complex channelsplit=channel_layout=stereo[FL][FR] -map 0:v:0 -map [FL] -map [FR] "%~dpn1.mxf"
if errorlevel 1 goto error

shift
if NOT %1$==$ goto top
goto :EOF

:error
echo !!! error encoding !!!
pause


astar wrote on 2/11/2016, 11:47 PM
Not all codecs are supported in the containers. You can copy Prores into .AVI, but then Vegas does not have a codec to read it. Quicktime reads the Prores codec, and QT is .MOV in Vegas.

If you add an -r 30 to your command, you would get an error saying the container is not supported.

Same pretty much goes for DNxHD. DNxHD is supported in .MXF. You can convert ProresHQ 10-bit to DNxHD 10-bit in an mxf container using FFMPEG. Vegas does not know what to do with the format however.

There are several versions of MXF and you pretty much need to be a member of SMTPE to access the specifications to understand the refined differences.

If you are trying to get to something equal to ProresHQ, try Resolve and render to MXF OP1A - Sony MPEG4 422 (225Mbs) or (450Mbs) depending on the specifics of the Prores stream. This will maintain the Prores file qualities and put you in an MXF format Vegas is optimized for.

Vegas will convert limited amounts of .mov and .mov below a certain size. If you work in those boundaries, you can convert to HDCAM-SR or XAVC-I.
Camaxide wrote on 2/12/2016, 5:21 AM
astar posted the string on my post:

-acodec pcm_s24le -ar 48000 -newaudio -map_audio_channel 0:1:0:0:1:0 -map_audio_channel 0:1:1:0:2:0

did you try this?
JohnnyRoy wrote on 2/12/2016, 5:24 AM
As others have stated, you cannot put ProRes in an MXF container. In the original post you were referring to iPhone QuickTime files which are AVC/H.264 which you CAN out in an MXF container. So this doesn't work for all codecs, only those codecs that can be placed in an MXF container.

You will need to re-render ProRes files if you don't want to (or cannot because of Vegas Pro limitations) work with them as QuickTime files. CineForm AVI is a good digital intermediary to convert them to.

~jr
Eagle Six wrote on 2/12/2016, 11:43 AM
Thanks for all the replies, I appreciate the time and effort, it's starting to sink in (maybe, somewhat!!).

-------------
I rendered with Resolve 12, MXF OP1A - Sony MPEG4 422 (225Mbs). I get a Vegas crash when adding the file to the media bin:

Problem Description
Application Name: Vegas Pro
Application Version: Version 13.0 (Build 453) 64-bit
Problem: Unmanaged Exception (0xc0000005)
Fault Module: C:\Program Files\Sony\Vegas Pro 13.0\FileIO Plug-Ins\mxfhdcamsrplug\mxfhdcamsrplug.dll
Fault Address: 0x0000000180002C65
Fault Offset: 0x0000000000002C65

Fault Process Details
Process Path: C:\Program Files\Sony\Vegas Pro 13.0\vegas130.exe
Process Version: Version 13.0 (Build 453) 64-bit
Process Description: Vegas Pro
Process Image Date: 2015-06-05 (Fri Jun 05) 23:53:04

I know enough about Resolve to be dangerous, I'll try a few more render options.

-------------

I did try the -acodec line and ffmpeg reported:

Unrecognized option 'newaudio'.
Error splitting the argument list: Option not found

However, if I understand this, as mentioned, if ProRes will not go into an MXF, then the -vcodec copy isn't going to work anyway.

--------------

Again, Thanks for the time and insight, it provides me with some things to try and alternatives.


Best Regards.......George

System Specs......
Corsair Obsidian Series 450D ATX Mid Tower
Asus X99-A II LGA 2011-v3, Intel X99 SATA 6 Gb/s USB 3.1/3.0 ATX Intel Motherboard
Intel Core i7-6800K 15M Broadwell-E, 6 core 3.4 GHz LGA 2011-v3 (overclocked 20%)
64GB Corsair Vengeance LPX DDR4 3200
Corsair Hydro Series H110i GTX 280mm Extreme Performance Liquid CPU Cooler
MSI Radeon R9 390 DirectX 12 8GB Video Card
Corsair RMx Series RM750X 740W 80 Plus Gold power pack
Samsung 970 EVO NVMe M.2 boot drive
Corsair Neutron XT 2.5 480GB SATA III SSD - video work drive
Western Digitial 1TB 7200 RPM SATA - video work drive
Western Digital Black 6TB 7200 RPM SATA 6Bb/s 128MB Cache 3.5 data drive

Bluray Disc burner drive
2x 1080p monitors
Microsoft Window 10 Pro
DaVinci Resolve Studio 16 pb2
SVP13, MVP15, MVP16, SMSP13, MVMS15, MVMSP15, MVMSP16