Streaming (TvHeadend)
Zur Navigation springen
Zur Suche springen
m3u
Mittels folgender URL kann man eine m3u-Liste mit allen Kanälen herunterladen:
http://<ip des servers>:9981/playlist
curl -L --digest "http://web-streaming:<password>@10.3.0.101:9981/playlist/auth/channels" > web-streaming.m3u
Transcoding
sudo apt-get install libmp3lame-dev libx264-dev
https://www.reddit.com/r/raspberry_pi/comments/9bzrhr/tvheadend_transcoding/
ffmpeg
Siehe auch ffmpeg
/usr/bin/ffmpeg -loglevel quiet -i pipe:0 -vf scale=640:360 -vcodec h264_v4l2m2m -vb 1028k -bufsize 2048k -g 100 -af "aresample=async=1:first_pts=0" -acodec mp3 -ab 128k -f mpegts pipe:1 /usr/bin/ffmpeg -loglevel quiet -i pipe:0 -vf scale=480x270 -vcodec h264_v4l2m2m -vb 1028k -bufsize 3000k -g 100 -af "aresample=async=1:first_pts=0" -acodec mp3 -ab 128k -f mpegts pipe:1 /usr/bin/ffmpeg -threads 4 -c:v mpeg2_mmal -v panic -hide_banner -nostats -i pipe:0 -map 0:0 -map 0:1 -map 0:2? -c:v h264_omx -s 480x270 -b:v 768k -pix_fmt yuv420p -bufsize 2048k -c:a aac -ac 1 -ar 22050 -c:s copy -f mpegts -r 25 pipe:1 /usr/bin/ffmpeg -threads 4 -c:v h264_mmal -i pipe:0 -c:v h264_omx -s 480x270 -b:v 768k -pix_fmt yuv420p -bufsize 3000k -c:a libmp3lame -ac 1 -ar 22050 -f mpegts -r 25 pipe:1 - 2>/tmp/ff.log
Zurück zu Tvheadend