Selur's Little Message Board
a/v desynchronization - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: a/v desynchronization (/thread-175.html)

Pages: 1 2 3


RE: a/v desynchronization - Peter82kr - 09.12.2017

this is sample of video i used avidemux to cut sample.

https://drive.google.com/drive/folders/1bxbLPeyvKqiFnlENT7RHSFY3fkD6FwK1?usp=sharing


RE: a/v desynchronization - Selur - 09.12.2017

Before I look at it: Can you reproduce the problem with the sample?
-> can reproduce the problem with the sample, going to bed now, but will look at it tomorrow

Quick look with mediaInfo shows:
Format : xvid Commercial name : xvid Codec ID : xvid Codec : xvid Codec : xvid Codec/CC : xvid
-> Whoever created that file either did know what he was doing or doesn't care about standards at all.

Cu Selur


RE: a/v desynchronization - Peter82kr - 09.12.2017

Sample after conversion in hybrid is desynced but less than original file i think.But you can reproduce problem because is out of sync.


RE: a/v desynchronization - Selur - 09.12.2017

Send you a link to a version that should fix the remuxing problem and to avoid the reencoding problem enable 'Config->Internals->Avisynth->Always use Avisynth', this way Hybrid doesn't use mencoder as decoder and feeds mencoder with an Avisynth script.
-> At least for the sample that fixed the problem for me.

Cu Selur


RE: a/v desynchronization - Peter82kr - 09.12.2017

This log is only intended for user information.
It should not be part of a bug/problem report!!
Detected NVIDIA PureVideo compatible cards:   GeForce GTX 1060
No sox binary found -> disabling audio support,...
removing support for ogg encoding
removing support for dts encoding
removing support for opus encoding
tsMuxer can't be used -> disabling 'generate structure'
Finished initialization, finished after 32.741s
tsMuxer can't be used -> disabling 'generate structure'

its added because its happend before i can enable debug output.

on start i have info that AVSMeter.exe doesnt exists.
I dont have audio tab in that test version.

EDIT:
I tried always use avisynth with no success with latest stable version.Still desync.


RE: a/v desynchronization - Selur - 09.12.2017

You did extract the dev version into your Hybrid folder right?

Cu Selur


RE: a/v desynchronization - Peter82kr - 09.12.2017

I extracted on desktop and run now i know how to do it properly.

EDIT: I cant access 10 bit encoding in test version even if i set h265.

EDIT2: A/V is still desynced when im using "always use avisynth" option in test version. Sad


RE: a/v desynchronization - Selur - 09.12.2017

Quote:I cant access 10 bit encoding in test version even if i set h265.
The dev version comes with an updates NVEncC version so you might have to update your drivers.

Quote:A/V is still desynced when im using "always use avisynth" option in test version
Strange, will look at it again.

Cu Selur


RE: a/v desynchronization - Peter82kr - 09.12.2017

I have latest nvidia drivers for my gtx 1060.


RE: a/v desynchronization - Selur - 09.12.2017

What I did:
  • start Hybrid
  • set 'Base->Processing->Audio' to 'passthrough (all)'
  • made sure 'Filtering->Support' was set to Avisynth
  • enabled 'Config->Internals->Avisynth->Always use Avisynth'
  • set an output file
  • added a new job
  • started the job processing
-> output was sync
next I switched to NVEncC as encoder, selected h265 as codec, added another job (with a different output file) and started that job.
-> output was sync

-----
Regarding the 10bit hevc thing, what happens if you call:
NVEncC.exe --check-features
I get:
Error (clGetDeviceIDs): -1 Environment Info OS : Windows 10 (x64) CPU: AMD Ryzen 7 1800X Eight-Core Processor (8C/16T) RAM: Used 7654 MB, Total 32696 MB GPU: Unknown (Failed to find Intel GPU) List of available features. Codec: H.264/AVC Max Bframes 4 RC Modes 63 Field Encoding 1 MonoChrome 0 FMO 0 Quater-Pel MV 1 B Direct Mode 1 CABAC 1 Adaptive Transform 1 Max Temporal Layers 0 Hierarchial P Frames 0 Hierarchial B Frames 0 Max Level 51 Min Level 1 4:4:4 1 Max Width 4096 Max Height 4096 Dynamic Resolution Change 1 Dynamic Bitrate Change 1 Forced constant QP 1 Dynamic RC Mode Change 0 Subframe Readback 1 Constrained Encoding 1 Intra Refresh 1 Custom VBV Bufsize 1 Dynamic Slice Mode 1 Ref Pic Invalidiation 1 PreProcess 0 Async Encoding 1 Max MBs 65536 MAX MB per sec 983040 Lossless 1 SAO 0 Me Only Mode 1 Lookahead 1 AQ (temporal) 1 10bit depth 0 Codec: H.265/HEVC Max Bframes 0 RC Modes 63 Field Encoding 0 MonoChrome 0 Quater-Pel MV 1 B Direct Mode 0 Max Temporal Layers 0 Hierarchial P Frames 0 Hierarchial B Frames 0 Max Level 62 Min Level 1 4:4:4 0 Max Width 4096 Max Height 4096 Dynamic Resolution Change 1 Dynamic Bitrate Change 1 Forced constant QP 1 Dynamic RC Mode Change 0 Subframe Readback 1 Constrained Encoding 0 Intra Refresh 1 Custom VBV Bufsize 1 Dynamic Slice Mode 1 Ref Pic Invalidiation 1 PreProcess 0 Async Encoding 1 Max MBs 65536 MAX MB per sec 983040 Lossless 0 SAO 0 Me Only Mode 0 Lookahead 1 AQ (temporal) 0 10bit depth 0
Which indicates that I can't encode 10bit HEVC on my card with the current gpu and driver combination. (using a Geforce GTX 980 Ti here)
-> What does it indicate on your system?

Cu Selur

Ps.: Your card should come with a VP8 VPU which should support 10bit encoding. Hybrid uses the output of 'NVEncC --check-features' to determine whether the card support 10bit HEVC or not.
-> Triggering 'Config->Tools->Clear all cached tool infos', this will tell Hybrid to gather these options again.

PPs.: Uploaded the output files to https://ufile.io/gnoxe (files will be automatically deleted in 24hrs)