error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

*nix specific usage questions
rkleemann
Blank Cone
Blank Cone
Posts: 68
Joined: 08 Sep 2004 16:51

error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

Postby rkleemann » 05 Aug 2016 20:32

Hi,

I'm pulling a m3u8 stream using clvc and outputting to mp4, and I get the errors:

[00007f29c0c073d8] httplive stream: HTTP Live Streaming (localhost:8080/live/test/playlist_dvr.m3u8)
[00007f29c0c18b78] ts demux: MPEG-4 descriptor not found for pid 0x101 type 0xf
[00007f29c0cb2a68] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 48000
[00007f29c0003138] core mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value
[00007f29c0ca93c8] core decoder error: cannot create packetizer output (h264)
[00007f29c0c18b78] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0

here's the command line

cvlc http://localhost:8080/live/test/playlist_dvr.m3u8 --sout=file/mp4:/shared/tmp/test3.mp4

The resulting file has only audio, no video, which would be expected from the errors... but the source HLS stream definitely has h264 and aac

thanks
Ricardo

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

Postby Rémi Denis-Courmont » 05 Aug 2016 22:53

As the error says. The MP4 muxer cannot add streams dynamically. You need to use another muxer.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

rkleemann
Blank Cone
Blank Cone
Posts: 68
Joined: 08 Sep 2004 16:51

Re: error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

Postby rkleemann » 05 Aug 2016 23:13

Thanks for pointing that out.

So what would be the appropriate muxer considering I'm dealing with h264/aac?

I tried TS, but I'm still not getting video.

cvlc http://localhost:8080/live/test/playlist_dvr.m3u8 --sout=file/ts:/shared/tmp/test3.mp4
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)
[0000000001cfc3e8] core interface error: no suitable interface module
[0000000001b37118] core libvlc error: interface "globalhotkeys,none" initialization failed
[0000000001cfc3e8] dbus interface error: Failed to connect to the D-Bus session daemon: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[0000000001cfc3e8] core interface error: no suitable interface module
[0000000001b37118] core libvlc error: interface "dbus,none" initialization failed
[0000000001cfc3e8] dummy interface: using the dummy interface module...
[00007fbb74c0b508] httplive stream: HTTP Live Streaming (localhost:8080/live/test/playlist_dvr.m3u8)
[00007fbb74c1cca8] ts demux: MPEG-4 descriptor not found for pid 0x101 type 0xf
[00007fbb74cb6588] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 48000
[00007fbb74c1cca8] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[00007fbb74c1cca8] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095
[00007fbb74c1cca8] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 0
[00007fbb74c1cca8] ts demux error: libdvbpsi (PSI decoder): TS duplicate (received 0, expected 1) for PID 4095

Also after some point vlc stops streaming to the file and doesn't exit.

However if I play the hls stream on the gui vlc, it plays out

Does vlc have a command similar to ffprobe for me to see how vlc interprets the m3u8 stream?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

Postby Rémi Denis-Courmont » 05 Aug 2016 23:27

"info" command shows the list of elementary stream. See also "help".

Note that VLC 2.2.0 is out of date.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

xcorat
New Cone
New Cone
Posts: 1
Joined: 10 Aug 2016 23:45

Re: error: ts demux: MPEG-4 descriptor not found when streaming to mp4 file

Postby xcorat » 10 Aug 2016 23:47

I think I got the same error if I'm not mistaken, and probably due to a bug in VLC. Try VLC3-beta. It worked for me.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 8 guests