stream hls from ffmpeg via media-server to TV

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

stream hls from ffmpeg via media-server to TV

Thomas Schmiedl
Hello,

I use the xupnpd2 media-server (http://xupnpd.org/xupnpd2_en.html) on my
router to transport hls-streams from the internet to my Panasonic-TV.

I try to stream some webcams from http://www.skylinewebcams.com/.
xupnpd2 doesn't support https, so my idea is to receive the hls-stream
in ffmpeg.

ffmpeg command:
ffmpeg -i
https://hddn01.skylinewebcams.com/live.m3u8?a=<variable-string> -c copy
-f mpeg -listen 1 http://<private-ip>:1234

<variable-string> is in the website, e.g.
http://www.skylinewebcams.com/de/webcam/czech-republic/prague/prague/old-town-bridge-tower.html

and the xupnpd2-playlist:
#EXTINF:-1 handler=http type=mpeg, webcam-name
http://<private-ip>:1234

The stream is displayed on PC (vlc-player) without problems, but the TV
doesn't display it.

On http://xupnpd.org/download.html is a public-beta for xupnpd2. Maybe
someone could help me to find the correct ffmpeg command or
xupnpd2-settings (the russian author doesn't reply my e-mail).

Best regards,
Thomas
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: stream hls from ffmpeg via media-server to TV

Moritz Barsnick
On Thu, Jan 11, 2018 at 14:44:11 +0100, Thomas Schmiedl wrote:
> xupnpd2 doesn't support https,

Wow. Welcome to the 21st century.

> so my idea is to receive the hls-stream in ffmpeg.

Should work.

> ffmpeg -i https://hddn01.skylinewebcams.com/live.m3u8?a=<variable-string> -c copy -f mpeg -listen 1 http://<private-ip>:1234
[...]
> The stream is displayed on PC (vlc-player) without problems, but the TV
> doesn't display it.

VLC is very tolerant in terms of what it accepts (partly thanks to
libavformat and libavcodec, but also their own implementations). But
what you are sending with "-f mpeg" is an MPEG Program Stream (as meant
for files and e.g. for VOB files on DVDs). Most streaming receivers
won't accept this, but should instead be fine with the format MPEG
*Transport* Stream. Thus please use "-f mpegts" and it should work. :-)

Cheers,
Moritz
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: stream hls from ffmpeg via media-server to TV

Thomas Schmiedl
The option "-f mpegts" doesn't work. Could someone test this with
xupnpd2 and a Panasonic-TV from 2012/2013? Maybe a DLNA issue?

Best regards,
Thomas

Am 11.01.2018 um 15:55 schrieb Moritz Barsnick:

> On Thu, Jan 11, 2018 at 14:44:11 +0100, Thomas Schmiedl wrote:
>> xupnpd2 doesn't support https,
>
> Wow. Welcome to the 21st century.
>
>> so my idea is to receive the hls-stream in ffmpeg.
>
> Should work.
>
>> ffmpeg -i https://hddn01.skylinewebcams.com/live.m3u8?a=<variable-string> -c copy -f mpeg -listen 1 http://<private-ip>:1234
> [...]
>> The stream is displayed on PC (vlc-player) without problems, but the TV
>> doesn't display it.
>
> VLC is very tolerant in terms of what it accepts (partly thanks to
> libavformat and libavcodec, but also their own implementations). But
> what you are sending with "-f mpeg" is an MPEG Program Stream (as meant
> for files and e.g. for VOB files on DVDs). Most streaming receivers
> won't accept this, but should instead be fine with the format MPEG
> *Transport* Stream. Thus please use "-f mpegts" and it should work. :-)
>
> Cheers,
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
>
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".