Audio out of sync with VideoReDo 675

bpratt

Member
I recently returned from vacation where we recorded a lot of video using a Cannon HF200 HD video camcorder. I have used this camcorder many times in the past and VideoReDo has always kept the audio in sync. The camera records many .MTS files, 116 for this trip. I click open and select them all, then select "Join" and then "Create video from joiner list" which creates a .ts file. When I play the file, the audio starts out in sync but gets worse the further into the recording, until at the end its several seconds out of sync.

I kept copies of previous versions so I will probably go back and try an earlier version. Any suggestions which one I should go to? Do you know of this problem in version 675 and is there a fix coming?

Additional information: I just tried the same thing on another computer I have which has VideoReDo version 662. One thing I noticed when I did the "Create video from joiner list" was 662 added Audio Resync Frames but 675 did not. The .ts file created by 662 has its audio in sync.
 
Last edited:

phd

Super Moderator
I would suggest performing a batch QSF on the individual files then join the fixed files. That may resolve your issue.
 

bpratt

Member
OK, I ran a batch QSF on the individual files then joined them. It had no effect. The audio is still delayed by a few seconds toward the end of the joined file and there were no Audio Resync Frames added like version 662 did. The output created after running QSF was exactly the same length as before running QSF. The output created by version 662 is about 90Kb larger than version 675 and the audio is in sync.
 

Danr

Administrator
Staff member
@bpratt, Set the diagnostics to medium on the Tools>Options>General page, and then re-do the join. Email the log file (Help>Display Log), to me at support. Please put subject, attn: DanR topic 34335.


Thanks.
 

bpratt

Member
Dan
I sent the log to support. I only included 59 of the 118 files because there is a very noticeable audio sync problem by that point. The audio starts out in sync but by the end of the video, the audio is played 2 to 3 seconds before the video is played.
 

bpratt

Member
I ran the same thing on version 662. Here is where I saw a difference in the logs:


********************************************************************************************************************************************************************************
Part of Log file from version 662:
********************************************************************************************************************************************************************************

2014-03-08 15:21:28 H264 smart editor: Starting H.264 smart editing thread.
2014-03-08 15:21:28 H264 decoder: Starting video, H264 decoder thread.
2014-03-08 15:21:28 H264 encoder: Starting video, H264 encoder thread.
2014-03-08 15:21:28 StreamProcess: Stream: 0, Starting audio coding thread.
2014-03-08 15:21:28 StreamProcess: Staring output muxer thread.
2014-03-08 15:21:28 Source video information:
File: Name : C:\Temp1\00000.MTS
Size : 0.074 GB
Duration : 00:00:36.14
Mux type : TS Stream
TS mux rate : 18.383 Mbps
Video: Encoding : H.264
VideoStreamID : x1011
Frame rate : 29.97 fps
Encoding size : 1920 x 1080
Aspect ratio : 16:9
Header bit rate : 16.000 Mbps
VBV buffer : 976 KBytes
Profile : High/4.0
Progressive : Interlaced
Chroma : 4:2:0
Entropy mode : CABAC
Bit rate : 15.458 Mbps
Captioning : None found
Audio Stream: 1 (Primary) Codec : AC3
Format : AC3 stream
Channels : 2.0
PID : x1100
PES Stream Id : xBD
Bit rate : 256 Kbps
Sampling rate : 48000
Sample size : 16 bits

2014-03-08 15:21:28 H.264, Starting new Frame Accurate Output Segment: start:0.000 (00:00:00.00), end:36503.144 (00:00:36.14), Mux delta: 0.00
2014-03-08 15:21:28 Preparing to send status to: 0 Audio volume changed
2014-03-08 15:21:28 Sending status: 'Audio volume changed' to module: 'H264 smart editor - 0', Type: Video frame
2014-03-08 15:21:28 Preparing to send status to: 0 Audio volume changed
2014-03-08 15:21:28 Sending status: 'Audio volume changed' to module: 'Audio recoder - 0', Type: Audio frame
2014-03-08 15:21:28 Adding new graph range, Start: 0 (00:00:00.00), End: 36503.14 (00:00:36.14)
2014-03-08 15:21:28 H264 smart editor, Setting graph range to, start 0.00 (00:00:00.00), end: 36503.14 (00:00:36.14)
2014-03-08 15:21:28 >> Audio Buffer: Inserting silent frames to match video, count:426, StreamNumber: 0, Codec: AC3, PID: x7fffffff, next audioPTS:13928.00
- 0, A-PTS: 296.00 (00:00:00.08), [ 96.01 (00:00:00.02)], PTS Diff: -199.99 1024
- 1, A-PTS: 328.00 (00:00:00.09), [ 128.01 (00:00:00.03)], PTS Diff: -199.99 1024
- 2, A-PTS: 360.00 (00:00:00.10), [ 160.01 (00:00:00.04)], PTS Diff: -199.99 1024
- 3, A-PTS: 392.00 (00:00:00.11), [ 192.01 (00:00:00.05)], PTS Diff: -199.99 1024
- 4, A-PTS: 424.00 (00:00:00.12), [ 224.01 (00:00:00.06)], PTS Diff: -199.99 1024
.... 417 similiar frames not shown ...
-422, A-PTS: 13800.00 (00:00:13.23), [ 13600.01 (00:00:13.17)], PTS Diff: -199.99 1024
-423, A-PTS: 13832.00 (00:00:13.24), [ 13632.01 (00:00:13.18)], PTS Diff: -199.99 1024
-424, A-PTS: 13864.00 (00:00:13.25), [ 13664.01 (00:00:13.19)], PTS Diff: -199.99 1024
-425, A-PTS: 13896.00 (00:00:13.26), [ 13696.01 (00:00:13.20)], PTS Diff: -199.99 1024
**End of Audio Buffer(s)

2014-03-08 15:21:28 >> Audio Buffer: Finished inserting silent frames, count:428, StreamNumber: 0, Codec: AC3, PID: x7fffffff, next audioPTS:13928.00
- 0, A-PTS: 232.00 (00:00:00.06), [ 32.01 (00:00:00.00)], PTS Diff: -199.99 1024
- 1, A-PTS: 264.00 (00:00:00.07), [ 64.01 (00:00:00.01)], PTS Diff: -199.99 1024
- 2, A-PTS: 296.00 (00:00:00.08), [ 96.01 (00:00:00.02)], PTS Diff: -199.99 1024
- 3, A-PTS: 328.00 (00:00:00.09), [ 128.01 (00:00:00.03)], PTS Diff: -199.99 1024
- 4, A-PTS: 360.00 (00:00:00.10), [ 160.01 (00:00:00.04)], PTS Diff: -199.99 1024
.... 419 similiar frames not shown ...
-424, A-PTS: 13800.00 (00:00:13.23), [ 13600.01 (00:00:13.17)], PTS Diff: -199.99 1024
-425, A-PTS: 13832.00 (00:00:13.24), [ 13632.01 (00:00:13.18)], PTS Diff: -199.99 1024
-426, A-PTS: 13864.00 (00:00:13.25), [ 13664.01 (00:00:13.19)], PTS Diff: -199.99 1024
-427, A-PTS: 13896.00 (00:00:13.26), [ 13696.01 (00:00:13.20)], PTS Diff: -199.99 1024
**End of Audio Buffer(s)

2014-03-08 15:21:28 H.264, 2 silent audio frames inserted.
2014-03-08 15:21:29 H264 smart editor, Segment complete, revised end time is: 36503.14 (00:00:36.14)

********************************************************************************************************************************************************************************
Part of Log file from Version 675:
********************************************************************************************************************************************************************************

2014-03-08 13:31:26 H264 smart editor: Starting H.264 smart editing thread.
2014-03-08 13:31:26 H264 decoder: Starting video, H264 decoder thread.
2014-03-08 13:31:26 H264 encoder: Starting video, H264 encoder thread.
2014-03-08 13:31:26 StreamProcess: Stream: 0, Starting audio coding thread.
2014-03-08 13:31:26 StreamProcess: Staring output muxer thread.
2014-03-08 13:31:26 Source video information:
File: Name : D:\AAE\00000.MTS
Size : 0.074 GB
Duration : 00:00:36.14
Mux type : TS Stream
TS mux rate : 17.291 Mbps
Video: Encoding : H.264
VideoStreamID : x1011
Frame rate : 29.97 fps
Encoding size : 1920 x 1080
Aspect ratio : 16:9
Header bit rate : 16.000 Mbps
VBV buffer : 976 KBytes
Profile : High/4.0
Progressive : Interlaced
Chroma : 4:2:0
Entropy mode : CABAC
Bit rate : 15.458 Mbps
Captioning : None found
Audio Stream: 1 (Primary) Codec : AC3
Format : AC3 stream
Channels : 2.0
PID : x1100
PES Stream Id : xBD
Bit rate : 256 Kbps
Sampling rate : 48000
Sample size : 16 bits

2014-03-08 13:31:26 H.264, Starting new Frame Accurate Output Segment: start:0.000 (00:00:00.00), end:36503.144 (00:00:36.14), Mux delta: 0.00
2014-03-08 13:31:26 Preparing to send status to: 0 Audio volume changed
2014-03-08 13:31:26 Sending status: 'Audio volume changed' to module: 'H264 smart editor - 0', Type: Video frame
2014-03-08 13:31:26 Preparing to send status to: 0 Audio volume changed
2014-03-08 13:31:26 Sending status: 'Audio volume changed' to module: 'Audio recoder - 0', Type: Audio frame
2014-03-08 13:31:26 Adding new graph range, Start: 0 (00:00:00.00), End: 36503.14 (00:00:36.14)
2014-03-08 13:31:26 H264 smart editor, Setting graph range to, start 0.00 (00:00:00.00), end: 36503.14 (00:00:36.14)
2014-03-08 13:31:26 >> Audio Buffer: Inserting silent frames to match video, count:426, StreamNumber: 0, Codec: AC3, PID: x1100, next audioPTS:13928.00
- 0, A-PTS: 296.00 (00:00:00.08), [ 96.01 (00:00:00.02)], PTS Diff: -199.99 1024 0
- 1, A-PTS: 328.00 (00:00:00.09), [ 128.01 (00:00:00.03)], PTS Diff: -199.99 1024 2880
- 2, A-PTS: 360.00 (00:00:00.10), [ 160.01 (00:00:00.04)], PTS Diff: -199.99 1024 2880
- 3, A-PTS: 392.00 (00:00:00.11), [ 192.01 (00:00:00.05)], PTS Diff: -199.99 1024 2880
- 4, A-PTS: 424.00 (00:00:00.12), [ 224.01 (00:00:00.06)], PTS Diff: -199.99 1024 2880
.... 417 similar frames not shown ...
-422, A-PTS: 13800.00 (00:00:13.23), [ 13600.01 (00:00:13.17)], PTS Diff: -199.99 1024 2880
-423, A-PTS: 13832.00 (00:00:13.24), [ 13632.01 (00:00:13.18)], PTS Diff: -199.99 1024 2880
-424, A-PTS: 13864.00 (00:00:13.25), [ 13664.01 (00:00:13.19)], PTS Diff: -199.99 1024 2880
-425, A-PTS: 13896.00 (00:00:13.26), [ 13696.01 (00:00:13.20)], PTS Diff: -199.99 1024 2880
**End of Audio Buffer(s)

2014-03-08 13:31:26 >> Audio Buffer: Finished inserting silent frames, count:428, StreamNumber: 0, Codec: AC3, PID: x1100, next audioPTS:13928.00
- 0, A-PTS: 232.00 (00:00:00.06), [ 32.01 (00:00:00.00)], PTS Diff: -199.99 1024 0
- 1, A-PTS: 264.00 (00:00:00.07), [ 64.01 (00:00:00.01)], PTS Diff: -199.99 1024 2880
- 2, A-PTS: 296.00 (00:00:00.08), [ 96.01 (00:00:00.02)], PTS Diff: -199.99 1024 2880
- 3, A-PTS: 328.00 (00:00:00.09), [ 128.01 (00:00:00.03)], PTS Diff: -199.99 1024 2880
- 4, A-PTS: 360.00 (00:00:00.10), [ 160.01 (00:00:00.04)], PTS Diff: -199.99 1024 2880
.... 419 similar frames not shown ...
-424, A-PTS: 13800.00 (00:00:13.23), [ 13600.01 (00:00:13.17)], PTS Diff: -199.99 1024 2880
-425, A-PTS: 13832.00 (00:00:13.24), [ 13632.01 (00:00:13.18)], PTS Diff: -199.99 1024 2880
-426, A-PTS: 13864.00 (00:00:13.25), [ 13664.01 (00:00:13.19)], PTS Diff: -199.99 1024 2880
-427, A-PTS: 13896.00 (00:00:13.26), [ 13696.01 (00:00:13.20)], PTS Diff: -199.99 1024 2880
**End of Audio Buffer(s)

2014-03-08 13:31:26 H.264, 2 silent audio frames inserted.
2014-03-08 13:31:27 H264 smart editor, Segment complete, revised end time is: 36503.14 (00:00:36.14)
 
Top Bottom