hi all,
I'm trying to parse pcm audio packet from transport stream file, but I'm missing 4 bytes
can anybody tell me the format for the pcm header i'm missing?Code:47 51 00 11 00 00 01 BD 03 CC 84 80 05 21 0C DF F3 01 03 C0 31 60 00 00 00 00 00 00 FF FF FF FF ... |___________|___________|_____________________________|___________|______________________________... ts packet PES Sync PES Header ???????? Raw pcm 2ch 48khz 16bit header Private Stream 1
ran.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
I am no expert. But this is what I know.
size in bytes = 16 bits
channel assignment = 4 bits
sampling frequency = 4 bits
bits per sample = 2 bits
start flag = 1 bit
reserved = 5 bits
channel assignment
1 = mono
3 = stereo
4 = 3/0
5 = 2/1
6 = 3/1
7 = 2/2
8 = 3/2
9 = 3/2+lfe
10 = 3/4
11 = 3/4+lfe
sampling frequency
1 = 48 kHz
4 = 96 kHz
5 = 192 kHz
bits per sample
1 = 16
2 = 20
3 = 24
Your example of 03 C0 31 60 is:
960 bytes
stereo
48 kHz
16 bits/sample
start flag is on
Similar Threads
-
No sound from a PCM audio stream using DVDFab DVD to AVI file.
By loninappleton in forum AudioReplies: 8Last Post: 5th Dec 2011, 04:27 -
What does this .d2v parse tell me?
By fatcharlie in forum Newbie / General discussionsReplies: 54Last Post: 10th Mar 2011, 17:13 -
When does SUPER parse video files?
By yoda313 in forum Video ConversionReplies: 3Last Post: 28th Mar 2010, 18:16 -
MPEG 1 - Can't parse stream
By Fr3d in forum ProgrammingReplies: 0Last Post: 18th Oct 2009, 19:20 -
QT can't parse error converting mpeg-1 to DV
By jglass in forum ffmpegX general discussionReplies: 3Last Post: 22nd Jun 2008, 10:57