#711 Audio Processing OneClickEncode with avs files

General
closed-fixed
nobody
None
5
2014-12-16
2013-03-22
No

Recently I've start using custom avs files, these contain video and audio output.
I normally use the autoencode to mux these, but since I made a lot of them, I tried to put them in the batch mode of the OneClickEncoder.

The OneClickEncoder gets the audio stream from the avs file.
Then it doesn't extract it from the stream (I believe this is correct).
But when trying to encode it, it still looks for the extracted file.

In my private build I have corrected/hacked this by pointing the input to the orginial avs file.
That fixes the issue, but this means that the audio encode is created in the folder of the orginial avs file.

OneClickWindow.cs at line 901:

if (_videoInputInfo.ContainerFileTypeString == "AVS" && _videoInputInfo.HasAudio)
    aInput = _videoInputInfo.FileName;
else
{
    if (dpp.IndexType != FileIndexerWindow.IndexType.NONE && !dpp.Eac3toDemux)
        aInput = "::" + oAudioTrackInfo.TrackID + "::";
    else
        aInput = Path.Combine(dpp.WorkingDirectory, oAudioTrackInfo.DemuxFileName);
}

I've included my log file

1 Attachments

Discussion

  • tactile henk

    tactile henk - 2013-03-22

    EDIT:
    my hack missed an statement:

        if (oAudioTrackInfo.SourceFileName == _videoInputInfo.FileName &&
            _videoInputInfo.ContainerFileTypeString == "AVS" && _videoInputInfo.HasAudio)
        {
    
     
  • Zathor

    Zathor - 2013-03-23

    Thanks for the report. It has been fixed in 2310

     
  • Zathor

    Zathor - 2013-03-23
    • status: open --> pending
     
  • Zathor

    Zathor - 2013-12-30
    • status: pending --> closed-fixed
     

Log in to post a comment.