View Full Version : Problem with demuxed audio
Prthivi
6th March 2009, 10:51
:thanks:
Thanks neuron2, I understand now. This problem has bug me for months. I guess some people has the same problem.
Dayvon :
http://forum.doom9.org/showthread.php?p=771370#post771370
But there are still problem. :eek: The demuxed audio has some crc32 errors. Mkvmerge drops that errors (mkvmerge says non ac3 stream, mencoder says CRC32 error, besweet also says like that). This make the audio even shorter. Looks like the error is random. Maybe because of that the audio is out of sync in the middle when it is stretched. Or maybe the original silence is already random in the first place.
I found that mencoder is dropping video frames to synch with audio when encoding. So now maybe I will encode video and audio using mencoder. Then I take only encoded video and mux it with original ac3 with mkvmerge. The duration of video will be shorter but it's ok for some videos.
Can anyone help me? Is there another method that does not drop frames?
Guest
6th March 2009, 14:49
I split this off from the other thread.
But there are still problem. :eek: The demuxed audio has some crc32 errors. What demuxed audio are you talking about? This comes out of nowhere. Take a deep breath and start at the beginning. What is your source stream? How are you demuxing the audio? What makes you think the demuxed audio has CRC32 errors?
Prthivi
15th March 2009, 13:21
Hi, neuron2. Thanks for replying.
This is what I did :
1. Use DGIndex to create d2v file and demux the audio.
Video duration is 25 min and audio duration is 24 min 57 sec
2. Create avisynth script of d2v file
3. Use x264 to encoding the video (using avisynth script)
4. Mux video and audio using mkvmerge
Here is mkvmerge log :
mkvmerge v2.2.0 ('Turn It On Again') built on Mar 4 2008 12:58:13
'E:\vts07\VTS_07_1 ivtc .mkv': Using the Matroska demultiplexer.
'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3': Using the AC3 demultiplexer.
'E:\vts07\VTS_07_1 ivtc .mkv' track 1: Using the MPEG-4 part 10 (AVC) video output module.
'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' track 0: Using the AC3 output module.
The file 'E:\vts07\VTS_07_1 tes .mkv' has been opened for writing.
progress: 0%progress: 0%progress: 1%progress: 1%progress: 2%progress: 3%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 3%progress: 4%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 4%progress: 5%progress: 6%progress: 6%progress: 7%progress: 7%progress: 8%progress: 9%progress: 9%progress: 10%progress: 10%progress: 11%progress: 12%progress: 12%progress: 13%progress: 13%progress: 14%progress: 15%progress: 15%progress: 16%progress: 16%progress: 17%progress: 18%progress: 18%progress: 19%progress: 19%progress: 20%progress: 21%progress: 21%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 22%progress: 22%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 23%progress: 24%progress: 24%progress: 25%progress: 26%progress: 26%progress: 27%progress: 27%progress: 28%progress: 28%progress: 29%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 30%progress: 30%progress: 31%progress: 32%progress: 32%progress: 33%progress: 33%progress: 34%progress: 35%progress: 35%progress: 36%progress: 36%progress: 37%progress: 38%progress: 38%progress: 39%progress: 39%progress: 40%progress: 41%progress: 41%progress: 42%progress: 42%progress: 43%progress: 44%progress: 44%progress: 45%progress: 45%progress: 46%progress: 47%progress: 47%progress: 48%progress: 48%progress: 49%progress: 50%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 50%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 51%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 51%progress: 52%progress: 53%progress: 53%progress: 54%progress: 55%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 55%progress: 56%progress: 56%progress: 57%progress: 57%progress: 58%progress: 59%progress: 59%progress: 60%progress: 60%progress: 61%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 62%progress: 62%progress: 63%progress: 64%progress: 64%progress: 65%progress: 65%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 66%progress: 67%progress: 67%progress: 68%progress: 68%progress: 69%progress: 70%progress: 70%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 71%progress: 71%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 72%progress: 73%progress: 73%progress: 74%progress: 74%progress: 75%progress: 76%progress: 76%progress: 77%progress: 77%progress: 78%progress: 79%progress: 79%progress: 80%progress: 80%progress: 81%progress: 82%progress: 82%progress: 83%progress: 84%progress: 84%progress: 85%progress: 85%progress: 86%progress: 86%progress: 87%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 88%progress: 88%progress: 89%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 90%progress: 90%progress: 91%progress: 91%progress: 92%progress: 93%progress: 93%progress: 94%progress: 94%progress: 95%progress: 95%progress: 96%progress: 97%progress: 97%progress: 98%
Warning: The AC3 track 0 from 'E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3' contained 224 bytes of non-AC3 data which were skipped. The audio/video synchronization may have been lost.
progress: 99%progress: 99%progress: 100%
The cue entries (the index) are being written...
Muxing took 7 seconds.
5. Then I tried to fix audio using besplit.
audio duration after fixing is 24 min 56 sec
here is beplit log:
BeSplit v0.82 by DSPguru.
--------------------------
Logging start : 12/01/08 , 23:57:10.
J:\Program Files\BeSplitv0.82\BeSplit.exe -core( -logfile E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.LOG -input E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3 -prefix E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0msFIX -type ac3 -a -fix )
[00:00:00:000] +------- BeSplit -----
[00:00:00:000] | Input : E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0ms.ac3
[00:00:00:000] | Output Prefix : E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0msFIX
[00:00:00:000] +---------------------
[00:00:47:232] Stream error : Sync found after 670 bytes
[00:01:04:192] Stream error : Sync found after 222 bytes
[00:01:11:808] Stream error : Sync found after 223 bytes
[00:05:30:848] Stream error : Sync found after 223 bytes
[00:05:44:352] Stream error : Sync found after 669 bytes
[00:05:51:072] Stream error : Sync found after 669 bytes
[00:05:52:896] Stream error : Sync found after 667 bytes
[00:07:31:200] Stream error : Sync found after 667 bytes
[00:12:36:288] Stream error : Sync found after 671 bytes
[00:12:42:304] Stream error : Sync found after 223 bytes
[00:12:52:352] Stream error : Sync found after 669 bytes
[00:13:44:288] Stream error : Sync found after 668 bytes
[00:15:25:920] Stream error : Sync found after 223 bytes
[00:16:32:288] Stream error : Sync found after 223 bytes
[00:17:46:560] Stream error : Sync found after 670 bytes
[00:17:59:904] Stream error : Sync found after 670 bytes
[00:21:56:160] Stream error : Sync found after 670 bytes
[00:22:23:328] Stream error : Sync found after 670 bytes
[00:24:43:840] Stream error : Sync found after 223 bytes
[00:24:56:448] | Writing E:\vts07\VTS_07_1 T80 2_0ch 112Kbps DELAY 0msFIX01.ac3
[00:24:56:448] +---------------------
[00:24:56:448] Operation Completed !
[00:00:39:000] <-- Process Duration
Logging ends : 12/01/08 , 23:57:49.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.