VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    Hi,

    I have made custom graph for playout, and it works from graph studio.

    Is there a way that I could make windows media player to use it, or is there a way to make custom ds filter out of this graph
    with the highest merit value so that every time content is being played correctly/on a desirable way either by the system or any other player ?

    Regards.
    Quote Quote  
  2. It depends on the graph, what elements are connected. If it's just a simple decoder swap, then adjusting merits should work.

    If it's complex, the only way I know of is saving a graph (.grf) and using that in avisynth, and playing the .avs directly in the media player
    Quote Quote  
  3. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    ok, this is the case:

    there is a as02-2011 mxf op1b material. I managed to play audio part by just calling essence file, from mphc and certain demultiplexer.
    All audio channels are shown as separate and I can shift with ctr+a for example.

    I can also separately play video with mainconcept decoder by opening stream 0 from media folder.

    this is similar file structure:

    Code:
    Directory
    
        MXF_AS02_MPEG2_CBR_1920x1080_25Mbs.mxf
        extra
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs.xml
        media
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs_0.mxf
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs_1.mxf
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs_2.mxf
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs_3.mxf
            MXF_AS02_MPEG2_CBR_1920x1080_25Mbs_4.mxf
    How I could have this in all in one being able to play from media player ?
    this one works:
    Code:
    http://www.avobjects.com/products/splitters/mxf_demultiplexer.html
    however, it is deadly expensive, and it provides all audio channels to stereo output - no channel splitter

    Any suggestions ?

    Regards.
    Quote Quote  
  4. What does mediainfo (view=>text) say about the mxf ?

    Did you try another generic non directshow player like VLC ? It should be able to access separate streams
    Quote Quote  
  5. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    here is the info:

    Code:
    eneral
    Complete name                            : C:\ffmbc\output2.mxf
    Format                                   : MXF
    Commercial name                          : DV
    Format profile                           : OP-1b
    Format settings                          : Closed / Complete
    File size                                : 796 MiB
    Duration                                 : 3mn 36s
    Overall bit rate                         : 30.9 Mbps
    Encoded date                             : 2013-01-11 11:50:02.200
    Writing application                      : 
    Writing library                          : 
    
    Video
    ID                                       : 2-2
    Format                                   : DV
    Format settings, wrapping mode           : Clip
    Muxing mode                              : MXF
    Codec ID                                 : 0D01030102020202-0401020202010200
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 24.4 Mbps
    Encoded bit rate                         : 28.8 Mbps
    Width                                    : 720 pixels
    Height                                   : 576 pixels
    Display aspect ratio                     : 4:3
    Frame rate mode                          : Constant
    Frame rate                               : 25.000 fps
    Standard                                 : PAL
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Bottom Field First
    Compression mode                         : Lossy
    Bits/(Pixel*Frame)                       : 2.357
    Time code of first frame                 : 20:15:48:23
    Time code source                         : Subcode time code
    Stream size                              : 630 MiB (79%)
    Encoded stream size                      : 743 MiB (100%)
    Source                                   : media/output2_1.mxf
    
    Audio #1
    ID                                       : 2-2-0
    Format                                   : PCM
    Muxing mode                              : MXF / DV
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 768 Kbps
    Encoded bit rate                         : 0 bps
    Channel(s)                               : 2 channels
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 12 bits
    Stream size                              : 19.8 MiB (2%)
    Encoded stream size                      : 0.00 Byte (0%)
    Source                                   : media/output2_1.mxf
    
    Audio #2
    ID                                       : 2-2-1
    Format                                   : PCM
    Muxing mode                              : MXF / DV
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 768 Kbps
    Encoded bit rate                         : 0 bps
    Channel(s)                               : 2 channels
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 12 bits
    Stream size                              : 19.8 MiB (2%)
    Encoded stream size                      : 0.00 Byte (0%)
    Source                                   : media/output2_1.mxf
    
    Audio #3
    ID                                       : 3-1
    Format                                   : PCM
    Format settings, Endianness              : Little
    Format settings, wrapping mode           : Clip (BWF)
    Muxing mode                              : MXF
    Codec ID                                 : 0D01030102060200
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 512 Kbps
    Channel(s)                               : 1 channel
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 13.2 MiB (2%)
    Source                                   : media/output2_2.mxf
    
    Audio #4
    ID                                       : 4-1
    Format                                   : PCM
    Format settings, Endianness              : Little
    Format settings, wrapping mode           : Clip (BWF)
    Muxing mode                              : MXF
    Codec ID                                 : 0D01030102060200
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 512 Kbps
    Channel(s)                               : 1 channel
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 13.2 MiB (2%)
    Source                                   : media/output2_3.mxf
    
    Audio #5
    ID                                       : 5-1
    Format                                   : PCM
    Format settings, Endianness              : Little
    Format settings, wrapping mode           : Clip (BWF)
    Muxing mode                              : MXF
    Codec ID                                 : 0D01030102060200
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 512 Kbps
    Channel(s)                               : 1 channel
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 13.2 MiB (2%)
    Source                                   : media/output2_4.mxf
    
    Audio #6
    ID                                       : 6-1
    Format                                   : PCM
    Format settings, Endianness              : Little
    Format settings, wrapping mode           : Clip (BWF)
    Muxing mode                              : MXF
    Codec ID                                 : 0D01030102060200
    Duration                                 : 3mn 36s
    Bit rate mode                            : Constant
    Bit rate                                 : 512 Kbps
    Channel(s)                               : 1 channel
    Sampling rate                            : 32.0 KHz
    Bit depth                                : 16 bits
    Stream size                              : 13.2 MiB (2%)
    Source                                   : media/output2_5.mxf
    
    Other
    ID                                       : 1
    Type                                     : Time code
    Format                                   : MXF TC
    Time code of first frame                 : 00:00:00:00
    Time code settings                       : Striped
    vlc couldn't play this.

    [/CODE] VLC can't recognize the input's format:
    The format of 'file:///C:/ffmbc/output2.mxf' cannot be detected. Have a look at the log for details. [/CODE]

    main debug: adding item `output2.mxf' ( file:///C:/ffmbc/output2.mxf )
    qt4 debug: Adding a new MRL to recent ones: file:///C:/ffmbc/output2.mxf
    main debug: processing request item: output2.mxf, node: null, skip: 0
    main debug: rebuilding array of current - root Playlist
    main debug: rebuild done - 2 items, index 1
    main debug: starting playback of the new playlist item
    main debug: resyncing on output2.mxf
    main debug: output2.mxf is at 1
    main debug: creating new input thread
    main debug: Creating an input for 'output2.mxf'
    main debug: using timeshift granularity of 50 MiB, in path 'C:\Users\user\AppData\Local\Temp'
    main debug: `file:///C:/ffmbc/output2.mxf' gives access `file' demux `' path `/C:/ffmbc/output2.mxf'
    main debug: creating demux: access='file' demux='' location='/C:/ffmbc/output2.mxf' file='C:\ffmbc\output2.mxf'
    main debug: looking for access_demux module matching "file": 12 candidates
    main debug: no access_demux modules matched
    main debug: creating access 'file' location='/C:/ffmbc/output2.mxf', path='C:\ffmbc\output2.mxf'
    main debug: looking for access module matching "file": 20 candidates
    filesystem debug: opening file `C:\ffmbc\output2.mxf'
    main debug: using access module "filesystem"
    main debug: Creating an input for 'output2.mxf'
    main debug: Using stream method for AStream*
    main debug: starting pre-buffering
    main debug: received first data after 0 ms
    main debug: pre-buffering done 1024 bytes in 0s - 1000000 KiB/s
    main debug: looking for stream_filter module matching "any": 6 candidates
    main debug: no stream_filter modules matched
    main debug: looking for stream_filter module matching "record": 6 candidates
    main debug: using stream_filter module "record"
    main debug: creating demux: access='file' demux='' location='/C:/ffmbc/output2.mxf' file='C:\ffmbc\output2.mxf'
    main debug: looking for demux module matching "any": 63 candidates
    mod debug: MOD validation failed (ext=mxf)
    ts debug: TS module discarded (lost sync)
    avcodec debug: trying url: C:\ffmbc\output2.mxf
    avcodec debug: detected format: mxf
    avcodec error: Could not open C:\ffmbc\output2.mxf: Specified event object handle is invalid
    lua debug: Trying Lua scripts in C:\Users\Dragan\AppData\Roaming\vlc\lua\playlist
    lua debug: Trying Lua scripts in C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_streams.lua c
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\anevia_xml.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\appletrailers.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\bbc_co_uk.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\break.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\canalplus.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\cue.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\dailymotion.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\extreme.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\france2.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\googlevideo.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\jamendo.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\joox.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\katsomo.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\koreus.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\lelombrik.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\liveleak.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metacafe.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\metachannels.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\mpora.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pinkbike.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\pluzz.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\rockbox_fm_presets .luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\soundcloud.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\vimeo.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube.luac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\youtube_homepage.l uac
    lua debug: Trying Lua playlist script C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\zapiks.luac
    ps error: cannot peek
    vobsub debug: could not read vobsub IDX file
    main debug: no demux modules matched
    main error: no suitable demux module for `file/:///C:/ffmbc/output2.mxf'
    main debug: removing module "record"
    main debug: removing module "filesystem"
    main debug: finished input
    main debug: dead input
    main debug: changing item without a request (current 1/2)
    main debug: nothing to play
    main debug: no fetch required for (null) (art currently (null)
    on the top of this I try with professional players like Drastic Preview and it doesn't go fine except with the method I described here.

    Regards.
    Last edited by logicom; 1st Nov 2014 at 14:59.
    Quote Quote  
  6. Did you try another player like vlc, mplayer based like smplayer ?

    Since you were able to access each separate audio directly in MPCHC , this suggests there is a free / opensource MXF splitter that can access this particular MXF for audio (either that or you have another MXF splitter installed that it is using). You should be able to look around and construct a graph for audio


    So if you have selectable audio working in the graph, and video working in the graph, you can do it with the avisynth workaround

    A separate .grf has to be saved for the audio and video (1 video, 1 audio), and the last render pin has to be disconnected

    vid=DirectShowSource("video.grf", audio=false)
    aud=DirectShowSource("audio.grf, video=false)
    AudioDub(vid,aud)

    I don't know of any media player that can play .grf files directly
    Quote Quote  
  7. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    none of the players is working. I will have to look into work around first, and eventually for a solution.

    thx poisondeathray
    Quote Quote  
  8. Is this a client thing again, or can you upload a sample ?

    OP-1b isn't the common MXF variant, OP-1a is more common as a single package - so it's highly probable that most common tools will have problems
    Quote Quote  
  9. Member vhelp's Avatar
    Join Date
    Mar 2001
    Location
    New York
    Search Comp PM
    you can run a simple test to rule out it being an issue with the source material by setting up the scripts outlined above by PDA with a regular video clip, i.e., flv mpg ts avi mp4 and see if they go through. if they do then the problem is with your source video as PDA hinted.
    Quote Quote  
  10. Member logicom's Avatar
    Join Date
    Oct 2008
    Location
    Serbia
    Search Comp PM
    no issue with the source video what so ever. It is just a story with the broadcast formats, not home video, but in a meantime I think I am closer to the solution.
    The thing is that mxf have to be read/decoded , split and demux its constituents correctly and respectively to its version. Its constituents, might or might not require recursive demuxing, such as DV with multiplexed audio on the top of other separate mxf audio streams -> video being sent for decoding, while all audio streams/including previously multiplexed , decoded, to be sent to the channel selector and then rendered.

    Thanks.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!