I ended up writing an movWriter for Linux for this exact reason. I’m not 
exactly sure how to translate Quicktime’s “90%” setting into quantizer and 
bitrate parameters, but this should at least give you a bitrate and quality 
level somewhere in the same neighborhood.

ffmpeg -r 24 -start_number 1001 -i /path/to/input_sequence.%04d.jpg -pix_fmt 
yuvj420p -vcodec mjpeg -f mov -qmin 0 -qmax 1 /path/to/output/file.mov

You need the '-start_number' flag if your sequence starts at a frame other than 
1 or if you only want to use a subset of a sequence. The '-r' flag sets the 
frame rate of the source, and since no target rate is specified, the same will 
be used for the output. You can also use 'yuvj422p' for the output '-pix_fmt' 
value if you want 4:2:2 chroma subsampling.

Hope this helps.

-Nathan



From: Dan Rosen 
Sent: Tuesday, April 30, 2013 4:49 PM
To: Foundry 
Subject: [Nuke-users] ffmpeg Photo-JPEG QuickTimes

Hello, 

Sorry to use this forum, but hopefully someone can point me in the right 
direction to use ffmpeg (given that Nuke cannot properly write out a Photo-JPEG 
QuickTime with correct color nor with 90% quality). I am trying to write out 
frames from Nuke, with the lut applied in Nuke, and then compile them into 
Photo-JPEG QuickTime with 90% quality. There's a brightness shift that appears 
to be the pesky gama atom, but the file does not actually contain the atom so 
there's no solid way to remove the shift. I am still testing so the shift maybe 
something else. Fwiw, I have found good results with the ProRes codec (no 
shift).

I have read up on the it online, but all results list "mpeg" as the format in 
the Inspector window of QuickTime, but maybe it's correct since it lists 
"Photo-Jpeg" in the format int the Properties window.

Any help would be much appreciated. Thanks!

-Dan


--------------------------------------------------------------------------------
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to