Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
add missing ac3 audio track.
0x06 is Chinese Cable TV ac3 audio track.
- Loading branch information
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0x06 is used for Dolby E. This commit breaks playback on all my channels that have a Dolby E audio stream included. Can you find some other way to implement this?
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluzee : Look to few lines bellow (case DVB_DESC_EAC3). I don't think that this patch breaks something. It just defines the default type for 0x06. Could you give me your PMT data to check ?
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is from TSReader. Did you want a TS dump posted somewhere? PID 51 is Dolby E audio. If I revert this patch all is well again.
Program Number: 1
PCR on PID 49 (0x0031)
PMT Version: 1
Stream Type: 0x02 MPEG-2 Video
Elementary Stream PID 49 (0x0031)
Stream Type: 0x06 PCM Audio
Elementary Stream PID 51 (0x0033)
Stream Type: 0x03 MPEG-1 Audio
Elementary Stream PID 52 (0x0034)
Stream Type: 0x03 MPEG-1 Audio
Elementary Stream PID 53 (0x0035)
Stream Type: 0x03 MPEG-1 Audio
Elementary Stream PID 54 (0x0036)
Stream Type: 0x06 ISO/IEC 13818-1 PES packets containing private data
Elementary Stream PID 59 (0x003b)
Stream Type: 0x06 ISO/IEC 13818-1 PES packets containing private data
Elementary Stream PID 60 (0x003c)
Descriptor: User Private Descriptor: 0xa3
01 65 6e 67 01 00 00 03 48 44 45 .eng....HDE
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bluzee : Yes, please, give me a short TS dump..
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, try this...
https://bitbucket.org/bluzee/dvbstream/downloads/3900H.ts
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I put a fix to master: 6e02f10 . Could you test ?
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix is working. Good job!
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@perexg : This default to AC3 still breaks some Canal Digital channels on Thor 5. Some channels do use non-AC3 streams with ES type 0x06 and ES info length 0 (http://pastebin.com/8GUA9kcg). Maybe the 0x06 default to AC3 should be an option and not a true default?
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@johsmi : Thanks. I added this option to the mux config: 3240a8e
If it's not enabled, the 0x06 type is handled without any default.
f605574There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@perexg : Thank you. I've now tested it and it works fine for me.