[FFmpeg-user] DPX Converting to Quicktime MJPEG A

Chris.Marzullo at EFILM.com Chris.Marzullo at EFILM.com
Mon Mar 2 21:50:53 CET 2009


Hello all,

I am trying to create Quicktime MJPEG-A videos from a set of DPX frames. 
The remaining issue I am having 
is that in Quicktime the codec is showing up as Photo JPEG. How can I get 
it to show up as MJPEG?

I'll include my code for completeness, and to possibly help other people 
fighting with the DPX to anything else encoding.
In this short script that follows I'll assume you can infer the variables:

for i in `\ls -1 $IMGLOC| grep dpx |sort`
do
        gm convert -define dpx:colorspace=rgb $IMGLOC/$i ppm:-
done  | ffmpeg -f image2pipe -vcodec ppm -r 23.976024 -i - -r 23.976024 
-pix_fmt yuvj422p -b $CBR -f mov -vcodec mjpeg  $MOVIE

You might notice a weird framerate of 23.976.024. I work in film. If I do 
not include this the duration will not match a Quicktime 
made in After Effects of the same material. This number is (24 * 1000) / 
1001 

I have chosen -pix_fmt yuvj422p as this is what is shown when I look at a 
known good mjpeg Quicktime with ffmpeg.

>From Quicktime made in After Effects:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 
'eng_countdown_from_AE_23.976fps.mov':
  Duration: 00:03:06.22, start: 0.000000, bitrate: 4444 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj422p, 720x486 [PAR 72:72 DAR 
40:27], 23.98 tb(r)

>From Quicktime made with FFMPEG:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'eng_countdown-ffmpeg-mjpeg.mov':
  Duration: 00:03:06.22, start: 0.000000, bitrate: 4384 kb/s
    Stream #0.0(eng): Video: mjpeg, yuvj422p, 720x486, 23.98 tb(r)

These match up (except for par/dar), yet when I look at it with the movie 
inspector in Quicktime,
the ffmpeg movie shows up as photo jpeg!

Any suggestions would be wonderful!

--Chris


This e-mail and any attachments are intended only for use by the 
addressee(s) named herein and may contain confidential information. If you 
are not the intended recipient of this e-mail, you are hereby notified any 
dissemination, distribution or copying of this email and any attachments 
is strictly prohibited. If you receive this email in error, please 
immediately notify the sender by return email and permanently delete the 
original, any copy and any printout thereof. The integrity and security of 
e-mail cannot be guaranteed.




More information about the ffmpeg-user mailing list