Page 1 of 1

vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 07 Mar 2015 23:22
by NofanTasi
Hi all

First of all : thanks so much for the famous VLC player!

I run gentoo and upgraded vlc from 2.1.5 to 2.2.0 ...
I have been streaming 2 dvb-t TV channels on the 192.168.168/24 LAN for years now as follows:
(in fact I can watch from WAN as well using port forwarding on the box doing NAT)

on streamer:
% nvlc dvb:// --dvb-bandwidth 8 --dvb-fec 9 --dvb-frequency 506000000 --dvb-guard 8 --dvb-hierarchy -1 --dvb-inversion 2 --dvb-modulation 16 --dvb-srate 0 --dvb-transmission 8 --ttl 4 --programs=4128,4112 --sout-standard-access=http --sout-standard-mux=ts --ts-es-id-pid --sout '#duplicate{dst=std{access=http,dst=192.168.168.241:4128},select="program=4128",dst=std{access=http,dst=192.168.168.241:4112},select="program=4112"}'


on clients:
% vlc http://192.168.168.241:4112
or
% vlc http://192.168.168.241:4128

*issue*: this no longer works with 2.2.0 ... clients show the URL in playlist mentioning [00:00] and that's it.
Perhaps the streaming syntax became obsolete?

If there is some way I can troubleshoot I would gladly try to do so.

Here is the portage emerge use

streamer ~ # emerge -pv vlc
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ~] media-video/vlc-2.2.0:0/5-7::gentoo USE="X a52 alsa avahi avcodec avformat bluray cdda cddb dbus dc1394 dvb dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gnutls httpd ieee1394 jack jpeg kate kde libass libnotify libsamplerate libtiger lirc live lua matroska modplug mp3 mpeg mtp musepack ncurses ogg opengl png pulseaudio qt5 rtsp samba sdl sdl-image shout speex svg swscale taglib theora truetype twolame udev upnp v4l vaapi vdpau vlm vorbis x264 x265 xcb xml xv -aalib (-altivec) -atmo (-audioqueue) -bidi -chromaprint -debug -directfb (-directx) -dts (-dxva2) -faad -fdk -fluidsynth -gme -gnome -growl -libav -libcaca -libtar -linsys (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -qt4 -rdp -run-as-root -schroedinger -sftp -sid -skins {-test} -tremor -vcdx -vnc -vpx -wma-fixed -zvbi" CPU_FLAGS_X86="mmx sse" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 08 Mar 2015 16:49
by Jean-Baptiste Kempf
Please share both logs.

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 09 Mar 2015 00:25
by NofanTasi
thanks Jean-Baptiste
I would be happy to provide streamer and receiver logs. Not sure how to create them though... I tried:
on streamer
--logfile /tmp/streamer.log
on receiver
--logfile /tmp/receiver.log
but those would not create logs. For sure I must be missing something. Please enlighten me.

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 09 Mar 2015 10:19
by Jean-Baptiste Kempf
-vvv

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 09 Mar 2015 14:12
by NofanTasi
-vvv
Hi Jean-Baptiste: sorry, I should have guessed the '-vvv' :oops:
Now I have another silly forum beginner question: how do I attach the logs to this thread?
The logs ar too big, I assume (thousands of lines) to paste here as text.
I can also email them or make them available on some ftp server.

PS: I have two streamer/receiver logs, one pair has a 2.1.5 receiver and one has a 2.2.0 receiver

here is a grep into the 2nd pair

# egrep -i "(fail|error|warn)" {receiver,streamer}-2.log
receiver-2.log:[00007f260c003818] core stream error: cannot pre fill buffer
receiver-2.log:[00007f26080009b8] core input warning: cannot create a stream_t from access
receiver-2.log:[00007f260c001be8] core stream error: cannot pre fill buffer
receiver-2.log:[00007f2608005d38] core input warning: cannot create a stream_t from access
streamer-2.log:[00007f152c002b78] access_output_http access out warning: "192.168.168.243" HTTP host might be ignored in multiple-host configurations, use at your own risks.
streamer-2.log:[00007f152c4ceb98] access_output_http access out warning: "192.168.168.243" HTTP host might be ignored in multiple-host configurations, use at your own risks.
streamer-2.log:[00007f152c998558] dtv access warning: "modulation=16" option is obsolete. Use "modulation=16QAM" instead.
streamer-2.log:[00007f152c998558] dtv access warning: "guard=8" option is obsolete. Use "guard=1/8 instead.
streamer-2.log:[00007f152c99ac18] ts demux warning: first packet for pid=4113 cc=0xf

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 09 Mar 2015 15:32
by Jean-Baptiste Kempf
You need more logs.

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 09 Mar 2015 15:42
by NofanTasi
You need more logs.
Thanks Jean-Baptiste for your follow up.

I do have the full logs:
% ls -alrt /tmp/*.log
-rw-r--r-- 1 marc users 17213 Mar 9 13:39 /tmp/receiver-1.log
-rw-r--r-- 1 marc users 493948 Mar 9 13:39 /tmp/streamer-1.log
-rw-r--r-- 1 marc users 34978 Mar 9 13:55 /tmp/receiver-2.log
-rw-r--r-- 1 marc users 521194 Mar 9 13:55 /tmp/streamer-2.log
% wc -l /tmp/*.log
179 /tmp/receiver-1.log
340 /tmp/receiver-2.log
4275 /tmp/streamer-1.log
4515 /tmp/streamer-2.log
9309 total

My question is: shall I just copy and paste ~10000 lines here or is there some way to upload files to the forum (or perhaps email them)?

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 10 Mar 2015 23:45
by NofanTasi
As kindly suggested via PM :

vlc receiver log 1
http://pastebin.com/VmYncM4j
vlc receiver log 2
http://pastebin.com/N4PG98aP
vlc streamer log 1
http://pastebin.com/VhxBbWWD
vlc streamer log 2 head
http://pastebin.com/prC0zL9c
vlc streamer log 2 tail
http://pastebin.com/010gyPuU

note that last one was >512K so I split it in head and tail

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 17 Mar 2015 01:50
by NofanTasi
I tried to stream a file

if on steamer I do
% vlc /data/mythtv/LiveTV/5112_20150316002301.mpg --sout '#rtp{dst=192.168.168.243,port=8484,sdp=rtsp://192.168.168.243:8484/test.sdp}'
then on receiver
% vlc rtsp://192.168.168.243:8484/test.sdp
works fine!

but

if on steamer I do
vlc /data/mythtv/LiveTV/5112_20150316002301.mpg --sout '#standard{access=http,dst=192.168.168.243:8484}'
then on receiver
vlc http://192.168.168.243:8484
does not work

perhaps syntax wrong?

I based command line on
https://www.videolan.org/doc/streaming- ... /ch04.html

Aternatively, is there a way to stream the 2 dvb-t channels muxed over rtp/rstp ?

What would be the command?

Recall, http command is:

nvlc -vvv dvb:// --dvb-bandwidth 8 --dvb-fec 9 --dvb-frequency 506000000 --dvb-guard 8 --dvb-hierarchy -1 --dvb-inversion 2 --dvb-modulation 16 --dvb-srate 0 --dvb-transmission 8 --ttl 4 --programs=4128,4112 --sout-standard-access=http --sout-standard-mux=ts --ts-es-id-pid --sout '#duplicate{dst=std{access=http,dst=192.168.168.243:4128},select="program=4128",dst=std{access=http,dst=192.168.168.243:4112},select="program=4112"}'

Thanks for hints

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 17 Mar 2015 13:46
by Jean-Baptiste Kempf
I don't see the issue on the streamers for HTTP.

And, no, your syntax is right.

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 18 Mar 2015 01:33
by NofanTasi
I don't see the issue on the streamers for HTTP.
And, no, your syntax is right.
All right then Jean-Baptiste, thanks for your valuable time.

Maybe I should then report on gentoo specific forum instead.
It must be that the 2.1.5->2.2.0 upgrade has resulted in http (but not rstp) to stop working on gentoo.

Is there, for now, a way to multiplex the dvb-t input using rstp as workaround?

I asked for correct syntax to do so. Basically: howto convert the http command into a rstp command (if possible)

Again: congratulations for the amazing VLC!

Re: vlc 2.2.0 dvb-t mux streaming no longer works

Posted: 22 Mar 2015 17:08
by verbal_666
Same problem here.

2.2.0 can't HTTP stream anymore,

Code: Select all

"%vlc%" %canale% -I dummy --sout=#transcode{vcodec=h264,deinterlace,vb=1500,fps=25,width=672,height=352,acodec=mp3,ab=32,channels=2,samplerate=22050,audio-sync}:http{mux=ffmpeg{mux=flv},dst=%destinazione%}
2.1.5, all fine,
Image

2.2.0, errors, no stream,
Image

Posted: 22 Mar 2015 17:35
by RĂ©mi Denis-Courmont
AFAICT, streaming MPEG-TS inputs is broken in VLC 2.2.0. It seems to work with 3.0.0 development versions though.

Local playback works fine - DVB-C here.