braice / MuMuDVB

A DVB IPTV streaming software
http://mumudvb.braice.net/
GNU General Public License v2.0
213 stars 133 forks source link

QUESTION: How to reduce quaility and restream? #263

Closed pawlosck closed 3 years ago

pawlosck commented 3 years ago

How to reduce quality/resolution stream and restream in unicast mode.

Yes, I know, there is info about it using multicast and ffserver, but currently ffserver project is closed.

How to do that using other soft or mumudvb? I want to stream for vlc with epg and for web (with epg - it could be great, but video and audio can be enought too). Video tag doesn't support it or I can't implement it.

FFmpeg can restream using udp://, but it works only in VLC for linux desktop (under windows not tested). VLC (Android) doesn't support it or I can't activate it. I tried other methods, but I couldn't run ffmpeg. There were messages about no permissions to run tcp:// or similar. I run it using root account.

Saentist commented 3 years ago

Multicast and wireless is not good combination, use http-ts streaming.

pawlosck commented 3 years ago

I know. Multicast is horrible. I had huge problems with LAN, when I tried use multicast.

http-ts -> What is this? Is it package for node.js?

Saentist commented 3 years ago

It's other ouput of Mumudvb enable http interface and will see it for more information RTFM


My advice is to disable multicast except you use IGMP snooping software or hardware.

pawlosck commented 3 years ago

RTFM -> no comment

I asked, because ffmpeg contains mpegts output, so I thought it's connected with ffmpeg.

I searched documentation, but I can't find http-ts. What I should search for? Is it options "ip_http" and "port_http"

It's my config. Do I should add/modify/remove something in this config?

card=0 tuner=0 freq=674MHz autoconfiguration=full autoconf_radios=1 multicast_ipv4=0 multicast_ipv6=0 unicast=1 ip_http=0.0.0.0 port_http=7128 sap=1 autoconf_unicast_start_port=6100 store_eit=1

braice commented 3 years ago

There was some experiment at transcoding inside MuMuDVB but it was pretty difficult, the documentation contains information how to transcode and restream with outside tools

On Wed, Sep 16, 2020 at 9:42 PM pawlosck notifications@github.com wrote:

RTFM -> no comment

I asked, because ffmpeg contains mpegts output, so I thought it's connected with ffmpeg.

I searched documentation, but I can't find http-ts. What I should search for? Is it options "ip_http" and "port_http"

It's my config. Do I should add/modify/remove something in this config?

card=0 tuner=0 freq=674MHz autoconfiguration=full autoconf_radios=1 multicast_ipv4=0 multicast_ipv6=0 unicast=1 ip_http=0.0.0.0 port_http=7128 sap=1 autoconf_unicast_start_port=6100 store_eit=1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/braice/MuMuDVB/issues/263#issuecomment-693625585, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRID5XARFRJCODHL22ZXTSGEIMFANCNFSM4RPF7P7A .

pawlosck commented 3 years ago

Could you send me link to documention? I can't find this. I found a lot of things, but I can't find information how to transcode and restream with outside tools.

I found solution, how to restream using ffmpeg (I had to add option "listen"), but I have problem, because ffmpeg is closing when client disconnect.

ffmpeg -i http://localhost:7000 -codec copy -listen 1 -f avi "http://0.0.0.0:7011" -> this works, but ffmpeg is closing.

With "listen 2" I can't connect to ffmpeg. Netstat display ffmpeg as listening app.

I tried to use mkvserver_mk2 too, but it doesn't work for me.

Saentist commented 3 years ago

http://mumudvb.net/documentation/asciidoc/mumudvb-2.1.0/TRANSCODE_EXTERNAL.html

Nginx https://github.com/CESNET/UltraGrid/wiki/Live-web-streaming-with-Nginx

there is lot of LIVE transcoding projects.

braice commented 3 years ago

This might be old but I hope it helps

http://mumudvb.net/documentation/asciidoc/mumudvb-2.1.0/TRANSCODE_EXTERNAL.html

On Fri, Sep 18, 2020 at 1:59 AM pawlosck notifications@github.com wrote:

Could you send me link to documention? I can't find this. I found a lot of things, but I can't find information how to transcode and restream with outside tools.

I found solution, how to restream using ffmpeg (I had to add option "listen"), but I have problem, because ffmpeg is closing when client disconnect.

ffmpeg -i http://localhost:7000 -codec copy -listen 1 -f avi " http://0.0.0.0:7011" -> this works, but ffmpeg is closing.

With "listen 2" I can't connect to ffmpeg. Netstat display ffmpeg as listening app.

I tried to use mkvserver_mk2 too, but it doesn't work for me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/braice/MuMuDVB/issues/263#issuecomment-694563064, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRID5PKT3LKD4D3RV4YTLSGKPFNANCNFSM4RPF7P7A .

pawlosck commented 3 years ago

http://mumudvb.net/documentation/asciidoc/mumudvb-2.1.0/TRANSCODE_EXTERNAL.html

This tutorial need ffserver which is not active project. http://trac.ffmpeg.org/wiki/ffserver Warning: ffserver has been removed on 2018-01-06. If you still need it checkout commit 2ca65fc or use the 3.4 release branch.

Nginx https://github.com/CESNET/UltraGrid/wiki/Live-web-streaming-with-Nginx

I am using Apache, so I can't install Nginx.

there is lot of LIVE transcoding projects.

Could you give more other projects or tutorials? It would be great, if these project will be open source.

pawlosck commented 3 years ago

This might be old but I hope it helps http://mumudvb.net/documentation/asciidoc/mumudvb-2.1.0/TRANSCODE_EXTERNAL.html

This tutorial need ffserver which is not active project. http://trac.ffmpeg.org/wiki/ffserver Warning: ffserver has been removed on 2018-01-06. If you still need it checkout commit 2ca65fc or use the 3.4 release branch.

kslimani commented 3 years ago

I am using Apache, so I can't install Nginx.

You can install Nginx with Apache, just don't bind on same http port number.

pawlosck commented 3 years ago

I am using Apache, so I can't install Nginx.

You can install Nginx with Apache, just don't bind on same http port number.

Ok, maybe other words. I don't want to install second web server. I never use Nginx and I don't know how to configure it. This host is available in the Internet and I want to install minimal number of apps. More applications (especially network apps), more hacking possibilities. Just security.

Saentist commented 3 years ago

NGINX can accelerate your Apache (with is main propose of nginx)

malakudi commented 3 years ago

How to reduce quality/resolution stream and restream in unicast mode.

Yes, I know, there is info about it using multicast and ffserver, but currently ffserver project is closed.

How to do that using other soft or mumudvb? I want to stream for vlc with epg and for web (with epg - it could be great, but video and audio can be enought too). Video tag doesn't support it or I can't implement it.

FFmpeg can restream using udp://, but it works only in VLC for linux desktop (under windows not tested). VLC (Android) doesn't support it or I can't activate it. I tried other methods, but I couldn't run ffmpeg. There were messages about no permissions to run tcp:// or similar. I run it using root account.

MuMuDVB doesn't do transcoding. It only streams original streams. This is no issue of MumuDVB, so it can be closed.