Audio delay before handover to codec (1 Viewer)

sepp776

MP Donator
  • Premium Supporter
  • January 28, 2008
    147
    6
    Cologne
    Home Country
    Germany Germany
    Hey there,

    I was wondering whether it is possible to generate an audio delay inside Mediaportal before the audio stream is handed over to the audio codec. Currently I have to let my audio codec decode the signal, add a delay and then encode it to AC3 again, which causes video stuttering sometimes.
    Maybe there is an option to add a delay in the TS synchronization process already?

    Best regards,
    Sepp.
     

    Yami_Bas

    Portal Member
    October 3, 2010
    7
    0
    Home Country
    Netherlands Netherlands
    I had the same problem it is possible you can find an option in FFDShow Audio decoder that will enable you to delay the audio by a few ms (+ and -). You can also use AC3Filter to achieve the same :). I myself use SAF in combination with AC3Filter
     

    sepp776

    MP Donator
  • Premium Supporter
  • January 28, 2008
    147
    6
    Cologne
    Home Country
    Germany Germany
    you are right. I was actually using AC3Filter, but it caused some stuttering due to the de- and encoding that is required to be able to use the delay option.
    I was hoping that the de- and encoding would not be required when adding the delay in a very early step of the stream processing, i.e. the demux process.
     

    Yami_Bas

    Portal Member
    October 3, 2010
    7
    0
    Home Country
    Netherlands Netherlands
    Well I don't know if this is the best possible solution but you can offset the audio track with x milliseconds en dan mux them together again (MKVMerge is a nifty tool for that). Hoped it helped.
     

    sepp776

    MP Donator
  • Premium Supporter
  • January 28, 2008
    147
    6
    Cologne
    Home Country
    Germany Germany
    hm, this sounds very interesting. MKVMerge itself will not help as it is a command line tool dealing with complete files. I would need something that can be included in Mediaportal.
    But at least it seems to be possible to do such data processing. Maybe someone can look into this? :)
     

    Users who are viewing this thread

    Top Bottom