Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
3rd March 2017, 13:05 | #1 | Link |
Registered User
Join Date: Nov 2016
Posts: 57
|
My audio goes out of sync. Help!
Hello,
I was compressing a video using Hybrid The source is: Format : Matroska Format version : Version 4 / Version 2 File size : 802 MiB Duration : 41 min 59 s Overall bit rate : 2 671 kb/s Encoded date : UTC 2016-05-07 05:08:48 Writing application : mkvmerge v9.1.0 ('Little Earthquakes') 64bit Writing library : libebml v1.3.3 + libmatroska v1.4.4 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings, CABAC : Yes Format settings, ReFrames : 5 frames Codec ID : V_MPEG4/ISO/AVC Duration : 41 min 59 s Bit rate : 2 285 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.103 Stream size : 686 MiB (86%) Writing library : x264 core 148 r2694 3b70645 Encoding settings : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=21.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00 Default : Yes Forced : No Color range : Limited Matrix coefficients : BT.709 Audio ID : 2 Format : AC-3 Format/Info : Audio Coding 3 Mode extension : CM (complete main) Format settings, Endianness : Big Codec ID : A_AC3 Duration : 41 min 59 s Bit rate mode : Constant Bit rate : 384 kb/s Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 kHz Frame rate : 31.250 FPS (1536 spf) Bit depth : 16 bits Compression mode : Lossy Stream size : 115 MiB (14%) Default : Yes Forced : No The output is: Format : Matroska Format version : Version 4 / Version 2 File size : 306 MiB Duration : 41 min 59 s Overall bit rate : 1 017 kb/s Encoded date : UTC 2017-03-03 02:20:41 Writing application : mkvmerge v9.6.0 ('Slave To Your Mind') 64bit Writing library : libebml v1.3.4 + libmatroska v1.4.5 Encoding Gui : Hybrid 2017.02.12.2 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : Main 10@L4.1@High Codec ID : V_MPEGH/ISO/HEVC Duration : 41 min 59 s Bit rate : 758 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 23.976 (24000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 10 bits Bits/(Pixel*Frame) : 0.034 Stream size : 228 MiB (75%) Writing library : x265 2.3+9-820f4327ddac44de:[Windows][GCC 6.3.0][64 bit] 10bit: KG7x [x265.ru] Encoding settings : cpuid=1173503 / frame-threads=2 / numa-pools=4 / wpp / no-pmode / no-pme / no-psnr / no-ssim / log-level=2 / input-csp=1 / input-res=1280x720 / interlace=0 / total-frames=0 / level-idc=41 / high-tier=1 / uhd-bd=0 / ref=3 / no-allow-non-conformance / no-repeat-headers / annexb / no-aud / no-hrd / info / hash=0 / no-temporal-layers / no-open-gop / min-keyint=23 / keyint=250 / bframes=4 / b-adapt=2 / b-pyramid / bframe-bias=0 / rc-lookahead=20 / lookahead-slices=0 / scenecut=40 / no-intra-refresh / ctu=64 / min-cu-size=8 / no-rect / no-amp / max-tu-size=32 / tu-inter-depth=1 / tu-intra-depth=1 / limit-tu=0 / rdoq-level=2 / dynamic-rd=2.00 / signhide / no-tskip / nr-intra=0 / nr-inter=0 / no-constrained-intra / strong-intra-smoothing / max-merge=2 / limit-refs=3 / limit-modes / me=1 / subme=2 / merange=57 / temporal-mvp / weightp / no-weightb / no-analyze-src-pics / deblock=0:0 / sao / no-sao-non-deblock / rd=3 / no-early-skip / rskip / no-fast-intra / no-tskip-fast / cu-lossless / no-b-intra / rdpenalty=0 / psy-rd=2.50 / psy-rdoq=15.00 / no-rd-refine / analysis-mode=0 / no-lossless / cbqpoffs=-2 / crqpoffs=-2 / rc=crf / crf=28.0 / qcomp=0.60 / qpstep=4 / stats-write=0 / stats-read=0 / vbv-maxrate=50000 / vbv-bufsize=50000 / vbv-init=0.9 / crf-max=0.0 / crf-min=0.0 / ipratio=1.40 / pbratio=1.30 / aq-mode=2 / aq-strength=1.00 / cutree / zone-count=0 / no-strict-cbr / qg-size=32 / no-rc-grain / qpmax=69 / qpmin=0 / sar=1 / overscan=0 / videoformat=5 / range=0 / colorprim=2 / transfer=2 / colormatrix=1 / chromaloc=0 / display-window=0 / max-cll=0,0 / min-luma=0 / max-luma=1023 / log2-max-poc-lsb=8 / vui-timing-info / vui-hrd-info / slices=1 / opt-qp-pps / opt-ref-list-length-pps / no-multi-pass-opt-rps / scenecut-bias=0.05 / no-opt-cu-delta-qp / aq-motion / no-hdr / no-hdr-opt Default : Yes Forced : Yes Color range : Limited Matrix coefficients : BT.709 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : A_AAC Duration : 41 min 58 s Bit rate : 257 kb/s Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 spf) Compression mode : Lossy Delay relative to video : 21 ms Stream size : 77.1 MiB (25%) Default : Yes Forced : No As you can see I made the audio from AC3 to AAC. Something which Ive already done to a few videos before this and it worked fine. But this time the audio starts off good and at the end is about 200ms out of sync. I compared the video streams using jump to frame and they are identical. Then I examined the two audio streams in audacity and they are also identical syc-wise, there was just an overall 42ms offset but thats obviously not the problem. Then I tried to recompress just the audio and mux it in and it still goes off at the end. Then I mux in the old AC3 stream and thats fine. So... What the hell?!? Im confused. Any help will be appreciated. Thank you! PS: There is an option in Hybrid - Audio/Misc/Compensate aac encoder delay. - That's on. It's always been on... Last edited by bob88; 3rd March 2017 at 13:08. |
3rd March 2017, 15:48 | #3 | Link |
Registered User
Join Date: Nov 2016
Posts: 57
|
Is this it:
====== INPUT FILE INFO =============== File is Bitrate (kbit/s) 56790880 Act rate (kbit/s) 0.000 File size (bytes) 135040197114022464 Channels mode Sampling Frec 56778480 Low Frec Effects Duration Frame length (ms) 0.000000 Frames/second 0.000000 Num of frames 243584191166498880 Bytes per Frame 0.0000 Size % Frame size 243861989651275184 CRC present: YES ====================================== ====== TARGET FILE INFO ============== Start Frame 0 End Frame 243584191166498880 Num of Frames 243584191166498881 Duration 00:00:00.000 NotFixedDelay 0.0000 ====================================== There is also an option in Hybrid - fix input with delay cut - something about crc errors. I have that off, should it be on? I clicked on the process button and the program seemed to stop working however it did generate a log: [Input info] Bitrate=56790880 Actual rate=2.1657e-292 Sampling Frec=56778480 TotalFrames=243584191166498880 Bytesperframe= 0.0000 Filesize=135040197114022464 FrameDuration= 0.0000 Framespersecond= 0.0000 Duration= Channels mode= LFE= [Target info] StartFrame=0 EndFrame=243584191166498880 NotFixedDelay= 0.0000 Duration=00:00:00.000 Last edited by bob88; 3rd March 2017 at 15:52. |
3rd March 2017, 22:43 | #4 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Seems a corrupt AC3, I never see that log data without sense.
I expected some corrupt frames here and there to explain the 200 ms of difference, but this ... I only can help you if you upload the AC3.
__________________
BeHappy, AviSynth audio transcoder. |
4th March 2017, 05:39 | #5 | Link |
Registered User
Join Date: Nov 2016
Posts: 57
|
This is it right here - https://thepiratebay.org/torrent/**********
Last edited by tebasuna51; 4th March 2017 at 11:08. Reason: delete link |
4th March 2017, 11:13 | #6 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Please read the forum rules:
... 6) No warez, cracks, serials or illegally obtained copyrighted content! Links to content of a questionable nature (e.g. anything you don't own and/or have downloaded), asking for, offering, or asking for help/helping to process such content in any way or form is not tolerated. ... I can't help you with that.
__________________
BeHappy, AviSynth audio transcoder. |
Thread Tools | Search this Thread |
Display Modes | |
|
|