VideoHelp Forum
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Member
    Join Date
    Oct 2018
    Location
    Dubai
    Search PM
    I want to convert mxf file to MDash, whats the best way to do this. Below is what I need to acheive. How to do this with ffmpeg.

    General

    Format : dash
    Codec ID : dash (dash/iso6)
    File size : 762 Bytes
    Overall bit rate mode : Constant
    Encoded date : UTC 2020-09-03 14:26:16
    Tagged date : UTC 2020-09-03 14:26:16

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3
    Format settings : CABAC / 4 Ref Frames
    Format settings, CABAC : Yes
    Format settings, Reference frames : 4 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Bit rate mode : Constant
    Bit rate : 2 000 kb/s
    Width : 640 pixels
    Height : 360 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 FPS
    Standard : PAL
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Progressive
    Bits/(Pixel*Frame) : 0.347
    Encoded date : UTC 2020-09-03 14:26:16
    Tagged date : UTC 2020-09-03 14:26:16
    Color range : Limited
    Codec configuration box : avcC

    I have tried the below, but the result is not playing back in VLC:

    ffmpeg -re -i "XXX-05763.mxf" -pix_fmt yuv420p -map 1:v -map 0:v -map 0:a -c:a aac -c:v libx264 -use_template 1 -use_timeline 1 -init_seg_name "init-stream$RepresentationID$-$Bandwidth$.mp4" -adaptation_sets "id=0,streams=v id=1,streams=a" -dash_segment_type mp4 -f dash XXX-05763.mpd
    Last edited by ghaffar3; 17th Sep 2020 at 03:51.
    Quote Quote  
  2. Member
    Join Date
    Oct 2018
    Location
    Dubai
    Search PM
    I have figured this out, posting below:

    ffmpeg -re -i XXX-05763.mxf -pix_fmt yuv420p -map 0:v:0 -map 0:a:0 -c:a aac -c:v libx264 -use_template 1 -use_timeline 1 -frag_type duration -init_seg_name "init-stream$RepresentationID$-$Bandwidth$.mp4" -b:v 12000k -profile:v main -level:v 3.0 -s 1920x1080 -r 25 -adaptation_sets "id=0,streams=v id=1,streams=a" -dash_segment_type mp4 -f dash XXX-05763.mpd
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!