Project

General

Profile

PIPE IS KILLING ME T_T

Added by Josh Flower over 2 years ago

Hi All

This is my first post here, so please be gentle.
I'm new to TVH and was reading the forum, i get some knowledge but still is a lot to abosrb in a coupple of day...
I managed to install ubuntu server 20.04 + tvheadend 4.2.8-36.
DELL R540 with NO TURNERS
I achieved watch channels over my smartphone and pc using vlc and tvh client...but like most of you, it is not flawless or without freeze so i must moved to ffmpeg topics and here is where iam stuck ....i dont know why can´t make work pipe on my server

As you can see on my first image 1, i have a link working perfectly

Image 1 LINK: http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8

So far so good BUT when i try to use pipe, my frustation come...as you can see,
Tried on shell just: pipe://
with error: bash: pipe://: No such file or directory
(orange rectangle on image 2)

i tried with a simple pipe got it from forum:
pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 (this was pasted it on networt IPTV - manually on URL)
Error log at the end of this topic
On shel same error with error: bash: pipe://: No such file or directory
(yellow rectangle on image 2)

even tried create a ts file with pipe:
pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 test.ts
with error: bash: pipe://: No such file or directory
(white rectangle on image 2)

just success doing a normal ts with ffmpeg:
ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 test.ts
(green and BLUE rectangle on image 2)
Even more, i can watch easily with vlc that file test.ts

Well to resume...i cant make to work pipe, there is something i must install o enable?? what im doing wrong?
There is a simple way to test if my pipe is working?

i really want make to work pipe...

ill appreciate your answer, i thanks in advance and apologize for my english!!
Salute

LOG ERROR from pipe putting manually on iptv network

2022-06-06 22:35:49.379 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 in TucTEst - tuning on IPTV

2022-06-06 22:35:49.381 epggrab: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 in TucTEst - registering mux for OTA EPG

2022-06-06 22:35:49.381 spawn: Executing "/usr/bin/ffmpeg"

2022-06-06 22:35:49.381 subscription: 000A: "scan" subscribing to mux "pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8", weight: 5, adapter: "IPTV", network: "TucTEst", service: "Raw PID Subscription"

2022-06-06 22:35:55.602 spawn: At least one output file must be specified

2022-06-06 22:35:55.610 spawn: Executing "/usr/bin/ffmpeg"

2022-06-06 22:36:01.823 spawn: At least one output file must be specified

2022-06-06 22:36:01.832 spawn: Executing "/usr/bin/ffmpeg"

2022-06-06 22:36:04.379 mpegts: pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 in TucTEst - scan no data, failed

2022-06-06 22:36:04.379 subscription: 000A: "scan" unsubscribing

1234.png (902 KB) 1234.png IMAGE 1
12345.png (220 KB) 12345.png IMAGE 2

Replies (1)

RE: PIPE IS KILLING ME T_T - Added by Josh Flower over 2 years ago

Ok, looks like the pipe command i got it form forum wasnt work correctly...i think...because i tested another and work

This is which pipe work in my test:
pipe:///usr/bin/ffmpeg -loglevel fatal -headers User-Agent:Mozilla\r\n -i http://39.134.115.163:8080/PLTV/88888910/224/3221225646/index.m3u8 -map 0 -c copy -metadata service_name=SVC -f mpegts pipe:1

improve too little with this format..still freeze a lot & lost packets , this server is far away from my country...i know is more difficult to have a fluid channel but if i achieved it with the perfect config....i have 100% of security ill have a perfect tvheadend working on my network!

what should change on my pipe to improve it??
there is something more what i can do to have a fluid chinese channel?
There is another type of strategy in this case?

i hope some can lead me in the right way...
Thank you in advance!

    (1-1/1)