FAQ  •  Register  •  Login

DVB-T streaming

<<

mackowiakp

Serviio lover

Posts: 71

Joined: Tue Feb 11, 2014 8:31 pm

Post Thu May 08, 2014 6:40 am

DVB-T streaming

I have DVB-T USB dongle, working under Linux. My question is about possibility to plug such dongle into the server and stream as "Live stream" programs received by dongle. My server works without graphics running so for streaming needs I want to use GUI-less daemon/service/apps.
I use Serviio DLNA server on the same PC. Part of it is streaming live streams from my satbox via Serviio on Mageia server to another PC or Android based devices. The definition of such stream looks like this:

  Code:
http://pvr:8001/1:0:1:12C7:2E7C:13E:820000:0:0:0


Is possible to use DVB-T USB dongle plugged into Serviio running server and use it similar to satbox based URL`a?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu May 08, 2014 8:57 am

Re: DVB-T streaming

what do you get when doing

  Code:
ffmpeg -i "http://pvr:8001/1:0:1:12C7:2E7C:13E:820000:0:0:0"
<<

mackowiakp

Serviio lover

Posts: 71

Joined: Tue Feb 11, 2014 8:31 pm

Post Thu May 08, 2014 7:08 pm

Re: DVB-T streaming

So You have:

  Code:
[maciek@piotr ~]$ ffmpeg -i "http://pvr:8001/1:0:1:12C7:2E7C:13E:820000:0:0:0"
ffmpeg version 2.0.3 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  9 2014 23:12:38 with gcc 4.8.2 (GCC)
  configuration: --prefix=/usr --enable-shared --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include --disable-stripping --enable-postproc --enable-gpl --enable-pthreads --enable-libtheora --enable-libvorbis --disable-encoder=vorbis --enable-libvpx --enable-x11grab --enable-runtime-cpudetect --enable-libdc1394 --enable-libschroedinger --enable-librtmp --enable-libspeex --enable-libfreetype --enable-libnut --enable-libgsm --enable-libcelt --enable-libopus --disable-libopencv --enable-libopenjpeg --enable-libtwolame --enable-libxavs --enable-frei0r --enable-libmodplug --enable-libass --enable-gnutls --enable-libcdio --enable-libpulse --enable-libv4l2 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libx264 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libxvid
  libavutil      52. 38.100 / 52. 38.100
  libavcodec     55. 18.102 / 55. 18.102
  libavformat    55. 12.100 / 55. 12.100
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 79.101 /  3. 79.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[mpeg2video @ 0x2140d80] Invalid frame dimensions 0x0.
    Last message repeated 11 times
[mpegts @ 0x2118d20] Could not find codec parameters for stream 3 (Unknown: none ([192][0][0][0] / 0x00C0)): unknown codec                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2118d20] Could not find codec parameters for stream 4 (Unknown: none ([193][0][0][0] / 0x00C1)): unknown codec                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2118d20] Could not find codec parameters for stream 5 (Unknown: none ([198][0][0][0] / 0x00C6)): unknown codec                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2118d20] Could not find codec parameters for stream 6 (Unknown: none ([192][0][0][0] / 0x00C0)): unknown codec                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mpegts @ 0x2118d20] Could not find codec parameters for stream 7 (Unknown: none ([193][0][0][0] / 0x00C1)): unknown codec                                     
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpegts, from 'http://pvr:8001/1:0:1:12C7:2E7C:13E:820000:0:0:0':
  Duration: N/A, start: 66288.685567, bitrate: 192 kb/s
  Program 4801
  Program 4802
  Program 4803
  Program 4804
  Program 4805
  Program 4806
  Program 4807
    Stream #0:0[0xa6]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p, 704x576 [SAR 16:11 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x68](pol): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:2[0x1f7](pol): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0xd0]: Unknown: none ([192][0][0][0] / 0x00C0)
    Stream #0:4[0xd5]: Unknown: none ([193][0][0][0] / 0x00C1)
    Stream #0:5[0x4b0]: Unknown: none ([198][0][0][0] / 0x00C6)
    Stream #0:6[0x29a]: Unknown: none ([192][0][0][0] / 0x00C0)
    Stream #0:7[0x29b]: Unknown: none ([193][0][0][0] / 0x00C1)
  Program 4808
  Program 4809
  Program 4811
  Program 4823
  Program 4830
  Program 4831
  Program 4832
  Program 4833
  Program 4834
  Program 4835
  Program 4836
  Program 4837
  Program 4840
  Program 4842
  Program 4844
  Program 4845
  Program 4851
  Program 4853
  Program 4854
  Program 4855
  Program 4856
  Program 4857
  Program 4862
  Program 4863
  Program 4864
  Program 4874
  Program 4875
  Program 4876
  Program 4881
  Program 4882
  Program 4883
  Program 4898
At least one output file must be specified
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri May 09, 2014 12:18 pm

Re: DVB-T streaming

Looks ok. Did you try to add the URL as a Live Stream?
<<

mackowiakp

Serviio lover

Posts: 71

Joined: Tue Feb 11, 2014 8:31 pm

Post Fri May 09, 2014 12:36 pm

Re: DVB-T streaming

I thing that I explain my problem not correctly. I can stream "Live stream" from my satbox (except H.264 encoded SD quality programs) via Serviio. But I want to use DVB-T USB dongle, plugged into the same server on which Serviio is running. Such dongle working properly on server and I can run from PC something like this:

  Code:
ssh -X -p 666 -i /home/maciek/.ssh/id_rsa media@media env LANG=pl_PL.UTF-8 /usr/bin/kaffeine


As You can see, ssh works on port 666 and starts kaffeine on server but display results on my PC. So it is possible from the GUI-less server to stream DVB-T received programs.
My question is. Can I use in such situation, plugged to server and working DVB-T receiver as "Live streams" source?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat May 10, 2014 1:45 pm

Re: DVB-T streaming

You will need a Serviio supported stream protocol, such as rtsp, mms or http. So perhaps you need a VLC or something to capture the stream as stream it.

Return to General discussion

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.