[FFmpeg-trac] #3818(undetermined:new): Not possible to remux mp4 files from Sony XDCAM cameras

FFmpeg trac at avcodec.org
Wed Jul 30 15:02:56 CEST 2014


#3818: Not possible to remux mp4 files from Sony XDCAM cameras
-------------------------------------+-------------------------------------
             Reporter:  rmk          |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Files from professional Sony XDCAMs produce files containing MPEG-2 video
 and PCM 16 audio in an mp4 container. ffmpeg does not allow to remux these
 files.

 Sample command line and output:

 ffmpeg -i xdcam.MP4 -c copy -y -strict experimental xdcam_remuxed.mp4
 ffmpeg version N-64810-gf74f227 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jul 26 2014 21:40:24 with Apple LLVM version 5.1
 (clang-503.0.40) (based on LLVM 3.4svn)
   configuration: --enable-gpl --enable-libx264 --enable-libfaac --enable-
 nonfree --extra-ldflags=-L/usr/local/lib --extra-
 cflags=-I/usr/local/include
   libavutil      52. 92.101 / 52. 92.101
   libavcodec     55. 69.100 / 55. 69.100
   libavformat    55. 48.101 / 55. 48.101
   libavdevice    55. 13.102 / 55. 13.102
   libavfilter     4. 11.102 /  4. 11.102
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 Guessed Channel Layout for  Input Stream #0.1 : stereo
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'xdcam.MP4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42
     creation_time   : 2011-07-15 14:58:27
   Duration: 00:00:01.52, start: 0.000000, bitrate: 38413 kb/s
     Stream #0:0(eng): Video: mpeg2video (Main) (mp4v / 0x7634706D),
 yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 36861 kb/s, 25 fps, 25
 tbr, 25k tbn, 50 tbc (default)
     Metadata:
       creation_time   : 2011-07-15 14:58:27
       handler_name    : Video Media Handler
     Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz, 2
 channels, s16, 1536 kb/s (default)
     Metadata:
       creation_time   : 2011-07-15 14:58:27
       handler_name    : NRT Metadata Handler
 [mp4 @ 0x7f9254001800] Could not find tag for codec pcm_s16be in stream
 #1, codec not currently supported in container
 Output #0, mp4, to 'xdcam_remuxed.mp4':
   Metadata:
     major_brand     : mp42
     minor_version   : 0
     compatible_brands: mp42
     encoder         : Lavf55.48.101
     Stream #0:0(eng): Video: mpeg2video (a[0][0][0] / 0x0061), yuv420p,
 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 36861 kb/s, 25 fps, 25k tbn, 25k tbc
 (default)
     Metadata:
       creation_time   : 2011-07-15 14:58:27
       handler_name    : Video Media Handler
     Stream #0:1(eng): Audio: pcm_s16be (twos / 0x736F7774), 48000 Hz,
 stereo, 1536 kb/s (default)
     Metadata:
       creation_time   : 2011-07-15 14:58:27
       handler_name    : NRT Metadata Handler
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #0:1 -> #0:1 (copy)
 Could not write header for output file #0 (incorrect codec parameters ?):
 Invalid argument

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3818>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list