VLC can't stream playlists

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kyle_B
New Cone
New Cone
Posts: 1
Joined: 06 Nov 2022 00:13

VLC can't stream playlists

Postby kyle_B » 06 Nov 2022 00:41

When streaming a playlist on windows or linux, it will stream the first file absolutely fine. But when it's time to move on to the second file, it disconnects all clients. The progress bar thingy and time counter keep on moving as usual on the broadcasting side though.

On windows it doesn't give any error in commandline or in the log file. However in linux terminal we get the following:

Code: Select all

[flv @ 0x7fe4a000b5c0] pts (20813141) < dts (20814084) in stream 0 [00007fe4a000b1a0] avformat mux error: could not write frame (pts: 20813141008, dts: 20814084748) (pkt pts: 20813141, dts: 20814084) [flv @ 0x7fe4a000b5c0] pts (20813099) < dts (20814251) in stream 0 [00007fe4a000b1a0] avformat mux error: could not write frame (pts: 20813099296, dts: 20814251582) (pkt pts: 20813099, dts: 20814251) [00007fe4640061c0] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [00007fe4640061c0] x264 encoder: profile High, level 3.0, 4:2:0, 8-bit [00007fe4a000b1a0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value [00007fe4b55b6600] main decoder error: cannot continue streaming due to errors with codec mp4a [00007fe4640061c0] x264 encoder: using SAR=160/177 [00007fe4640061c0] x264 encoder: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 [00007fe4640061c0] x264 encoder: profile High, level 3.0, 4:2:0, 8-bit [00007fe4a000b1a0] main mux error: cannot add a new stream (unsupported while muxing to this format). You can try increasing sout-mux-caching value [00007fe4a002bb40] stream_out_transcode stream out error: cannot add this stream [00007fe4b55b2820] main decoder error: cannot continue streaming due to errors with codec hevc
It does not matter what transcoding settings are chosen. It does not matter what codec the media is, either, all that changes is the named codec in the error.

Increasing sout-mux-caching value merely makes the suggestion to increase it go away.

Each file can be streamed out individually with no problem. But if they're together in a playlist, it will always fail when moving from the first file to another file. The only way to get VLC to continue is to quit the program and open it again.

Tested Windows 10 and latest arch linux. viewers are on various windows/linux/mac machines.

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

Re: VLC can't stream playlists

Postby Rémi Denis-Courmont » 24 Nov 2022 20:33

You need to use the gather module to keep tracks and this can only work if all inputs have the exact same format (this is a limitation of your FLV choice of mux).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

superfanat1k
New Cone
New Cone
Posts: 2
Joined: 23 Jan 2023 11:10

Re: VLC can't stream playlists

Postby superfanat1k » 23 Jan 2023 11:13

I have done it successfully without any problems.
Could you tell me how can i do? I have the same trouble, but in Windows

I need to stream in local network from PC to 3 smart tv
i choose file to steram - playlist, made in vlc
stream rtsp
first file from playlist works fine, but when start second file - all clients are disconnected, while recconect them


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 70 guests