Can't demux BBC audio-only TS

Support forum for DGMPGDec
Post Reply
User avatar
j7n
Posts: 3
Joined: Sun Oct 22, 2023 9:28 am

Can't demux BBC audio-only TS

Post 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.
User avatar
Rocky
Posts: 3758
Joined: Fri Sep 06, 2019 12:57 pm

Can't demux BBC audio-only TS

Post 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.
User avatar
j7n
Posts: 3
Joined: Sun Oct 22, 2023 9:28 am

Can't demux BBC audio-only TS

Post 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
User avatar
Rocky
Posts: 3758
Joined: Fri Sep 06, 2019 12:57 pm

Can't demux BBC audio-only TS

Post by Rocky »

I've got it, thank you. Investigating...
User avatar
Rocky
Posts: 3758
Joined: Fri Sep 06, 2019 12:57 pm

Can't demux BBC audio-only TS

Post by Rocky »

While I'm looking into this use eac3to for demuxing:

eac3to bbc_radio_fourfm.ts -demux
User avatar
Rocky
Posts: 3758
Joined: Fri Sep 06, 2019 12:57 pm

Can't demux BBC audio-only TS

Post 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. ;)
User avatar
Rocky
Posts: 3758
Joined: Fri Sep 06, 2019 12:57 pm

Can't demux BBC audio-only TS

Post 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.
User avatar
j7n
Posts: 3
Joined: Sun Oct 22, 2023 9:28 am

Can't demux BBC audio-only TS

Post by j7n »

The updated version works well. Thank you.

:bravo:
Post Reply