[FFmpeg-user] How can I convert an mp4 file to a Quicktime file to edit in Final Cut Pro?

Andy Benning Andy.Benning at pharos.tv
Wed Dec 14 17:05:10 CET 2011


Hi need some help converting an mp4 I've downloaded from http://www.sintel.org/download.
I've used mediainfo to read the source and destination file wrappers and codecs.
The output files needs to have a frame size of 720x608 but I'd like to generate two copies.
One without black bars top and bottom and one with.  I've used this but get an error of rc buffer underflow.

ffmpeg -y -pix_fmt uyvy422 -f rawvideo -s 720x608 -i sintel_trailer-480p.mp4 -vcodec mpeg2video -r 25 -pix_fmt yuv422p -minrate 30000k -maxrate 30000k -b 30000k -intra -flags +ildct+low_delay -dc 10 -flags2 +ivlc+non_linear_q -ps 1 -qmin 1 -qmax 3 -top 1 -bufsize 1200000 -rc_init_occupancy 1200000 -rc_buf_aggressivity 0.25 -an sintel_trailer-480p.m2v


1.       Input file format
General
Complete name                    : sintel-2048-stereo.mp4
Format                           : MPEG-4
Format profile                   : Base Media
Codec ID                         : isom
File size                        : 270 MiB
Duration                         : 14mn 48s
Overall bit rate                 : 2 547 Kbps
Movie name                       : Sintel
Writing application              : Lavf52.78.5
Copyright                        : (c) copyright Blender Foundation | durian.blender.org
desc                             : Sintel open movie project

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High at L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Codec ID                         : avc1
Codec ID/Info                    : Advanced Video Coding
Duration                         : 14mn 48s
Bit rate mode                    : Variable
Bit rate                         : 2 353 Kbps
Width                            : 2 048 pixels
Height                           : 872 pixels
Display aspect ratio             : 2.35:1
Frame rate mode                  : Constant
Frame rate                       : 24.000 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.055
Stream size                      : 249 MiB (92%)

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format version                   : Version 4
Format profile                   : LC
Format settings, SBR             : No
Codec ID                         : 40
Duration                         : 14mn 48s
Bit rate mode                    : Variable
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : Front: L R
Sampling rate                    : 48.0 KHz
Stream size                      : 20.0 MiB (7%)
Language                         : English

2. Output file format
General
Complete name                    : PHTT00075.mov
Format                           : MPEG-4
Format profile                   : QuickTime
Codec ID                         : qt
File size                        : 5.79 GiB
Duration                         : 26mn 12s
Overall bit rate                 : 31.6 Mbps
Encoded date                     : UTC 2011-11-25 15:29:01
Tagged date                      : UTC 2011-11-25 15:43:41
Writing library                  : Apple QuickTime
Media/UUID                       : 463718B7-3684-4FDE-8A41-64E72E810F51

Video
ID                               : 1
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : 4:2:2 at Main
Format settings, BVOP            : No
Format settings, Matrix          : Default
Format settings, GOP             : N=1
Codec ID                         : mx3p
Duration                         : 40ms
Bit rate mode                    : Constant
Bit rate                         : 30.0 Mbps
Width                            : 720 pixels
Height                           : 576 pixels
Original height                  : 608 pixels
Display aspect ratio             : 4:3
Frame rate mode                  : Constant
Frame rate                       : 25.000 fps
Standard                         : PAL
Color space                      : YUV
Chroma subsampling               : 4:2:2
Bit depth                        : 8 bits
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 2.894
Stream size                      : 5.51 GiB (95%)
Language                         : English
Encoded date                     : UTC 2011-11-25 15:29:01
Tagged date                      : UTC 2011-11-25 15:43:41

Audio
ID                               : 2
Format                           : PCM
Format settings, Endianness      : Little
Format settings, Sign            : Signed
Codec ID                         : sowt
Duration                         : 26mn 12s
Bit rate mode                    : Constant
Bit rate                         : 1 536 Kbps
Channel(s)                       : 2 channels
Sampling rate                    : 48.0 KHz
Bit depth                        : 16 bits
Stream size                      : 288 MiB (5%)
Language                         : English
Encoded date                     : UTC 2011-11-25 15:29:01
Tagged date                      : UTC 2011-11-25 15:43:41

Menu
ID                               : 3
Language                         : English
Encoded date                     : UTC 2011-11-25 15:43:41
Tagged date                      : UTC 2011-11-25 15:43:41


________________________________
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the sender (as shown above). Kindly do not reproduce, print or forward any material received in error, please delete it immediately. Pharos Communications Limited (Company No. 3458137) is incorporated in England and Wales and has its registered office at 83 London Street, Reading, Berkshire, UK, RG1 4QA.
Pharos Communications Pte Limited (Company No. 200817005N) is incorporated in Singapore and has its registered office at One Marina Boulevard, #28-00. Singapore 018989


More information about the ffmpeg-user mailing list