View Single Post
Old 1st January 2018, 15:59   #14552  |  Link
Ripman
Registered User
 
Join Date: May 2015
Posts: 77
Quote:
Originally Posted by tebasuna51 View Post
Your AC3 seems have some frames 2.0, but most of them are 5.1.

Extract and split the AC3 track.
http://forum.doom9.org/showthread.ph...95#post1447695
Thanks for that tip. Which line in the mediainfo report caught your attention? I tried the SplitAc3 program. Here is the log:

Code:
FileSize : 302421504 bytes
---------- First valid Header
Time eq. : 5400384 ms.
SamplCod : 0 (0:48, 1:44.1, 2:32 KHz.)
BitRate  : 448 Kb/s
ChanMode : 2 (1:1/0, 2:2/0, 3:3/0, 4:2/1, 5:3/1, 6:2/2, 7:3/2)
FrameSize: 1792 bytes
---------- Process ( 25.000000 fps is used for Trim)
Time: 0 ms.	Written: 69 frames 2.0	( 2208 ms.)
Time: 2208 ms.	Written: 2 frames 5.1	( 64 ms.)	Trim(55, 56)
Time: 2272 ms.	Skipped: 1792 bytes	(Maybe: 32 ms.)
Time: 2304 ms.	Written: 168665 frames 5.1	( 5397280 ms.)	Trim(58, 134989)
Time: 5399584 ms.	Written: 6 frames 2.0	( 192 ms.)
Time: 5399776 ms.	Written: 9 frames 5.1	( 288 ms.)	Trim(134994, 135000)
Time: 5400064 ms.	Written: 1 frames 2.0	( 32 ms.)
Time: 5400096 ms.	Written: 3 frames 5.1	( 96 ms.)	Trim(135002, 135003)
Time: 5400192 ms.	Skipped: 1792 bytes	(Maybe: 32 ms.)
Time: 5400224 ms.	Written: 5 frames 2.0	( 160 ms.)
---------- End of File
Total time: 5400384 ms. at EOF
T. written: 168679 frames 5.1.
T. written: 81 frames 2.0.
[edit] looking at the splitac3 log, it seems like my tv signal got a bit corrupted — a little at the start, and a little at the end. It seems like splitac3 put 2ch samples in one output file, and 5.1ch samples in another file.

I could go back to the source .ts file, trim 2.304 secs from the start, preserve the next 5397280 ms (01:29:57.28), discard everything after that, and then extract the audio. Or, I could "zero-out" the first 2 frames (64ms) from the SplitAc3 5.1ch output, and everything after (64ms + 5397280 ms). Does this sound about right? How do I account for delays in the original audio stream? Thanks again.

Last edited by Ripman; 1st January 2018 at 18:54.
Ripman is offline