Last active
September 13, 2018 18:59
-
-
Save fredeerock/8389c467b7b4822fea2c65b4dbe796d8 to your computer and use it in GitHub Desktop.
DCP playback and conversion with ffmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Playing | |
## Slow Machines | |
ffmpeg -lowres 2 -ss 0 -r 24 -i MOVIE.MOV -ss 0 -i AUDIO.WAV -ac: 2 -c:v mpeg2video -f avi - | ffplay - | |
## Fast Machines | |
ffmpeg -lowres 0 -ss 0 -r 24 -i MOVIE.MOV -ss 0 -i AUDIO.WAV -c:a copy -f avi - | ffplay - | |
# Converting | |
## ProRes | |
ffmpeg -i j2c.mxf -i pcm.mxf -vcodec prores -acodec pcm_s16le output.mov | |
## H264 | |
### Convert the audio and video | |
ffmpeg -ss 0 -lowres 0 -i dcp/picture.mxf -t 10 -q:v 0.9 mov/jpg/image%06d.jpg | |
ffmpeg -ss 0 -i dcp/sound.mxf -y mov/sound.wav | |
### Mux and compress | |
ffmpeg -r 24 -i mov/jpg/image%06d.jpg -sameq -i mov/sound.wav -ac 2 -ab 256k -y mov/movie.mp4 | |
# https://www.belle-nuit.com/open-source-dcp-player-proof-of-concept | |
# https://www.belle-nuit.com/use-ffmpeg-for-dcp-playback |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment