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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 20th December 2017, 23:30   #1  |  Link
darkelf5
Registered User
 
Join Date: Aug 2009
Posts: 17
Audio sync help

I've been wrestling with this the whole day.
I have a video that's perfectly synced when being played with MPC-HC
which i'm trying to trim and encode and it's always out of sync no matter
what i've tried. I've indexed it with ffms, lsmash, used fpsnum and fpsden, audiodelay without succes.

The only thing that trims and encodes it with audio synced is xvid4psp but i wanna add some filters that it doesn't support so i wanna do it on my own.

Can anyone try and help me with this? Here's the MediaInfo output:
Code:
Video
Count                                    : 338
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
Inform                                   : 15.0 Mb/s, 3840*2160 (16:9), at 23.844 FPS, AVC (Main@L5.1) (CABAC / 3 Ref Frames)
ID                                       : 1
ID                                       : 1
Unique ID                                : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : Main@L5.1
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, RefFrames               : 3
Format settings, RefFrames               : 3 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Codec                                    : V_MPEG4/ISO/AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://ffdshow-tryout.sourceforge.net/
Codec profile                            : Main@L5.1
Codec settings                           : CABAC / 3 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 3
Duration                                 : 4545534.000000
Duration                                 : 1 h 15 min
Duration                                 : 1 h 15 min 45 s 534 ms
Duration                                 : 1 h 15 min
Duration                                 : 01:15:45.534
Duration                                 : 01:15:15:23
Duration                                 : 01:15:45.534 (01:15:15:23)
Bit rate mode                            : CBR
Bit rate mode                            : Constant
Bit rate                                 : 14999552
Bit rate                                 : 15.0 Mb/s
Width                                    : 3840
Width                                    : 3 840 pixels
Height                                   : 2160
Height                                   : 2 160 pixels
Sampled_Width                            : 3840
Sampled_Height                           : 2160
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.778
Display aspect ratio                     : 16:9
Frame rate mode                          : VFR
Frame rate mode                          : Variable
Frame rate                               : 23.844
Frame rate                               : 23.844 FPS
Original frame rate                      : 23.976
Original frame rate                      : 23.976 (24000/1001) FPS
FrameRate_Original_Num                   : 24000
FrameRate_Original_Den                   : 1001
Frame count                              : 108383
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.076
Delay                                    : 291
Delay                                    : 291 ms
Delay                                    : 291 ms
Delay                                    : 291 ms
Delay                                    : 00:00:00.291
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 8479208897
Stream size                              : 7.90 GiB (99%)
Stream size                              : 8 GiB
Stream size                              : 7.9 GiB
Stream size                              : 7.90 GiB
Stream size                              : 7.897 GiB
Stream size                              : 7.90 GiB (99%)
Proportion of this stream                : 0.98694
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
Buffer size                              : 30000000

Audio
Count                                    : 275
Count of stream of this kind             : 1
Kind of stream                           : Audio
Kind of stream                           : Audio
Stream identifier                        : 0
StreamOrder                              : 1
Inform                                   : 192 kb/s, 44.1 kHz, 2 channels, AAC (LC)
ID                                       : 2
ID                                       : 2
Unique ID                                : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Commercial name                          : AAC
Format profile                           : LC
Codec ID                                 : A_AAC-2
Codec                                    : AAC LC
Codec                                    : AAC LC
Codec/Family                             : AAC
Duration                                 : 4545676.000000
Duration                                 : 1 h 15 min
Duration                                 : 1 h 15 min 45 s 676 ms
Duration                                 : 1 h 15 min
Duration                                 : 01:15:45.676
Duration                                 : 01:15:44:17
Duration                                 : 01:15:45.676 (01:15:44:17)
Bit rate                                 : 192000
Bit rate                                 : 192 kb/s
Channel(s)                               : 2
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Channel positions                        : 2/0/0
ChannelLayout                            : L R
Samples per frame                        : 1024
Sampling rate                            : 44100
Sampling rate                            : 44.1 kHz
Samples count                            : 200464304
Frame rate                               : 43.066
Frame rate                               : 43.066 FPS (1024 SPF)
Frame count                              : 195409
Compression mode                         : Lossy
Compression mode                         : Lossy
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Delay relative to video                  : -291
Delay relative to video                  : -291 ms
Delay relative to video                  : -291 ms
Delay relative to video                  : -291 ms
Delay relative to video                  : -00:00:00.291
Video0 delay                             : -291
Video0 delay                             : -291 ms
Video0 delay                             : -291 ms
Video0 delay                             : -291 ms
Video0 delay                             : -00:00:00.291
Stream size                              : 110799774
Stream size                              : 106 MiB (1%)
Stream size                              : 106 MiB
Stream size                              : 106 MiB
Stream size                              : 106 MiB
Stream size                              : 105.7 MiB
Stream size                              : 106 MiB (1%)
Proportion of this stream                : 0.01290
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No
darkelf5 is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.