Queue not encoding properly

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Queue not encoding properly

Post by Navvie »

I don't have a log yet, as I'm still testing... but I'm seeing queued encodes getting messed up.

Filenames are correct, but the wrong source is being encoded for many of the queue items, often one source file encoded for three or four queue items.

I'll post logs when I investigate further, just wondered if anyone is seeing this?
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

Looking through the logs, seeing example like this alot. These are rips from my own DVDs..

Code: Select all

[09:02:41] job configuration:
[09:02:41]  * source
[09:02:41]    + <snipped>\CSI\CSI Crime Scene Investgation - S11 E08 - Fracked.x264.mkv
[09:02:41]    + title 16, chapter(s) 1 to 5
[09:02:41]    + container: matroska,webm
[09:02:41]  * destination
[09:02:41]    + <snipped>\CSI\CSI Crime Scene Investgation - S11 E16 - Turn On, Tune In, Drop Dead.x264.mkv
[09:02:41]    + container: Matroska (libavformat)
[09:02:41]      + chapter markers
The source should be an mpeg2 file, not x264. That's the output of a previous encode!? Something seems broken with the queueing code.

Code: Select all

[07:46:09] job configuration:
[07:46:09]  * source
[07:46:09]    + <snipped>\CSI\CSI Crime Scene Investgation - S11 E05 - House of Hoarders.mpeg2.mkv
[07:46:09]    + title 9, chapter(s) 1 to 5
[07:46:09]    + container: matroska,webm
[07:46:09]  * destination
[07:46:09]    + <snipped>\CSI\CSI Crime Scene Investgation - S11 E09 - Wild Life.x264.mkv
[07:46:09]    + container: Matroska (libavformat)
[07:46:09]      + chapter markers
Surely the destination should be the same filename as the source?

Edit: adding version info.

Code: Select all

HandBrake svn6879 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16322 MB, 
GPU Information:
  NVIDIA GeForce GTX 770 - 9.18.13.4709
Screen: 1920x1200
Temp Dir: C:\Users\xxxxx\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\xxxxx\AppData\Roaming\HandBrake\HandBrake\0.0.0.6879

-------------------------------------------
Last edited by Navvie on Mon Feb 09, 2015 6:51 pm, edited 1 time in total.
Woodstock
Veteran User
Posts: 4619
Joined: Tue Aug 27, 2013 6:39 am

Re: Queue not encoding properly

Post by Woodstock »

Until the full logs get posted, it's hard to say.

If the queue hasn't been overwritten or deleted, exporting the queue file and uploading that will help, too.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

Queues gone, I'll sort out a small queue encode later - like this whole series again and see what happens. Full logs later.
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Queue not encoding properly

Post by s55 »

Surely the destination should be the same filename as the source?
No, Your destination should always be a different filename or in a different folder. You can't read from a file, if writing to it. It'd delete the file content before you had a chance to read it. Not good.

One other user reported this, but I've not been able to reproduce it. Can you please also provide step by step instructions on what you did.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

I'm trying it again now. I exported the queue before encoding and it looks fine, all source are Ex.mpeg2.mkv and destinations are Ex.x264.mkv.

Sorry, I did not write clearly. I really do understand we can't read and write the same file. Aside from the extension(s), which I have changed, the source and destination should have the same filename.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

I updated to the latest nightly. Still no different.

I have a directory full of mpeg2 MKV files, ripped with MakeMKV, as follows.

Code: Select all

C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E03 - Blood Moon.mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E04 - Sqweegel.mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E05 - House of Hoarders.mpeg2.mkv
.....
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E20 - Father of the Bride (1).mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E21 - Cello and Goodbye (2).mpeg2.mkv
C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E22 - In a Dark, Dark House (3).mpeg2.mkv
I drag the containing directory (C:\Users\xxxx\Documents\MakeMKV\CSI) onto the main handbrake window, where it scans all the titles.

I add each file to the queue individually, as I want to change the filename to end ".x264.mkv" - this just makes things easier for me to see instantly what encoder is used for some files... I have some interlaced files that will not transcode properly no matter what I try.

I exported the queue and everything looks fine...

Code: Select all

<?xml version="1.0"?>
<ArrayOfQueueTask xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <QueueTask>
    <ScannedSourcePath>C:\Users\xxxx\Documents\MakeMKV\CSI</ScannedSourcePath>
    <Status>Waiting</Status>
    <Task>
      <OptimizeMP4>false</OptimizeMP4>
      <IPod5GSupport>false</IPod5GSupport>
      <VideoBitrate xsi:nil="true" />
      <AudioTracks>
        <AudioTrack>
          <Bitrate>160</Bitrate>
          <DRC>0</DRC>
          <IsDefault>false</IsDefault>
          <Encoder>Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>DolbyProLogicII</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <Description>English (AC3) (5.1 ch)</Description>
            <Format />
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
      </AudioTracks>
      <AllowedPassthruOptions>
        <AudioAllowAACPass>true</AudioAllowAACPass>
        <AudioAllowAC3Pass>true</AudioAllowAC3Pass>
        <AudioAllowDTSHDPass>true</AudioAllowDTSHDPass>
        <AudioAllowDTSPass>true</AudioAllowDTSPass>
        <AudioAllowMP3Pass>true</AudioAllowMP3Pass>
        <AudioEncoderFallback>ffflac24</AudioEncoderFallback>
      </AllowedPassthruOptions>
      <SubtitleTracks>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <SourceId>0</SourceId>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
      </SubtitleTracks>
      <ChapterNames>
        <ChapterMarker>
          <ChapterNumber>1</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 1</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>2</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 2</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>3</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 3</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>4</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 4</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>5</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 5</ChapterName>
        </ChapterMarker>
      </ChapterNames>
      <Source>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv</Source>
      <Title>1</Title>
      <Angle>1</Angle>
      <PointToPointMode>Chapters</PointToPointMode>
      <StartPoint>1</StartPoint>
      <EndPoint>5</EndPoint>
      <Destination>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv</Destination>
      <OutputFormat>Mkv</OutputFormat>
      <Width>716</Width>
      <Height>0</Height>
      <MaxWidth xsi:nil="true" />
      <MaxHeight xsi:nil="true" />
      <Cropping>
        <Top>2</Top>
        <Bottom>2</Bottom>
        <Left>2</Left>
        <Right>2</Right>
      </Cropping>
      <HasCropping>false</HasCropping>
      <Anamorphic>Loose</Anamorphic>
      <DisplayWidth xsi:nil="true" />
      <KeepDisplayAspect>false</KeepDisplayAspect>
      <PixelAspectX>0</PixelAspectX>
      <PixelAspectY>0</PixelAspectY>
      <Modulus>2</Modulus>
      <Deinterlace>Off</Deinterlace>
      <CustomDeinterlace />
      <Decomb>Off</Decomb>
      <CustomDecomb />
      <Detelecine>Off</Detelecine>
      <CustomDetelecine />
      <Denoise>Off</Denoise>
      <DenoisePreset>Weak</DenoisePreset>
      <DenoiseTune>None</DenoiseTune>
      <Deblock>4</Deblock>
      <Grayscale>false</Grayscale>
      <VideoEncodeRateType>ConstantQuality</VideoEncodeRateType>
      <VideoEncoder>X264</VideoEncoder>
      <FramerateMode>VFR</FramerateMode>
      <Quality>20</Quality>
      <TwoPass>false</TwoPass>
      <TurboFirstPass>false</TurboFirstPass>
      <Framerate xsi:nil="true" />
      <IncludeChapterMarkers>true</IncludeChapterMarkers>
      <AdvancedEncoderOptions>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2</AdvancedEncoderOptions>
      <VideoProfile>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoProfile>
      <VideoLevel>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoLevel>
      <VideoPreset>
        <DisplayName>Superfast</DisplayName>
        <ShortName>superfast</ShortName>
      </VideoPreset>
      <VideoTunes />
      <ExtraAdvancedArguments />
      <IsPreviewEncode>false</IsPreviewEncode>
      <PreviewEncodeDuration xsi:nil="true" />
      <PreviewEncodeStartAt xsi:nil="true" />
      <ShowAdvancedTab>true</ShowAdvancedTab>
    </Task>
    <Configuration>
      <IsDvdNavDisabled>false</IsDvdNavDisabled>
      <DisableQuickSyncDecoding>false</DisableQuickSyncDecoding>
      <EnableDxva>false</EnableDxva>
      <ScalingMode>Lanczos</ScalingMode>
      <PreviewScanCount>60</PreviewScanCount>
      <Verbosity>1</Verbosity>
      <MinScanDuration>10</MinScanDuration>
      <ProcessPriority>Below Normal</ProcessPriority>
      <SaveLogToCopyDirectory>false</SaveLogToCopyDirectory>
      <SaveLogWithVideo>false</SaveLogWithVideo>
      <SaveLogCopyDirectory />
    </Configuration>
  </QueueTask>
  <QueueTask>
    <ScannedSourcePath>C:\Users\xxxx\Documents\MakeMKV\CSI</ScannedSourcePath>
    <Status>Waiting</Status>
    <Task>
      <OptimizeMP4>false</OptimizeMP4>
      <IPod5GSupport>false</IPod5GSupport>
      <VideoBitrate xsi:nil="true" />
      <AudioTracks>
        <AudioTrack>
          <Bitrate>160</Bitrate>
          <DRC>0</DRC>
          <IsDefault>false</IsDefault>
          <Encoder>Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>DolbyProLogicII</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <Description>English (AC3) (5.1 ch)</Description>
            <Format />
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
      </AudioTracks>
      <AllowedPassthruOptions>
        <AudioAllowAACPass>true</AudioAllowAACPass>
        <AudioAllowAC3Pass>true</AudioAllowAC3Pass>
        <AudioAllowDTSHDPass>true</AudioAllowDTSHDPass>
        <AudioAllowDTSPass>true</AudioAllowDTSPass>
        <AudioAllowMP3Pass>true</AudioAllowMP3Pass>
        <AudioEncoderFallback>ffflac24</AudioEncoderFallback>
      </AllowedPassthruOptions>
      <SubtitleTracks>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <SourceId>0</SourceId>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
      </SubtitleTracks>
      <ChapterNames>
        <ChapterMarker>
          <ChapterNumber>1</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 1</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>2</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 2</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>3</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 3</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>4</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 4</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>5</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 5</ChapterName>
        </ChapterMarker>
      </ChapterNames>
      <Source>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv</Source>
      <Title>2</Title>
      <Angle>1</Angle>
      <PointToPointMode>Chapters</PointToPointMode>
      <StartPoint>1</StartPoint>
      <EndPoint>5</EndPoint>
      <Destination>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.x264.mkv</Destination>
      <OutputFormat>Mkv</OutputFormat>
      <Width>708</Width>
      <Height>0</Height>
      <MaxWidth xsi:nil="true" />
      <MaxHeight xsi:nil="true" />
      <Cropping>
        <Top>2</Top>
        <Bottom>2</Bottom>
        <Left>10</Left>
        <Right>8</Right>
      </Cropping>
      <HasCropping>false</HasCropping>
      <Anamorphic>Loose</Anamorphic>
      <DisplayWidth xsi:nil="true" />
      <KeepDisplayAspect>false</KeepDisplayAspect>
      <PixelAspectX>0</PixelAspectX>
      <PixelAspectY>0</PixelAspectY>
      <Modulus>2</Modulus>
      <Deinterlace>Off</Deinterlace>
      <CustomDeinterlace />
      <Decomb>Off</Decomb>
      <CustomDecomb />
      <Detelecine>Off</Detelecine>
      <CustomDetelecine />
      <Denoise>Off</Denoise>
      <DenoisePreset>Weak</DenoisePreset>
      <DenoiseTune>None</DenoiseTune>
      <Deblock>4</Deblock>
      <Grayscale>false</Grayscale>
      <VideoEncodeRateType>ConstantQuality</VideoEncodeRateType>
      <VideoEncoder>X264</VideoEncoder>
      <FramerateMode>VFR</FramerateMode>
      <Quality>20</Quality>
      <TwoPass>false</TwoPass>
      <TurboFirstPass>false</TurboFirstPass>
      <Framerate xsi:nil="true" />
      <IncludeChapterMarkers>true</IncludeChapterMarkers>
      <AdvancedEncoderOptions>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2</AdvancedEncoderOptions>
      <VideoProfile>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoProfile>
      <VideoLevel>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoLevel>
      <VideoPreset>
        <DisplayName>Superfast</DisplayName>
        <ShortName>superfast</ShortName>
      </VideoPreset>
      <VideoTunes />
      <ExtraAdvancedArguments />
      <IsPreviewEncode>false</IsPreviewEncode>
      <PreviewEncodeDuration xsi:nil="true" />
      <PreviewEncodeStartAt xsi:nil="true" />
      <ShowAdvancedTab>true</ShowAdvancedTab>
    </Task>
    <Configuration>
      <IsDvdNavDisabled>false</IsDvdNavDisabled>
      <DisableQuickSyncDecoding>false</DisableQuickSyncDecoding>
      <EnableDxva>false</EnableDxva>
      <ScalingMode>Lanczos</ScalingMode>
      <PreviewScanCount>60</PreviewScanCount>
      <Verbosity>1</Verbosity>
      <MinScanDuration>10</MinScanDuration>
      <ProcessPriority>Below Normal</ProcessPriority>
      <SaveLogToCopyDirectory>false</SaveLogToCopyDirectory>
      <SaveLogWithVideo>false</SaveLogWithVideo>
      <SaveLogCopyDirectory />
    </Configuration>
  </QueueTask>
  <QueueTask>
    <ScannedSourcePath>C:\Users\xxxx\Documents\MakeMKV\CSI</ScannedSourcePath>
    <Status>Waiting</Status>
    <Task>
      <OptimizeMP4>false</OptimizeMP4>
      <IPod5GSupport>false</IPod5GSupport>
      <VideoBitrate xsi:nil="true" />
      <AudioTracks>
        <AudioTrack>
          <Bitrate>160</Bitrate>
          <DRC>0</DRC>
          <IsDefault>false</IsDefault>
          <Encoder>Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>DolbyProLogicII</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <Description>English (AC3) (5.1 ch)</Description>
            <Format />
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
      </AudioTracks>
      <AllowedPassthruOptions>
        <AudioAllowAACPass>true</AudioAllowAACPass>
        <AudioAllowAC3Pass>true</AudioAllowAC3Pass>
        <AudioAllowDTSHDPass>true</AudioAllowDTSHDPass>
        <AudioAllowDTSPass>true</AudioAllowDTSPass>
        <AudioAllowMP3Pass>true</AudioAllowMP3Pass>
        <AudioEncoderFallback>ffflac24</AudioEncoderFallback>
      </AllowedPassthruOptions>
      <SubtitleTracks>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <SourceId>0</SourceId>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
      </SubtitleTracks>
      <ChapterNames>
        <ChapterMarker>
          <ChapterNumber>1</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 1</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>2</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 2</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>3</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 3</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>4</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 4</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>5</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 5</ChapterName>
        </ChapterMarker>
      </ChapterNames>
      <Source>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E03 - Blood Moon.mpeg2.mkv</Source>
      <Title>3</Title>
      <Angle>1</Angle>
      <PointToPointMode>Chapters</PointToPointMode>
      <StartPoint>1</StartPoint>
      <EndPoint>5</EndPoint>
      <Destination>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E03 - Blood Moon.x264.mkv</Destination>
      <OutputFormat>Mkv</OutputFormat>
      <Width>716</Width>
      <Height>0</Height>
      <MaxWidth xsi:nil="true" />
      <MaxHeight xsi:nil="true" />
      <Cropping>
        <Top>2</Top>
        <Bottom>2</Bottom>
        <Left>2</Left>
        <Right>2</Right>
      </Cropping>
      <HasCropping>false</HasCropping>
      <Anamorphic>Loose</Anamorphic>
      <DisplayWidth xsi:nil="true" />
      <KeepDisplayAspect>false</KeepDisplayAspect>
      <PixelAspectX>0</PixelAspectX>
      <PixelAspectY>0</PixelAspectY>
      <Modulus>2</Modulus>
      <Deinterlace>Off</Deinterlace>
      <CustomDeinterlace />
      <Decomb>Off</Decomb>
      <CustomDecomb />
      <Detelecine>Off</Detelecine>
      <CustomDetelecine />
      <Denoise>Off</Denoise>
      <DenoisePreset>Weak</DenoisePreset>
      <DenoiseTune>None</DenoiseTune>
      <Deblock>4</Deblock>
      <Grayscale>false</Grayscale>
      <VideoEncodeRateType>ConstantQuality</VideoEncodeRateType>
      <VideoEncoder>X264</VideoEncoder>
      <FramerateMode>VFR</FramerateMode>
      <Quality>20</Quality>
      <TwoPass>false</TwoPass>
      <TurboFirstPass>false</TurboFirstPass>
      <Framerate xsi:nil="true" />
      <IncludeChapterMarkers>true</IncludeChapterMarkers>
      <AdvancedEncoderOptions>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2</AdvancedEncoderOptions>
      <VideoProfile>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoProfile>
      <VideoLevel>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoLevel>
      <VideoPreset>
        <DisplayName>Superfast</DisplayName>
        <ShortName>superfast</ShortName>
      </VideoPreset>
      <VideoTunes />
      <ExtraAdvancedArguments />
      <IsPreviewEncode>false</IsPreviewEncode>
      <PreviewEncodeDuration xsi:nil="true" />
      <PreviewEncodeStartAt xsi:nil="true" />
      <ShowAdvancedTab>true</ShowAdvancedTab>
    </Task>
    <Configuration>
      <IsDvdNavDisabled>false</IsDvdNavDisabled>
      <DisableQuickSyncDecoding>false</DisableQuickSyncDecoding>
      <EnableDxva>false</EnableDxva>
      <ScalingMode>Lanczos</ScalingMode>
      <PreviewScanCount>60</PreviewScanCount>
      <Verbosity>1</Verbosity>
      <MinScanDuration>10</MinScanDuration>
      <ProcessPriority>Below Normal</ProcessPriority>
      <SaveLogToCopyDirectory>false</SaveLogToCopyDirectory>
      <SaveLogWithVideo>false</SaveLogWithVideo>
      <SaveLogCopyDirectory />
    </Configuration>
  </QueueTask>
  <QueueTask>
    <ScannedSourcePath>C:\Users\xxxx\Documents\MakeMKV\CSI</ScannedSourcePath>
    <Status>Waiting</Status>
    <Task>
      <OptimizeMP4>false</OptimizeMP4>
      <IPod5GSupport>false</IPod5GSupport>
      <VideoBitrate xsi:nil="true" />
      <AudioTracks>
        <AudioTrack>
          <Bitrate>160</Bitrate>
          <DRC>0</DRC>
          <IsDefault>false</IsDefault>
          <Encoder>Passthrough</Encoder>
          <Gain>0</Gain>
          <MixDown>DolbyProLogicII</MixDown>
          <SampleRate>0</SampleRate>
          <SampleRateDisplayValue>Auto</SampleRateDisplayValue>
          <ScannedTrack>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <Description>English (AC3) (5.1 ch)</Description>
            <Format />
            <SampleRate>48000</SampleRate>
            <Bitrate>448000</Bitrate>
          </ScannedTrack>
          <TrackName />
        </AudioTrack>
      </AudioTracks>
      <AllowedPassthruOptions>
        <AudioAllowAACPass>true</AudioAllowAACPass>
        <AudioAllowAC3Pass>true</AudioAllowAC3Pass>
        <AudioAllowDTSHDPass>true</AudioAllowDTSHDPass>
        <AudioAllowDTSPass>true</AudioAllowDTSPass>
        <AudioAllowMP3Pass>true</AudioAllowMP3Pass>
        <AudioEncoderFallback>ffflac24</AudioEncoderFallback>
      </AllowedPassthruOptions>
      <SubtitleTracks>
        <SubtitleTrack>
          <Burned>false</Burned>
          <Default>false</Default>
          <Forced>false</Forced>
          <SourceTrack>
            <SourceId>0</SourceId>
            <TrackNumber>1</TrackNumber>
            <Language>English</Language>
            <LanguageCode>eng</LanguageCode>
            <SubtitleType>VobSub</SubtitleType>
          </SourceTrack>
          <SrtOffset>0</SrtOffset>
          <SubtitleType>VobSub</SubtitleType>
        </SubtitleTrack>
      </SubtitleTracks>
      <ChapterNames>
        <ChapterMarker>
          <ChapterNumber>1</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 1</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>2</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 2</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>3</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 3</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>4</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 4</ChapterName>
        </ChapterMarker>
        <ChapterMarker>
          <ChapterNumber>5</ChapterNumber>
          <Duration />
          <ChapterName>Chapter 5</ChapterName>
        </ChapterMarker>
      </ChapterNames>
      <Source>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E04 - Sqweegel.mpeg2.mkv</Source>
      <Title>4</Title>
      <Angle>1</Angle>
      <PointToPointMode>Chapters</PointToPointMode>
      <StartPoint>1</StartPoint>
      <EndPoint>5</EndPoint>
      <Destination>C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E04 - Sqweegel.x264.mkv</Destination>
      <OutputFormat>Mkv</OutputFormat>
      <Width>716</Width>
      <Height>0</Height>
      <MaxWidth xsi:nil="true" />
      <MaxHeight xsi:nil="true" />
      <Cropping>
        <Top>2</Top>
        <Bottom>2</Bottom>
        <Left>2</Left>
        <Right>2</Right>
      </Cropping>
      <HasCropping>false</HasCropping>
      <Anamorphic>Loose</Anamorphic>
      <DisplayWidth xsi:nil="true" />
      <KeepDisplayAspect>false</KeepDisplayAspect>
      <PixelAspectX>0</PixelAspectX>
      <PixelAspectY>0</PixelAspectY>
      <Modulus>2</Modulus>
      <Deinterlace>Off</Deinterlace>
      <CustomDeinterlace />
      <Decomb>Off</Decomb>
      <CustomDecomb />
      <Detelecine>Off</Detelecine>
      <CustomDetelecine />
      <Denoise>Off</Denoise>
      <DenoisePreset>Weak</DenoisePreset>
      <DenoiseTune>None</DenoiseTune>
      <Deblock>4</Deblock>
      <Grayscale>false</Grayscale>
      <VideoEncodeRateType>ConstantQuality</VideoEncodeRateType>
      <VideoEncoder>X264</VideoEncoder>
      <FramerateMode>VFR</FramerateMode>
      <Quality>20</Quality>
      <TwoPass>false</TwoPass>
      <TurboFirstPass>false</TurboFirstPass>
      <Framerate xsi:nil="true" />
      <IncludeChapterMarkers>true</IncludeChapterMarkers>
      <AdvancedEncoderOptions>level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2</AdvancedEncoderOptions>
      <VideoProfile>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoProfile>
      <VideoLevel>
        <DisplayName>Auto</DisplayName>
        <ShortName>auto</ShortName>
      </VideoLevel>
      <VideoPreset>
        <DisplayName>Superfast</DisplayName>
        <ShortName>superfast</ShortName>
      </VideoPreset>
      <VideoTunes />
      <ExtraAdvancedArguments />
      <IsPreviewEncode>false</IsPreviewEncode>
      <PreviewEncodeDuration xsi:nil="true" />
      <PreviewEncodeStartAt xsi:nil="true" />
      <ShowAdvancedTab>true</ShowAdvancedTab>
    </Task>
    <Configuration>
      <IsDvdNavDisabled>false</IsDvdNavDisabled>
      <DisableQuickSyncDecoding>false</DisableQuickSyncDecoding>
      <EnableDxva>false</EnableDxva>
      <ScalingMode>Lanczos</ScalingMode>
      <PreviewScanCount>60</PreviewScanCount>
      <Verbosity>1</Verbosity>
      <MinScanDuration>10</MinScanDuration>
      <ProcessPriority>Below Normal</ProcessPriority>
      <SaveLogToCopyDirectory>false</SaveLogToCopyDirectory>
      <SaveLogWithVideo>false</SaveLogWithVideo>
      <SaveLogCopyDirectory />
    </Configuration>
  </QueueTask>
  
..... you get the idea .....
  
</ArrayOfQueueTask>
Looking at that I've just spotted a typo in all the filenames.. nevermind. Not important.




First file E01 encoded fine.

Log:

Code: Select all

HandBrake svn6886 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16322 MB, 
GPU Information:
  NVIDIA GeForce GTX 770 - 9.18.13.4709
Screen: 1920x1200
Temp Dir: C:\Users\xxxx\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\xxxx\AppData\Roaming\HandBrake\HandBrake\0.0.0.6886

-------------------------------------------


# Scanning title for encoding ... 
[19:03:48] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[19:03:48]  - Intel microarchitecture Haswell
[19:03:48]  - logical processor count: 8
[19:03:48] OpenCL device #1: NVIDIA Corporation GeForce GTX 770
[19:03:48]  - OpenCL version: 1.1 CUDA
[19:03:48]  - driver version: 347.09
[19:03:48]  - device type:    GPU
[19:03:48]  - supported:      no
[19:03:48] Intel Quick Sync Video support: no
[19:03:48] hb_scan: path=C:\Users\xxxx\Documents\MakeMKV\CSI, title_index=1
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\xxxx\Documents\MakeMKV\CSI) failed
[19:03:48] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open C:\Users\xxxx\Documents\MakeMKV\CSI for reading
libdvdread: Device C:\Users\xxxx\Documents\MakeMKV\CSI inaccessible, CSS authentication not available.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:03:48] dvd: not a dvd - trying as a stream/file instead
[19:03:48] batch: scanning C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv
Input #0, matroska,webm, from 'C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv':
  Duration: 00:41:30.00, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 422.000000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 422.000000, end 932.320000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 932.320000, end 1425.400000
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1425.400000, end 1917.120000
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1917.120000, end 2490.000000
    Metadata:
      title           : Chapter 05
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[19:03:48] scan: decoding previews for title 1 (C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv)
[19:03:48] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[19:03:48] scan: 60 previews, 720x576, 25.000 fps, autocrop = 2/2/2/2, aspect 16:9, PAR 64:45
[19:03:48] libhb: scan thread found 1 valid title(s)
# Scan Completed. Setting up the job for encoding ...
# Starting Encode ...
[19:03:49] 1 job(s) to process
[19:03:49] starting job
[19:03:49] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[19:03:49] Auto Passthru: no valid fallback specified
[19:03:49] Auto Passthru: using AC3 Passthru for track 1
[19:03:49] sync: expecting 62250 video frames
[19:03:49] job configuration:
[19:03:49]  * source
[19:03:49]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.mpeg2.mkv
[19:03:49]    + title 1, chapter(s) 1 to 5
[19:03:49]    + container: matroska,webm
[19:03:49]  * destination
[19:03:49]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv
[19:03:49]    + container: Matroska (libavformat)
[19:03:49]      + chapter markers
[19:03:49]  * video track
[19:03:49]    + decoder: mpeg2video
[19:03:49]      + bitrate 9800 kbps
[19:03:49]    + filters
[19:03:49]      + Framerate Shaper (0:27000000:1080000)
[19:03:49]        + frame rate: same as source (around 25.000 fps)
[19:03:49]      + Crop and Scale (716:572:2:2:2:2)
[19:03:49]        + source: 720 * 576, crop (2/2/2/2): 716 * 572, scale: 716 * 572
[19:03:49]    + Output geometry
[19:03:49]      + storage dimensions: 716 x 572
[19:03:49]      + pixel aspect ratio: 64 : 45
[19:03:49]      + display dimensions: 1018 x 572
[19:03:49]    + encoder: H.264 (libx264)
[19:03:49]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2
[19:03:49]      + quality: 20.00 (RF)
[19:03:49]  * subtitle track 1, English (track 0, id 0x2) Picture [VOBSUB] -> Passthrough
[19:03:49]  * audio track 1
[19:03:49]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[19:03:49]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:03:49]    + AC3 Passthru
[19:03:49] reader: first SCR -3600 id 0x0 DTS -3600
[19:03:49] encx264: encoding at constant RF 20.000000
[19:03:49] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.00,0.25:deblock=-2,-2
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile High, level 4.0
[19:05:56] mpeg2video: "Chapter 2" (2) at frame 10558 time 37983600
[19:08:18] mpeg2video: "Chapter 3" (3) at frame 23316 time 83912400
[19:10:23] mpeg2video: "Chapter 4" (4) at frame 35643 time 128289600
[19:12:28] mpeg2video: "Chapter 5" (5) at frame 47936 time 172544400
[19:14:53] reader: done. 1 scr changes
[19:14:53] work: average encoding speed for job is 93.669983 fps
[19:14:54] sync: got 62250 frames, 62250 expected
[19:14:54] render: lost time: 0 (0 frames)
[19:14:54] render: gained time: 0 (0 frames) (0 not accounted for)
[19:14:54] mpeg2video-decoder done: 62250 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:868   Avg QP:17.21  size: 46239
x264 [info]: frame P:15671 Avg QP:20.61  size: 12399
x264 [info]: frame B:45711 Avg QP:23.08  size:  3290
x264 [info]: consecutive B-frames:  2.7%  2.7% 14.4% 33.4% 46.8%
x264 [info]: mb I  I16..4: 12.6% 74.1% 13.4%
x264 [info]: mb P  I16..4:  2.6% 10.8%  1.5%  P16..4: 55.5%  8.3%  6.8%  0.4%  0.1%    skip:14.1%
x264 [info]: mb B  I16..4:  0.2%  0.7%  0.1%  B16..8: 42.0%  4.4%  1.0%  direct: 3.8%  skip:47.8%  L0:40.6% L1:49.0% BI:10.4%
x264 [info]: 8x8 transform intra:72.7% inter:72.0%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 76.5% 82.2% 56.8% inter: 14.6% 22.3% 3.3%
x264 [info]: i16 v,h,dc,p: 42% 10%  6% 42%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 18%  8%  6%  8% 12% 15% 10% 13% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23%  7%  3%  8% 13% 16% 10% 11%  9%
x264 [info]: i8c dc,h,v,p: 34% 21% 25% 20%
x264 [info]: Weighted P-Frames: Y:3.5% UV:2.2%
x264 [info]: ref P L0: 51.6% 11.3% 27.3%  8.0%  1.8%  0.0%
x264 [info]: ref B L0: 86.9% 11.0%  2.1%
x264 [info]: ref B L1: 93.2%  6.8%
x264 [info]: kb/s:1236.35
[19:14:54] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:14:54] mux: track 0, 62250 frames, 384781124 bytes, 1236.22 kbps, fifo 2048
[19:14:54] mux: track 1, 77812 frames, 139439104 bytes, 447.99 kbps, fifo 4096
[19:14:54] mux: track 2, 518 frames, 1588916 bytes, 5.10 kbps, fifo 32
[19:14:54] libhb: work result = 0
# Encode Completed ...


Second file E02 didn't encode correctly, its the same episode as E01 but a different filesize, different options used of a different source? Like its using the output of the first queue item as the source.. which is what the log says is happening.

Log:

Code: Select all

HandBrake svn6886 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16322 MB, 
GPU Information:
  NVIDIA GeForce GTX 770 - 9.18.13.4709
Screen: 1920x1200
Temp Dir: C:\Users\xxxx\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\xxxx\AppData\Roaming\HandBrake\HandBrake\0.0.0.6886

-------------------------------------------


# Scanning title for encoding ... 
[19:14:54] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[19:14:54]  - Intel microarchitecture Haswell
[19:14:54]  - logical processor count: 8
[19:14:54] OpenCL device #1: NVIDIA Corporation GeForce GTX 770
[19:14:54]  - OpenCL version: 1.1 CUDA
[19:14:54]  - driver version: 347.09
[19:14:54]  - device type:    GPU
[19:14:54]  - supported:      no
[19:14:54] Intel Quick Sync Video support: no
[19:14:54] hb_scan: path=C:\Users\xxxx\Documents\MakeMKV\CSI, title_index=2
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\xxxx\Documents\MakeMKV\CSI) failed
[19:14:54] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open C:\Users\xxxx\Documents\MakeMKV\CSI for reading
libdvdread: Device C:\Users\xxxx\Documents\MakeMKV\CSI inaccessible, CSS authentication not available.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:14:54] dvd: not a dvd - trying as a stream/file instead
[19:14:54] batch: scanning C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv
Input #0, matroska,webm, from 'C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv':
  Metadata:
    ENCODER         : Lavf56.1.0
  Duration: 00:41:30.16, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 422.040000
    Metadata:
      title           : Chapter 1
    Chapter #0.1: start 422.160000, end 932.360000
    Metadata:
      title           : Chapter 2
    Chapter #0.2: start 932.480000, end 1425.440000
    Metadata:
      title           : Chapter 3
    Chapter #0.3: start 1425.560000, end 1917.160000
    Metadata:
      title           : Chapter 4
    Chapter #0.4: start 1917.280000, end 2490.000000
    Metadata:
      title           : Chapter 5
    Stream #0.0: Video: h264 (High), yuv420p, 716x572 [PAR 64:45 DAR 11456:6435], PAR 209:147 DAR 3401:1911, 25 fps, 1k tbn, 180k tbc (default)
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround
      LANGUAGE        : eng
    Stream #0.2(eng): Subtitle: dvdsub
[19:14:54] scan: decoding previews for title 2 (C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv)
[19:14:54] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[19:14:55] scan: 60 previews, 716x572, 25.000 fps, autocrop = 0/0/0/0, aspect 16:9, PAR 64:45
[19:14:55] libhb: scan thread found 1 valid title(s)
# Scan Completed. Setting up the job for encoding ...
# Starting Encode ...
[19:14:55] 1 job(s) to process
[19:14:55] starting job
[19:14:55] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[19:14:55] Auto Passthru: no valid fallback specified
[19:14:55] Auto Passthru: using AC3 Passthru for track 1
[19:14:55] sync: expecting 62250 video frames
[19:14:55] job configuration:
[19:14:55]  * source
[19:14:55]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E01 - Shock Waves.x264.mkv
[19:14:55]    + title 2, chapter(s) 1 to 5
[19:14:55]    + container: matroska,webm
[19:14:55]  * destination
[19:14:55]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.x264.mkv
[19:14:55]    + container: Matroska (libavformat)
[19:14:55]      + chapter markers
[19:14:55]  * video track
[19:14:55]    + decoder: h264
[19:14:55]    + filters
[19:14:55]      + Framerate Shaper (0:27000000:1080000)
[19:14:55]        + frame rate: same as source (around 25.000 fps)
[19:14:55]      + Crop and Scale (708:576:2:2:10:8)
[19:14:55]        + source: 716 * 572, crop (2/2/10/8): 698 * 568, scale: 708 * 576
[19:14:55]    + Output geometry
[19:14:55]      + storage dimensions: 708 x 576
[19:14:55]      + pixel aspect ratio: 13107 : 9218
[19:14:55]      + display dimensions: 1006 x 576
[19:14:55]    + encoder: H.264 (libx264)
[19:14:55]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2
[19:14:55]      + quality: 20.00 (RF)
[19:14:55]  * subtitle track 1, English (track 0, id 0x2) Picture [VOBSUB] -> Passthrough
[19:14:55]  * audio track 1
[19:14:55]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[19:14:55]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:14:55]    + AC3 Passthru
[19:14:55] reader: first SCR 10800 id 0x0 DTS 10800
[19:14:55] encx264: encoding at constant RF 20.000000
[19:14:55] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.00,0.25:deblock=-2,-2
x264 [info]: using SAR=13107/9218
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile High, level 4.0
[19:16:55] h264: "Chapter 2" (2) at frame 10555 time 37972800
[19:19:06] h264: "Chapter 3" (3) at frame 23313 time 83901600
[19:21:02] h264: "Chapter 4" (4) at frame 35642 time 128286000
[19:22:57] h264: "Chapter 5" (5) at frame 47935 time 172540800
[19:25:14] reader: done. 1 scr changes
[19:25:15] work: average encoding speed for job is 100.429916 fps
[19:25:15] sync: got 62250 frames, 62250 expected
[19:25:15] render: lost time: 0 (0 frames)
[19:25:15] render: gained time: 0 (0 frames) (0 not accounted for)
[19:25:15] h264-decoder done: 62250 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:868   Avg QP:16.57  size: 47508
x264 [info]: frame P:15970 Avg QP:19.96  size: 11673
x264 [info]: frame B:45412 Avg QP:22.60  size:  2968
x264 [info]: consecutive B-frames:  2.9%  4.0% 12.4% 37.0% 43.7%
x264 [info]: mb I  I16..4:  8.3% 76.6% 15.1%
x264 [info]: mb P  I16..4:  2.6% 13.4%  1.6%  P16..4: 52.0%  9.1%  6.6%  0.4%  0.1%    skip:14.2%
x264 [info]: mb B  I16..4:  0.2%  1.1%  0.1%  B16..8: 39.8%  4.9%  1.0%  direct: 3.4%  skip:49.4%  L0:41.2% L1:48.5% BI:10.3%
x264 [info]: 8x8 transform intra:75.9% inter:67.4%
x264 [info]: direct mvs  spatial:99.8% temporal:0.2%
x264 [info]: coded y,uvDC,uvAC intra: 72.3% 79.4% 49.5% inter: 12.8% 19.5% 1.7%
x264 [info]: i16 v,h,dc,p: 35% 12%  7% 46%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 10%  9%  7% 10% 14%  9% 12% 10%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 14%  4%  7% 12% 15%  9% 10%  8%
x264 [info]: i8c dc,h,v,p: 38% 20% 25% 16%
x264 [info]: Weighted P-Frames: Y:3.3% UV:2.2%
x264 [info]: ref P L0: 56.6% 11.0% 24.3%  7.1%  1.0%  0.0%
x264 [info]: ref B L0: 89.5%  8.6%  1.9%
x264 [info]: ref B L1: 94.3%  5.7%
x264 [info]: kb/s:1164.50
[19:25:15] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:25:15] mux: track 0, 62250 frames, 362419194 bytes, 1164.38 kbps, fifo 2048
[19:25:15] mux: track 1, 77812 frames, 139439104 bytes, 447.99 kbps, fifo 4096
[19:25:15] mux: track 2, 518 frames, 1588916 bytes, 5.10 kbps, fifo 32
[19:25:15] libhb: work result = 0
# Encode Completed ...
Hopefully that provides some insight into what is going on.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

Queue item 3, then uses the source for Queue item 2, and outputs to the filename for Item 3.

Code: Select all

HandBrake svn6886 (Nightly Build) - 64bit Version
OS: Microsoft Windows NT 6.1.7601 Service Pack 1 - 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
Ram: 16322 MB, 
GPU Information:
  NVIDIA GeForce GTX 770 - 9.18.13.4709
Screen: 1920x1200
Temp Dir: C:\Users\xxxx\AppData\Local\Temp\
Install Dir: C:\Program Files\Handbrake
Data Dir: C:\Users\xxxx\AppData\Roaming\HandBrake\HandBrake\0.0.0.6886

-------------------------------------------


# Scanning title for encoding ... 
[19:25:15] CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
[19:25:15]  - Intel microarchitecture Haswell
[19:25:15]  - logical processor count: 8
[19:25:15] OpenCL device #1: NVIDIA Corporation GeForce GTX 770
[19:25:15]  - OpenCL version: 1.1 CUDA
[19:25:15]  - driver version: 347.09
[19:25:15]  - device type:    GPU
[19:25:15]  - supported:      no
[19:25:15] Intel Quick Sync Video support: no
[19:25:15] hb_scan: path=C:\Users\xxxx\Documents\MakeMKV\CSI, title_index=3
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/index.bdmv
libbluray/bdnav/index_parse.c:162: indx_parse(): error opening C:\Users\xxxx\Documents\MakeMKV\CSI/BDMV/BACKUP/index.bdmv
libbluray/bluray.c:2182: nav_get_title_list(C:\Users\xxxx\Documents\MakeMKV\CSI) failed
[19:25:15] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Encrypted DVD support unavailable.
libdvdread: Can't open C:\Users\xxxx\Documents\MakeMKV\CSI for reading
libdvdread: Device C:\Users\xxxx\Documents\MakeMKV\CSI inaccessible, CSS authentication not available.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
[19:25:15] dvd: not a dvd - trying as a stream/file instead
[19:25:15] batch: scanning C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv
Input #0, matroska,webm, from 'C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv':
  Duration: 00:40:49.40, start: 0.000000, bitrate: N/A
    Chapter #0.0: start 0.000000, end 268.840000
    Metadata:
      title           : Chapter 01
    Chapter #0.1: start 268.840000, end 859.120000
    Metadata:
      title           : Chapter 02
    Chapter #0.2: start 859.120000, end 1444.080000
    Metadata:
      title           : Chapter 03
    Chapter #0.3: start 1444.080000, end 1854.160000
    Metadata:
      title           : Chapter 04
    Chapter #0.4: start 1854.160000, end 2449.400000
    Metadata:
      title           : Chapter 05
    Stream #0.0(eng): Video: mpeg2video (Main), yuv420p, 720x576 [PAR 64:45 DAR 16:9], 9800 kb/s, 25 fps, 1k tbn, 50 tbc
    Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, fltp, 448 kb/s (default)
    Metadata:
      title           : Surround 5.1
    Stream #0.2(eng): Subtitle: dvdsub (default)
[19:25:15] scan: decoding previews for title 3 (C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv)
[19:25:15] scan: audio 0x1: ac3, rate=48000Hz, bitrate=448000 English (AC3) (5.1 ch)
[19:25:16] scan: 60 previews, 720x576, 25.000 fps, autocrop = 2/2/10/8, aspect 16:9, PAR 64:45
[19:25:16] libhb: scan thread found 1 valid title(s)
# Scan Completed. Setting up the job for encoding ...
# Starting Encode ...
[19:25:16] 1 job(s) to process
[19:25:16] starting job
[19:25:16] Auto Passthru: allowed codecs are AAC, AC3, DTS, DTS-HD, MP3
[19:25:16] Auto Passthru: no valid fallback specified
[19:25:16] Auto Passthru: using AC3 Passthru for track 1
[19:25:16] sync: expecting 61235 video frames
[19:25:16] job configuration:
[19:25:16]  * source
[19:25:16]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E02 - Pool Shark.mpeg2.mkv
[19:25:16]    + title 3, chapter(s) 1 to 5
[19:25:16]    + container: matroska,webm
[19:25:16]  * destination
[19:25:16]    + C:\Users\xxxx\Documents\MakeMKV\CSI\CSI Crime Scene Investgation - S11 E03 - Blood Moon.x264.mkv
[19:25:16]    + container: Matroska (libavformat)
[19:25:16]      + chapter markers
[19:25:16]  * video track
[19:25:16]    + decoder: mpeg2video
[19:25:16]      + bitrate 9800 kbps
[19:25:16]    + filters
[19:25:16]      + Framerate Shaper (0:27000000:1080000)
[19:25:16]        + frame rate: same as source (around 25.000 fps)
[19:25:16]      + Crop and Scale (716:572:2:2:2:2)
[19:25:16]        + source: 720 * 576, crop (2/2/2/2): 716 * 572, scale: 716 * 572
[19:25:16]    + Output geometry
[19:25:16]      + storage dimensions: 716 x 572
[19:25:16]      + pixel aspect ratio: 64 : 45
[19:25:16]      + display dimensions: 1018 x 572
[19:25:16]    + encoder: H.264 (libx264)
[19:25:16]      + options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.0,0.25:deblock=-2,-2
[19:25:16]      + quality: 20.00 (RF)
[19:25:16]  * subtitle track 1, English (track 0, id 0x2) Picture [VOBSUB] -> Passthrough
[19:25:16]  * audio track 1
[19:25:16]    + decoder: English (AC3) (5.1 ch) (track 1, id 0x1)
[19:25:16]      + bitrate: 448 kbps, samplerate: 48000 Hz
[19:25:16]    + AC3 Passthru
[19:25:16] reader: first SCR -3600 id 0x0 DTS -3600
[19:25:16] encx264: encoding at constant RF 20.000000
[19:25:16] encx264: unparsed options: level=4.0:mixed-refs=0:vbv-bufsize=25000:vbv-maxrate=20000:rc-lookahead=10:ref=4:bframes=4:b-

adapt=2:direct=auto:me=umh:subme=9:analyse=all:trellis=2:psy-rd=1.00,0.25:deblock=-2,-2
x264 [info]: using SAR=64/45
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
x264 [info]: profile High, level 4.0
[19:27:01] mpeg2video: "Chapter 2" (2) at frame 6729 time 24199200
[19:29:36] mpeg2video: "Chapter 3" (3) at frame 21486 time 77324400
[19:32:19] mpeg2video: "Chapter 4" (4) at frame 36110 time 129970800
[19:34:05] mpeg2video: "Chapter 5" (5) at frame 46362 time 166878000
[19:36:30] reader: done. 1 scr changes
[19:36:31] work: average encoding speed for job is 90.774719 fps
[19:36:31] sync: got 61235 frames, 61235 expected
[19:36:31] render: lost time: 0 (0 frames)
[19:36:31] render: gained time: 0 (0 frames) (0 not accounted for)
[19:36:31] mpeg2video-decoder done: 61235 frames, 0 decoder errors, 0 drops
x264 [info]: frame I:633   Avg QP:17.20  size: 43754
x264 [info]: frame P:15107 Avg QP:20.59  size: 12455
x264 [info]: frame B:45495 Avg QP:23.16  size:  3764
x264 [info]: consecutive B-frames:  1.9%  2.1% 12.6% 36.8% 46.5%
x264 [info]: mb I  I16..4: 13.8% 73.2% 13.0%
x264 [info]: mb P  I16..4:  2.0% 11.0%  1.4%  P16..4: 56.3%  8.0%  6.6%  0.3%  0.1%    skip:14.3%
x264 [info]: mb B  I16..4:  0.2%  1.4%  0.2%  B16..8: 41.7%  4.7%  1.1%  direct: 3.3%  skip:47.5%  L0:41.0% L1:48.7% BI:10.4%
x264 [info]: 8x8 transform intra:76.6% inter:72.5%
x264 [info]: direct mvs  spatial:99.9% temporal:0.1%
x264 [info]: coded y,uvDC,uvAC intra: 79.8% 88.8% 69.1% inter: 13.7% 23.3% 4.6%
x264 [info]: i16 v,h,dc,p: 42% 12%  6% 40%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 10%  5%  7% 12% 14% 11% 12% 11%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19%  8%  4%  8% 13% 15% 12% 11% 10%
x264 [info]: i8c dc,h,v,p: 32% 23% 24% 21%
x264 [info]: Weighted P-Frames: Y:1.9% UV:1.1%
x264 [info]: ref P L0: 50.4%  9.6% 28.4%  9.7%  1.9%  0.0%
x264 [info]: ref B L0: 85.6% 11.7%  2.7%
x264 [info]: ref B L1: 92.7%  7.3%
x264 [info]: kb/s:1264.25
[19:36:31] ac3-decoder done: 0 frames, 0 decoder errors, 0 drops
[19:36:31] mux: track 0, 61235 frames, 387058197 bytes, 1264.15 kbps, fifo 2048
[19:36:31] mux: track 1, 76543 frames, 137165056 bytes, 447.99 kbps, fifo 4096
[19:36:31] mux: track 2, 613 frames, 1898848 bytes, 6.20 kbps, fifo 32
[19:36:31] libhb: work result = 0
# Encode Completed ...
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Queue not encoding properly

Post by s55 »

Ah, don't output to the same folder as the input. The batch scan feature doesn't support that currently. When you add a file to the output folder, it knocks all the title indexes out for the next job.

So, create a directory called "Output" or whatever you want and you should be ok.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

Is that something that changed recently?
User avatar
s55
HandBrake Team
Posts: 10357
Joined: Sun Dec 24, 2006 1:05 pm

Re: Queue not encoding properly

Post by s55 »

Yes and No.

Batch Scan has always had this issue, but the WinGui only started using the batch scan feature recently when it switched to using libhb instead of HandBrakeCLI.exe

Previously it was emulating the batch scan behavior and doing a better job than the official feature :/

It's on the list of things to improve at some point.
Navvie
Novice
Posts: 67
Joined: Sun Mar 27, 2011 10:19 pm

Re: Queue not encoding properly

Post by Navvie »

That makes sense, I didn't have the problem all the DVDs I converted previously using the same method.

Thanks for the quick solution.
Post Reply