[FFmpeg-user] Dolby E stream to mux in MXF

Fabrice Saudoyez fabrice.saudoyez at staytuned.be
Tue Dec 8 22:03:49 CET 2015


Dolby E streams are in fact 2 wav data files.  I’d like to mux XDCAMHD422 video stream with 2x24bits wav files and a dolby E stream (flagged as Dolby E in the final MXF metadata)… Is it possible to do that with FFMPEG ?
The structure to obtain should be like this :


General
Count : 284
Count of stream of this kind : 1
Kind of stream : General
Stream identifier : 0
Count of video streams : 1
Count of audio streams : 4
OtherCount : 2
Video_Format_List : MPEG Video
Video_Format_WithHint_List : MPEG Video
Codecs Video : MPEG-2 Video
Audio_Format_List : PCM / PCM / Dolby E / Dolby E
Audio_Format_WithHint_List : PCM / PCM / Dolby E / Dolby E
Audio codecs : PCM / PCM /
Other_Format_List : MXF TC / SMPTE TC
Other_Format_WithHint_List : MXF TC / SMPTE TC
Complete name : /Users/saudoyez/Movies/MXF/Sources/ettasoeur.mxf
Folder name : /Users/saudoyez/Movies/MXF/Sources
File name : ettasoeur
File extension : mxf
Format : MXF
Format/Extensions usually used : mxf
Commercial name : XDCAM HD422
Format profile : OP-1a
Format settings : Closed / Complete
Internet media type : application/mxf
Codec : MXF
Codec/Extensions usually used : mxf
Codec settings : Closed / Complete
File size : 692.5 MiB
Duration : 00:01:45.240
Overall bit rate : 55.2 Mbps
Stream size : 7.43 MiB (1%)
Proportion of this stream : 0.01073
FooterSize : 4788
Encoded date : 2015-12-04 14:00:31.888
File last modification date : UTC 2015-12-04 14:54:58
File last modification date (local) : 2015-12-04 15:54:58
Writing application : OC   OCTk 2.2
Writing library : OC   OCTk 2.2
Writing library/Name : OC   OCTk
Writing library/Version : 2.2

Video
Count : 276
Count of stream of this kind : 1
Kind of stream : Video
Stream identifier : 0
StreamOrder : 0
ID : 2
Format : MPEG Video
Commercial name : XDCAM HD422
Format version : Version 2
Format profile : 4:2:2 at High
Format settings : CustomMatrix / BVOP
Format settings, BVOP : Yes
Format settings, Matrix : Custom
Format_Settings_Matrix_Data : 0810101310131616161616161A181A1B1B1B1A1A1A1A1B1B1B1D1D1D2222221D1D1D1B1B1D1D2020222225262523232223262628282830302E2E38383A454553 / 10101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010
Format settings, GOP : M=3, N=12
Format_Settings_Wrapping : Frame
Internet media type : video/MPV
Codec ID : 0D01030102046001-0401020201040300
Codec : MPEG-2 Video
Codec/Family : MPEG-V
Codec profile : 4:2:2 at High
Codec settings : CustomMatrix
Codec settings, Matrix : Custom
Duration : 00:01:45.240
Bit rate : 50.0 Mbps
Width : 1 920 pixels
Height : 1 080 pixels
Pixel aspect ratio : 1.000
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Frame count : 2631
Standard : Component
Resolution : 8 bits
Colorimetry : 4:2:2
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Interlaced
Scan order : Top Field First
Interlacement : Top Field First
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.965
Delay : 00:00:00.000
Delay_DropFrame : No
Delay, origin : Container
Delay_Original : 00:00:00.000
Delay_Original_Settings : drop_frame_flag=0 / closed_gop=1 / broken_link=0
Delay_Original_DropFrame : No
Delay_Original_Source : Stream
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
Stream size : 627 MiB (91%)
Proportion of this stream : 0.90579
Buffer size : 2228224
colour_description_present : Yes
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
Delay_SDTI : 0
intra_dc_precision : 10

Audio #1
Count : 223
Count of stream of this kind : 4
Kind of stream : Audio
Stream identifier : 1
StreamOrder : 1
ID : 3
Format : PCM
Commercial name : PCM
Format settings : Little
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Codec ID : 0D01030102060300
Codec : PCM
Codec/Family : PCM
Codec settings : Little
Codec settings, Endianness : Little
Duration : 00:01:45.240
Bit rate mode : Constant
Bit rate : 1 152 Kbps
Channel(s) : 1 channel
Sampling rate : 48.0 KHz
Samples count : 5051520
Frame count : 2631
Resolution : 24 bits
Bit depth : 24 bits
Delay : 00:00:00.000
Delay_DropFrame : No
Delay, origin : Container
Delay relative to video : 0
Video0 delay : 0
Stream size : 14.5 MiB (2%)
Proportion of this stream : 0.02087
Delay_SDTI : 0

Audio #2
Count : 223
Count of stream of this kind : 4
Kind of stream : Audio
Stream identifier : 2
StreamOrder : 2
ID : 4
Format : PCM
Commercial name : PCM
Format settings : Little
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Codec ID : 0D01030102060300
Codec : PCM
Codec/Family : PCM
Codec settings : Little
Codec settings, Endianness : Little
Duration : 00:01:45.240
Bit rate mode : Constant
Bit rate : 1 152 Kbps
Channel(s) : 1 channel
Sampling rate : 48.0 KHz
Samples count : 5051520
Frame count : 2631
Resolution : 24 bits
Bit depth : 24 bits
Delay : 00:00:00.000
Delay_DropFrame : No
Delay, origin : Container
Delay relative to video : 0
Video0 delay : 0
Stream size : 14.5 MiB (2%)
Proportion of this stream : 0.02087
Delay_SDTI : 0

Audio #3
Count : 227
Count of stream of this kind : 4
Kind of stream : Audio
Stream identifier : 3
StreamOrder : 3
ID : 5 / 6-1
Format : Dolby E
Commercial name : Dolby E
Format settings : Little
Mode : 24
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Muxing mode : AES3
Codec ID : 0D01030102060300
Duration : 00:01:45.240
Bit rate mode : Constant
Encoded bit rate : 2 304 Kbps
Channel(s) : 6 channels
Channel positions : 3/2/0.1
ChannelLayout : L C Ls X R LFE Rs X
Sampling rate : 48.0 KHz
Samples count : 5051520
Frame rate : 25.000 fps
Frame count : 79535
Resolution : 20 bits
Bit depth : 20 bits
Delay : 00:00:00.000
Delay_DropFrame : No
Delay, origin : Raw stream
Delay relative to video : 0
Video0 delay : 0
Encoded stream size : 28.9 MiB (4%)
StreamSize_Encoded_Proportion : 0.04174
GuardBand_Before : 0.001050000
GuardBand_Before/String : 1050
GuardBand_After : 0.001475000
GuardBand_After/String : 1475
Delay_SDTI : 0

Audio #4
Count : 227
Count of stream of this kind : 4
Kind of stream : Audio
Stream identifier : 4
StreamOrder : 3
ID : 5 / 6-2
Format : Dolby E
Commercial name : Dolby E
Format settings : Little
Mode : 24
Format settings, Endianness : Little
Format_Settings_Wrapping : Frame (AES)
Muxing mode : AES3
Codec ID : 0D01030102060300
Duration : 00:01:45.240
Bit rate mode : Constant
Encoded bit rate : 0 bps
Channel(s) : 2 channels
Channel positions : 2/0/0
ChannelLayout : X X X L X X X R
Sampling rate : 48.0 KHz
Samples count : 5051520
Frame rate : 25.000 fps
Frame count : 79535
Resolution : 20 bits
Bit depth : 20 bits
Delay : 00:00:00.000
Delay_DropFrame : No
Delay, origin : Raw stream
Delay relative to video : 0
Video0 delay : 0
Encoded stream size : 0.00 Byte (0%)
StreamSize_Encoded_Proportion : 0.00000
GuardBand_Before : 0.001050000
GuardBand_Before/String : 1050
GuardBand_After : 0.001475000
GuardBand_After/String : 1475
Delay_SDTI : 0

Other #1
Count : 58
Count of stream of this kind : 2
Kind of stream : Other
Stream identifier : 1
ID : 1
Type : Time code
Format : MXF TC
Commercial name : MXF TC
Time code of first frame : 00:00:00:00
Time code settings : Striped

Other #2
Count : 58
Count of stream of this kind : 2
Kind of stream : Other
Stream identifier : 2
Type : Time code
Format : SMPTE TC
Commercial name : SMPTE TC




More information about the ffmpeg-user mailing list