MediaExpress 10.9.10 captures incompatible mjpeg avi's +FIX?

Do you have questions about Desktop Video, Converters, Routers and Monitoring?
  • Author
  • Message
Offline

Walter Sonius

  • Posts: 18
  • Joined: Wed May 03, 2017 9:53 am

MediaExpress 10.9.10 captures incompatible mjpeg avi's +FIX?

PostSun Jan 14, 2018 9:32 pm

Update: MediaExpress from DesktopVideo 10.9.10 on both Ubuntu Linux 16.04 and Windows 10 Pro 64 are affected!

Using a Decklink 4K SDI for capturing 720p50 as a MJPEG AVI with 2 enabled channels(24bit audio) in MediaExpress 10.9.7 / 10.9.10 on Ubuntu Linux 16.04 amd64 results in avi's that are partly incompatible with "Final Cut X" and or "Adobe Premiere CC" on Mac OS X 10.11.6. Only VIDEO gets imported with no AUDIO track detected!

Code: Select all
ffmpeg -i 720p50MJPEGvideocapturedwithmediaexpress.avi -vcodec copy -acodec copy output.avi


However rewrapping the avi container to... avi with codec copy for both video and audio in ffmpeg results in compatible avi's for both Final Cut X and Adobe Premiere CS (both audio and video track are detected). Rewrapping to quicktime mov gives audio but black screen for video in Final Cut X, or the other way around for premiere.

Rewrapping not only consumes "Time" but also duplicates the needed "Diskspace", both of these assets are very valuable to a lot of us.

Anyone from BMD (?
Last edited by Walter Sonius on Thu Feb 01, 2018 11:22 am, edited 4 times in total.
Offline

Andrew Kolakowski

  • Posts: 3653
  • Joined: Tue Sep 11, 2012 10:20 am

Re: MediaExpress 10.9.7 captures incompatible mjpeg avi's FI

PostMon Jan 15, 2018 11:33 am

Try changing audio from being 1x 8 (or 16) channels track into 8x (or 16x) separate mono tracks.

For 16 channels:
ffmpeg -guess_layout_max 0 -i "sure.mov" -filter_complex channelsplit=hexadecagonal -c:v copy -c:a pcm_s24le "out.mov"

For 8 channels:
ffmpeg -guess_layout_max 0 -i "sure.mov" -filter_complex channelsplit=octagonal -c:v copy -c:a pcm_s24le "out.mov"

If you can't use MOV, try AVI. It may work or not depending on the app. If it doesn't just reduce number of channels (most likely you need just first 2 or 4):

first 4 channels:
ffmpeg -guess_layout_max 0 -i "source.mov" -filter_complex 'channelmap=0|1|2|3' -c:v copy -c:a pcm_s24le "out.avi"

first 2 channels:
ffmpeg -guess_layout_max 0 -i "source.mov" -filter_complex 'channelmap=0|1' -c:v copy -c:a pcm_s24le "out.avi"

You can also always re-transcode to e.g. ProRes:

ffmpeg -guess_layout_max 0 -i "source.mov" -filter_complex channelsplit=octagonal -c:v prores -profile:v 3 -movflags write_colr -c:a pcm_s24le "out.mov"
(file wil be marked as progressive).

Time for BM to abandon MJPEG and use something current like DNxHR.
Offline

Walter Sonius

  • Posts: 18
  • Joined: Wed May 03, 2017 9:53 am

Re: MediaExpress 10.9.7 captures incompatible mjpeg avi's FI

PostMon Jan 15, 2018 9:11 pm

Thanks for sharing your ffmpeg commands, however the audio was not a problem when wrapping to mov container it was the video that kept black, will "-guess_layout_max 0" affect this since I cannot find a description about that parameter?

Isn't it strange that the avi rewrapped by ffmpeg just works in both Premiere CC and FCX on Mac OS?

Maybe a little bit offtopic, but as a personal preference in codecs, I'd rather see BMD having a MJPEG (8bit still 422) AVI compatible with most of the main stream NLE software packages on most platforms as a simple fallback codec, not efficient but compatible as in license terms or other claims.

Second I would like to see recent opensourced GoPRo Cineform 10/12bit 422/444 yuv/rgb interlaced/progressive lossy codec support (which is already part of DavinciResolve), and have most NLE's and portable monitor/recorders support that codec (wishful thinking).

And finally having it record to proprietary avid dnxhd or apple prores codecs in selectable containers.
Offline

Andrew Kolakowski

  • Posts: 3653
  • Joined: Tue Sep 11, 2012 10:20 am

Re: MediaExpress 10.9.7 captures incompatible mjpeg avi's FI

PostWed Jan 31, 2018 7:29 pm

-guess_layout_max 0 just stops ffmpeg trying to guess audio layout e.g. that 6 channels= 5.1 audio, 8 channels=7.1 etc.

AVI is old and very simple container. It doesn't have defined way of storing timecode, field order, aspect ratio etc. It's not a good choice for post usage.


Last bumped by Walter Sonius on Wed Jan 31, 2018 7:29 pm.

Return to Post Production

Who is online

Users browsing this forum: No registered users and 9 guests