[FFmpeg-user] converting yuv directly to Apple Final Cut Pro

Roee Kashi galacap at gmail.com
Thu Jan 26 12:58:25 CET 2012


Hello,
In order to convert my YV12 video into apple pal-dv format (in order to be
supported in Apple Final Cut Pro) i'm using the following command:

ffmpeg -y -i aud_file.mp3 -s 528x384 -vtag YV12 -i raw_vid.yuv -target
pal-dv outdv.mov

it creates a dv-pal mov file, which works fine in a player like VLC.
( * note to users who tries this command and it doesn't work: in older
ffmpeg versions -vtag YV12 was applied for both input and output file, and
in newer version the vtag can be added as an input option )

so this mov file looks ok, but the final cut don't accept this file.

in order to solve this (i found it out by mistake) i'm adding this command:
ffmpeg -i outdv.mov -vcodec copy -acodec copy -sameq -strict -o outdv2.mov

this time the file outdv2.mov is accepted in final cut.
i don't understand why are they different.

1) ffmpeg -i outdv.mov
"[dv @ 0003FA40] Estimating duration from bitrate, this may be inaccurate
Input #0, dv, from 'outdv.mov':
  Metadata:
    timecode        : 00:00:00:00
  Duration: 00:02:32.00, start: 0.000000, bitrate: 28800 kb/s
    Stream #0:0: Video: dvvideo, yuv420p, 720x576, 28800 kb/s, SAR 16:15
DAR 4:3
, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s
"
2) ffmpeg -i outdv2.mov
"Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'outdv2.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 512
    compatible_brands: qt
    encoder         : Lavf53.30.100
  Duration: 00:02:32.00, start: 0.000000, bitrate: 30337 kb/s
    Stream #0:0(eng): Video: dvvideo (dvcp / 0x70637664), yuv420p, 720x576
[SAR
16:15 DAR 4:3], 28800 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc
    Metadata:
      handler_name    : ♂DataHandler
    Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2
channels
, s16, 1536 kb/s
    Metadata:
      handler_name    : ♂DataHandler
"

is there something i can do in order to convert the source video directly
to this kind of mov file?
Thanks.


More information about the ffmpeg-user mailing list