Skip to content

Instantly share code, notes, and snippets.

@emcodem
Last active May 18, 2021 14:06
Show Gist options
  • Select an option

  • Save emcodem/62b549490ec1c52db8dd2fc43c52ef8b to your computer and use it in GitHub Desktop.

Select an option

Save emcodem/62b549490ec1c52db8dd2fc43c52ef8b to your computer and use it in GitHub Desktop.
ffmpeg dolbye decode
#source file is xdcamhd, thus 8tracks. dbe is on track 3/4, dbe is 16 bit in a 24bit pcm
ffmpeg.exe -i "E:\vizone\Viz_Omneon30s11Origin10.mxf" -filter_complex "[0:a:2][0:a:3]join=inputs=2:channel_layout=stereo[a]" -map "[a]" -c:a pcm_s16le -ar 48000 -f s16le - | ffmpeg -y -i - c:\temp\out.wav
ffmpeg.exe -i E:\temp\Dolby34_2min.mxf -filter_complex "[0:a:2][0:a:3]join=inputs=2:channel_layout=stereo[a]" -map "[a]" -c:a pcm_s16le -ar 48000 -f s16le - | ffmpeg -y -i - -c:a pcm_s16le -ar 48000 -f s16le ffmpeg -i - -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.0 e:\temp\ch0.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.1 e:\temp\ch1.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.2 e:\temp\ch2.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.3 e:\temp\ch3.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.4 e:\temp\ch4.wav -acodec pcm_s24le -ar 48000 -ac 1 -map_channel 0.0.5 e:\temp\ch5.wav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment