VideoHelp Forum
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    Hi

    please consider my source https://dl.dropboxusercontent.com/u/39871584/C0020.mxf

    simply I would like re-generate the same exactly .mxf file with ffmpeg with the same video and audio codec, the same number of audio track

    ffmpeg -y -i c0020.mxf -vcodec copy -acodec copy -... c0020copy.mxf

    what is the right command?

    thanks
    Quote Quote  
  2. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    Generale
    Complete name : C:\Documents and Settings\Administrator\Desktop\codec\C0020.mxf
    Format : MXF
    Commercial name : XDCAM HD422
    Format profile : OP-1a
    Format settings : Closed / Complete
    File size : 263MiB
    Duration : 36s 600ms
    Overall bit rate : 60,3 Mbps
    Encoded date : 2013-05-24 22:12:18.000
    Writing application : SONY Opt 1.22
    Writing library : SONY Opt 1.22

    Video
    ID : 2
    Format : MPEG Video
    Commercial name : XDCAM HD422
    Format version : Version 2
    Format profile : 4:2:2@High
    Format settings, BVOP : Si
    Format settings, Matrix : Personalizzato
    Format settings, GOP : M=3, N=12
    Format_Settings_Wrapping : Frame
    Duration : 36s 600ms
    Bit rate : 50,0 Mbps
    Width : 1.920 pixel
    Height : 1.080 pixel
    Display aspect ratio : 16:9
    Frame rate : 25,000 fps
    Standard : Component
    Color space : YUV
    Chroma subsampling : 4:2:2
    Bit depth : 8 bit
    Scan type : Interlacciato
    Scan order : Top field first
    Compression mode : Con perdita
    Bits/(Pixel*Frame) : 0.965
    Stream size : 218MiB (83%)
    Colori primari : BT.709
    Caratteristiche trasferimento : BT.709
    Coefficienti matrici : BT.709

    Audio #1
    ID : 3
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #2
    ID : 4
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #3
    ID : 5
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #4
    ID : 6
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #5
    ID : 7
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #6
    ID : 8
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #7
    ID : 9
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Audio #8
    ID : 10
    Format : PCM
    Format settings, Endianness : Little
    Format_Settings_Wrapping : Frame (AES)
    Duration : 36s 600ms
    Bit rate mode : Costante
    Bit rate : 1.152 Kbps
    Channel(s) : 1 canale
    Sampling rate : 48,0 KHz
    Bit depth : 24 bit
    Stream size : 5,03MiB (2%)

    Altri #1
    ID : 1
    Type : Time code
    Format : MXF TC
    Time code of first frame : 01:34:21:15
    Time code settings : Striped

    Altri #2
    Type : Time code
    Format : SMPTE TC
    Muxing mode : SDTI
    Time code of first frame : 01:34:21:15
    Quote Quote  
  3. Member
    Join Date: Sep 2007
    Location: Canada
    Search Comp PM
    use -map 0 to select all streams

    Code:
    ffmpeg -i input.mxf -map 0 -c:v copy -c:a copy output.mxf
    Quote Quote  
  4. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    mmmmm interesting, unfortunatly I can not put this output.mxf on my camcorder because:


    PASV
    227 Entering Passive Mode. (192,168,0,18,112,148)
    STOR C0052.MXF
    150 File status okay: about to open data connection.
    B]426 Unsupported essence. code=4011[/B]
    Transfer Failed!
    TYPE A
    200 Command okay.
    PASV
    227 Entering Passive Mode. (192,168,0,18,105,0)
    LIST
    150 File status okay: about to open data connection.
    226 Closing data connection. Requested file action successful.
    Transfer queue completed
    1 File failed to transfer

    Maybe there is a problem with ffmbc/ffmpeg during mxf-XDCAMHD422 creation

    however thanks poison
    Quote Quote  
  5. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    ffmpeg -i c0020.mxf -map 0 -c:v copy -c:a copy output.mxf

    original C0020.MXF = 275.672.672 bytes
    copy OUTPUT.MXF = 274.935.389 bytes

    for all the rest seems there is no differences. The camera accept original c0020.mxf and refuse output.mxf, it's strange because output.mxf is playable on pc. I can not understand why the camera refuse output.mxf
    Quote Quote  
  6. Member Cornucopia's Avatar
    Join Date: Oct 2001
    Location: Deep in the Heart of Texas
    Search Comp PM
    Why do you need it back on your camera?

    Scott
    "When will the rhetorical questions end?!" - George Carlin
    Quote Quote  
  7. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    honestly because at the moment I can not buy the recorder sony pdw-hd1500. However in general it can be present for many times and for various reasons the need of record to xdcam disc, or for editing a clip. With the flashFXP software on my pc I can download or upload .mxf files from and into the camera disc.

    It's strange that in IMX (SD) mode all works well, but all is wrong in the HD case
    Quote Quote  
  8. Member Cornucopia's Avatar
    Join Date: Oct 2001
    Location: Deep in the Heart of Texas
    Search Comp PM
    Maybe there are other directory info: Index files, thumbnails, sidecar... that need to go with it. Or a "maker" signature that needs to be inserted into the file's user data.

    Are you sure it is placed in the proper directory to begin with? And named with an expected, compliant filename?

    Scott
    "When will the rhetorical questions end?!" - George Carlin
    Quote Quote  
  9. Member
    Join Date: Jun 2012
    Location: USA
    Search Comp PM
    Avid, Premiere Pro, and Vegas can all export XDCam back to the camera -- so it's doable, but they do it within a standard XDCam folder structure. Cornucopia is correct.

    Click image for larger version

Name:	XDCAM-Folder-structure.png
Views:	15
Size:	72.4 KB
ID:	24188
    Image stolen from CatDV
    Quote Quote  
  10. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    yes... Avid, Premiere Pro, and Vegas can all export XDCam back to the camera. FFMPEG seems can not: in IMX mode yes, in HD mode seems not

    https://groups.google.com/forum/#!searchin/ffmbc-discuss/XDCAM$20HD422$20encoding$20for$20Sony$20XDCAM$20Di scs|sort:relevance|spell:true/ffmbc-discuss/lyd6UMLBgrc/Z6rYRijS-moJ

    https://groups.google.com/forum/#!topic/ffmbc-discuss/5vUY_R7y9kk
    Quote Quote  
  11. Member
    Join Date: Apr 2013
    Location: Italy
    Search PM
    ____________________


    cName:  gbs.jpg
Views: 56
Size:  11.0 KB
    Quote Quote  



Similar Threads