[FFmpeg-user] Remuxed XDCAM file no longer accepted by FCP7

Robert Krüger krueger at lesspain.de
Wed May 15 13:55:33 CEST 2013


Hi,

I have remuxed an original XDCAM file created by an FCP7 export and the
resulting file is no longer accepted by FCP7. I have not done this in quite
a while and I was wondering if anyone else is using ffmpeg for generating
FCP7-compatible XDCAM files or if they have all switched to ffmbc (which
creates compatible files). I want to do this programmatically using
libavformat but wanted to test on the command line first and was surprised
it did not work, because I thought it had worked for years. Before I go
through the files and compare atoms in the original and the remuxed file, I
thought I'd ask if I'm missing something or what other people's experience
is with ffmpeg-generated XDCAM-files and FCP7.

Full command line and output:

ffmpeg -i
/Users/krueger/tmp/playground/transcoding/fcp7_xdcam_hd422_1080_25p_syncbeep_2s.mov
-vcodec copy -acodec copy
/Users/krueger/tmp/playground/transcoding/fcp7_xdcam_hd422_1080_25p_syncbeep_2s_ffmpeg_head.mov
ffmpeg version N-53057-gbc1c90e Copyright (c) 2000-2013 the FFmpeg
developers
  built on May 15 2013 08:57:21 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration:
  libavutil      52. 31.100 / 52. 31.100
  libavcodec     55.  9.100 / 55.  9.100
  libavformat    55.  7.100 / 55.  7.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 67.100 /  3. 67.100
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/krueger/tmp/playground/transcoding/fcp7_xdcam_hd422_1080_25p_syncbeep_2s.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    creation_time   : 2013-05-14 10:36:21
  Duration: 00:00:02.00, start: 0.000000, bitrate: 52334 kb/s
    Stream #0:0(eng): Video: mpeg2video (4:2:2) (xd5e / 0x65356478),
yuv422p, 1920x1080 [SAR 1:1 DAR 16:9], 49994 kb/s, 25 fps, 25 tbr, 25 tbn,
50 tbc
    Metadata:
      creation_time   : 2013-05-14 10:36:21
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, s32, 2304 kb/s
    Metadata:
      creation_time   : 2013-05-14 10:36:21
      handler_name    : Apple Alias-Datensteuerung
    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s
    Metadata:
      creation_time   : 2013-05-14 10:36:23
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
Output #0, mov, to
'/Users/krueger/tmp/playground/transcoding/fcp7_xdcam_hd422_1080_25p_syncbeep_2s_ffmpeg_head.mov':
  Metadata:
    major_brand     : qt
    minor_version   : 537199360
    compatible_brands: qt
    encoder         : Lavf55.7.100
    Stream #0:0(eng): Video: mpeg2video (xd5e / 0x65356478), yuv422p,
1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 49994 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      creation_time   : 2013-05-14 10:36:21
      handler_name    : Apple Alias-Datensteuerung
      timecode        : 01:00:00:00
    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz,
stereo, 2304 kb/s
    Metadata:
      creation_time   : 2013-05-14 10:36:21
      handler_name    : Apple Alias-Datensteuerung
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=   50 fps=0.0 q=-1.0 Lsize=   12771kB time=00:00:02.00
bitrate=52310.9kbits/s
video:12206kB audio:562kB subtitle:0 global headers:0kB muxing overhead
0.024169%

The resulting file did not play back correctly in Quicktime either. It
skips the first two frames when played back and when pausing at the file's
beginning and then stepping ahead frame by frame it starts at frame 7 but
then it is possible to step back until frame 3. It seems something is wrong
in the file's metadata (sample timings, edit list, I don't know, since I
have not looked yet).

I should probably create a trac issue for the latter alone.

Best regards,

Robert


More information about the ffmpeg-user mailing list