-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Transmission dropping #33
Comments
Why are you using sudo? |
Stream: http://canalsolofertil.live:8787/live/stream.m3u8 This is my normal output stream, I use it internally /usr/share/ffplayout/public/live/stream.m3u8, x9k3 -i /usr/share/ffplayout/public/live/stream.m3u8 -s sidecar.txt -l My transmission output Details
-c:v h264_nvenc |
First off use https, nothing plays http anymore Your looping is jacked up. ffmpeg is not doing your looping of the video, and it's at the end of the loop where it freezes on me. you are also skipping segments, your pts jumps from time to time .
I suspect your problem is how you're doing the looping . x9k3 will loop a video for you.
|
I'll be honest with you though, I am not sure exactly why it's stopping. It should be able to handle it. |
It's working now, did you change something? |
I think I just discovered that I'm using ffplayout which has the effect of repeating the background stream when there is no material in the playlist, thus causing the stream to drop, deactivate it and it became normal |
what does ffplayout do for you, I'm not familiar with it. |
make sure you have the latest x9k3 too. I just added some stuff to handle pts jumps and such. |
I use it to make a playlist of TV programming and may have a page for lay users "ME" |
Wow thank you very much |
you know x9k3 has a --continue_m3u8 option, you can do your own playlist
then do a loop in the shell
|
I still had x9k3 running from before you made the change, it was just sitting there, then it start parsing when you made the change.
You would think ffplayout would just start over at the top of the playlist. Thanks for telling me, because I would have spent a lot of time trying to figure that one out. |
@futzu I tried several things and I noticed that even when a playlist file ffplayout cuts from one to another, it's just strange that cooliobr uses ffplayout too and he told me that he doesn't have this problem, I even made another machine and tried again by reinstalling all |
Huh? x9k3 playlists or ffplayout playlists? If x9k3, get the version I just uploaded 0.2.53 I think your biggest problem is that your stream is HUGE and your server is slow. |
try this for your hls command ffmpeg -re -i input.ts -flags +cgop -vcodec libx264 -preset faster -filter:v:0 scale=640:480 -g 30 -acodec aac -ab 64k -hls_list_size 0 -hls_time 2 stream.m3u8 See if that doesn't work better for you. |
Even better, don't segment the stream, pass x9k3 an mpegts file. Do you have ipforwarding turned on? |
root@fu:~# tcpdump -i any src canalsolofertil.live and port 8787 -A tcpdump: data link type LINUX_SLL2
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on any, link-type LINUX_SLL2 (Linux cooked v2), snapshot length 262144 bytes
00:25:25.814157 wlp3s0 In IP tbn-120-36.tbntelecom.com.br.8787 > fu.lan.44934: Flags [.], ack 3625796679, win 508, options [nop,nop,TS val 537296428 ecr 4113986094], length 0
E..4.5@.".-.-.x$...."S...Cx ..DG...........
.~,.6r.
00:25:25.819474 wlp3s0 In IP tbn-120-36.tbntelecom.com.br.8787 > fu.lan.45744: Flags [S.], seq 3382601239, ack 2880941674, win 65160, options [mss 1396,sackOK,TS val 537296432 ecr 4113986097,nop,wscale 7], length 0
E..<.5@.".,.-.x$...."S....f....j....q~.....t...
.~0.6r1....
00:25:26.009681 wlp3s0 In IP tbn-120-36.tbntelecom.com.br.8787 > fu.lan.45744: Flags [.], ack 145, win 508, options [nop,nop,TS val 537296622 ecr 4113986286], length 0
E..4.5@.".*.-.x$...."S....f................
.~..6r.
00:25:26.011458 wlp3s0 In IP tbn-120-36.tbntelecom.com.br.8787 > fu.lan.45744: Flags [P.], seq 1:156, ack 145, win 508, options [nop,nop,TS val 537296623 ecr 4113986286], length 155
E....5@.".)F-.x$...."S....f................
.~..6r.HTTP/1.1 204 No Content
connection: close
content-type: application/json
date: Thu, 11 Jan 2024 05:25:25 GMT
|
Luiz, bom dia, você está fazendo muita confusão, mas muita mesmo! |
Here's what you should do, make sure each piece is working.
See if that works correctly for you , and then add ffplayout. |
I just did a test here and what I did worked. ffmpeg -re -i http://10.0.0.4:8787/live/stream.m3u8 -flags +cgop -vcodec libx264 -preset faster -filter:v:0 scale=640:480 -g 30 -acodec aac -ab 64k -hls_list_size 0 -hls_time 2 stream.m3u8 and from ffmpeg go to x9k3 x9k3 -i stream.m3u8 -l -d -n --output_dir /usr/share/ffplayout/public/live and it worked without stopping, it just has a huge delay but I'm going to change the settings to see if I can reduce it |
I'm using x9K3 to insert SCTE 35 data and I'm using index.m3u8 to transmit but it suddenly stops and doesn't continue transmission
OS: Debian 12
Comand: sudo x9k3 -i /usr/share/ffplayout/public/live/stream.m3u8 -s sidecar.txt -l
The text was updated successfully, but these errors were encountered: