This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

a/v desynchronization
#1
I try convert this:
General
Complete name               : F:\zzzdownload\Blue.Bloods.S07.PL.480p.WEB-DL.XviD.AC3\Blue.Bloods.S07E02.PL.480p.WEB-DL.XviD.AC3.avi
Format                      : AVI
Format/Info                 : Audio Video Interleave
File size                   : 473 MiB
Duration                    : 40 min 31 s
Overall bit rate            : 1 631 kb/s
Writing application         : Lavf55.43.100

Video
ID                          : 0
Format                      : xvid
Codec ID                    : xvid
Duration                    : 40 min 31 s
Bit rate                    : 1 428 kb/s
Width                       : 720 pixels
Height                      : 400 pixels
Display aspect ratio        : 16:9
Frame rate                  : 25.000 FPS
Scan type                   : Progressive
Bits/(Pixel*Frame)          : 0.198
Stream size                 : 414 MiB (88%)

Audio
ID                          : 1
Format                      : AC-3
Format/Info                 : Audio Coding 3
Codec ID                    : 2000
Duration                    : 40 min 30 s
Bit rate mode               : Constant
Bit rate                    : 192 kb/s
Channel(s)                  : 2 channels
Channel positions           : Front: L R
Sampling rate               : 48.0 kHz
Frame rate                  : 31.250 FPS (1536 SPF)
Bit depth                   : 16 bits
Compression mode            : Lossy
Stream size                 : 55.6 MiB (12%)
Alignment                   : Aligned on interleaves
Interleave, duration        : 32  ms (0.80 video frame)
Interleave, preload duratio : 64  ms
Title                       : Blue.Bloods.S07E02.Good.Cop.Bad.Cop
Service kind                : Complete Main
Into h265 10 bit with aac he v2 32kbit an i get desynchro at output. What can i do with this.I Tried passtrough audio with no success.

Edit
i added debug output.
Reply
#2
Okay, the frame count of the source was expected as ~60785 but the encoded frames were just 58294.
My guess is that the avi is vfr.
-> try wether
a. encoding "Config->Input->Decoding->CFR output"
or
b. enabling "Config->Automation->Always extract timecodes from input"
helps.

Cu Selur

Ps.: If you overclocked your graphic card, clock it down during encoding, since the VPU really can do strange things when overclocked.)
Reply
#3
your settings dont helps,output still desynced. I try reconvert using another converter with input=output settings and then i try convert this output using hybrid.longer but maybe i complete tasks.
Reply
#4
If you just remux the input with Hybrid (Audio&Video passthrough) is the output still sync?
If you remux the input with mkvmerge to mkv and then convert it with Hybri dis the output sync?

Cu Selur
Reply
#5
crashed at remuxing with passtrough a/v.I attach debug output.

EDIT:
I used mkvtoolnix gui to remux that video and a/v is synced.

EDIT2:
Now i converted that mkv file to mp4 and output is desynced.
Reply
#6
Okay, something is strange. Hybrid should use .m4v as output extension when extraction an Xvid video stream, but for some reason it selects .raw which it doesn't here.
Feeding that raw file then later confuses MP4Box in assuming the input is MPEG-2 and then crashing upon parsing the input.

Okay, looking at the debug output I think I see where the problem is.
That files video stream is totally strange flagged. The video format is set to 'xvid', but should be "MPEG-4 ...". (Codec ID should be XVID)
May be mkvtoolnix can handle such files properly. Hybrid doesn't support such non-standard format information.

Cu Selur
Reply
#7
I updated previous post.

when im reconverted using format factory output avi is synced and then convverting to h265 using hybrid produces synced a/v.

maybe check how format factory works  Smile it helps me many times with bugged videos but its primitive and slow and i like hybrid.
Reply
#8
Won't spend hours starting to read their code if format factory is open source.
I can look into it it you can share a small sample which allows to reproduce the issue, otherwise I don't really care about wrongly flagged files.

Cu Selur
Reply
#9
How to cut part of the video?What tool i need to use?
Reply
#10
Sorry, no clue which software will handle that file properly. Smile

Cu Selur
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)