Page 1 of 1

Can't demux BBC audio-only TS

Posted: Sun Oct 22, 2023 9:40 am
by j7n
I can't use Demux Audio-Only Stream with audio-only Transport Streams from BBC "HTTP Live Streaming" containing one AAC track. For some reason they use TS with great overhead.

1. DGIndex assigns MP3 or MP1 file extension. No problem.
2. The first frame is incomplete, which throws errors in other software, which don't do rigorous parsing of AAC.
3. It stops demuxing after 30 to 50 minutes of programme with the following error:

"Cannot find audio or video data. Ensure that your PIDs
are set correctly in the Stream menu."

I can use MkvMerge/MMG followed by extract to create an elementeray stream, which is a two step process.

I can provide a sample.

Can't demux BBC audio-only TS

Posted: Sun Oct 22, 2023 10:15 am
by Rocky
Welcome to the forum!

Yes, please provide a sample. Thank you. I haven't looked at DGMPGDec for a while but it is likely that it simply expects a video track. Maybe I can do something about it.

Can't demux BBC audio-only TS

Posted: Sun Oct 22, 2023 12:40 pm
by j7n
The sample is 224 MB because the error happens at 47:19, and shifts to an earlier position around 45:00 if I shorten the stream.

http://j7n.sytes.net/temp/bbc_radio_fourfm.ts

Can't demux BBC audio-only TS

Posted: Sun Oct 22, 2023 1:06 pm
by Rocky
I've got it, thank you. Investigating...

Can't demux BBC audio-only TS

Posted: Sun Oct 22, 2023 2:28 pm
by Rocky
While I'm looking into this use eac3to for demuxing:

eac3to bbc_radio_fourfm.ts -demux

Can't demux BBC audio-only TS

Posted: Mon Oct 23, 2023 10:30 am
by Rocky
My memory was bad. Of course DGIndex has File/Demux Audio-Only Stream, which I had forgotten about. But it is failing on your stream. OK, now investigating the right thing. ;)

Can't demux BBC audio-only TS

Posted: Mon Oct 23, 2023 11:48 am
by Rocky
OK, please try this:

https://rationalqm.us/misc/DGIndex_j7n.zip

It now uses extension .aac and doesn't crap out. If it works for you without other regressions I'll make a release. Thank you.

Can't demux BBC audio-only TS

Posted: Mon Oct 23, 2023 3:22 pm
by j7n
The updated version works well. Thank you.

:bravo: