Difference between live stream and recorded stream using pass-through profile
Added by Oleg _ about 5 years ago
Build: 4.2.8-31~g0a60f73ee (2019-07-01T01:03:03+0200)
iptv using pipe:///usr/bin/ffmpeg -loglevel fatal -re -i http://xxxxxxxx.xxx/xxxx/xxx/61.ts -c copy -f mpegts -tune zerolatency pipe:1
Hello,
I have amazon fire tv stick 4k that had issues with interlaced playback which now seems to have been partially resolved after firmware update.
I am able to play live tv on it but i am not able to play recorded tv that is using "MPEG-TS Pass-thru" stream profile. My assumption was that pass-through makes identical copy of live stream but i am not able to play it on fire tv stick 4k, it starts but video freezes after a second but status bar continues to go forward.
Is there anything i can do/disable to mimic live stream profile with recorded tv? I am using kodi with tvheadend addon to play.
Thank you
Replies (13)
RE: Difference between live stream and recorded stream using pass-through profile - Added by saen acro about 5 years ago
Wait for newer amazon patch
What player you use
Be more detailed we don't stay next to you.
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
Thank you for reply.
I read Kodi forum post and it is not freezing on me, I can still stop the playback and turn on live TV so that is why I thought to find out what is the difference between recorded TV stream and live TV stream when accessed from Kodi tvheadend add-on. I think accessing stream can be ruled out as i copied .ts file to smb share and wasn't able to play it using kodi, i wasn't accessing it over tvheadend addon.
I am using Kodi krypton 17.6 with Kodi tvheadend add-on on fire TV stick, what player information would you like me to provide? Screenshot of Kodi playback when pressing o keyboard button when playing live and when trying to play recorded TV?
Attached screenshot of playback of live TV.
RE: Difference between live stream and recorded stream using pass-through profile - Added by saen acro about 5 years ago
If input is interlaced and output is progressive,
lines artefact are visible.
Set correct output to HDMI, 25/30 fps or interlaced.
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
A bit of stuttering when playing back live TV but no missing lines.
Fire TV display resolution is set to automatic and allows Kodi to set resolution but no option for interlaced only progressive.
I could not find a setting on fire TV or Kodi regarding FPS limit other than video settings and sync playback to display but it did not change anything, at least I couldn't see. The only thing I found in Kodi is refresh rate, currently set to 59 Hz, tried to change back to 50 but no difference.
RE: Difference between live stream and recorded stream using pass-through profile - Added by saen acro about 5 years ago
50Hz interlaced is 25Hz progressive
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
I am not sure what refresh rate progressive should have as i do not have progressive channels or i just didn't understand your post.
Looking at my recording settings i noticed that i have a script running that executes below to fix problems with forwarding when watching it so will try to remove script, play, record and try play recording.
/usr/bin/ffmpeg -i file:"$TSVIDEO" -c copy -f mpegts "$TSVIDEO.tmp"
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
Just tested removing script that starts after recording finishes and it is still the same, just excluded script being an issue.
RE: Difference between live stream and recorded stream using pass-through profile - Added by saen acro about 5 years ago
Hardware solution is to watch interlaced video on 25/30Hz
software is
ffmpeg -i input.ts -vf yadif -c:v libx264 -preset slow -crf 19 -c:a aac -b:a 256k output.mp4
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
Thank you, I tried playback on 25 Hz and 30 hz but it did not help.
I know software will do the job but I am running it on slow powered device hence software is not an option at the moment.
Would you be able to let me know what is the difference between live TV stream and recorded tv or maybe URL if you know where I can read about it as I could not find using my search terms.
RE: Difference between live stream and recorded stream using pass-through profile - Added by Joe User about 5 years ago
Did you try changing the "rewrite" options for the pass profile?
Unfortunately it is hard to guess the problem since iptv streams can vary quite a bit.
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
I tried disabling all of the below and restarted tvheadend service but still the same, video frame freezes but status bar continues, i am not sure about the sound as it is late and i had tv on mute.
Rewrite PMT:
Rewrite PAT:
Rewrite SDT:
Rewrite EIT:
Thank you for suggestion
RE: Difference between live stream and recorded stream using pass-through profile - Added by saen acro about 5 years ago
Oleg _ wrote:
I tried disabling all of the below and restarted tvheadend service but still the same, video frame freezes but status bar continues, i am not sure about the sound as it is late and i had tv on mute.
Rewrite PMT:
Rewrite PAT:
Rewrite SDT:
Rewrite EIT:Thank you for suggestion
Set Rewrite Service ID: to 1
RE: Difference between live stream and recorded stream using pass-through profile - Added by Oleg _ about 5 years ago
Sorry for such a later reply, i thought i wrote a long reply with urls a few days ago but it is not here.
I cannot find how to set Rewrite Service ID: to 1, is it an entry that i need to add to config file or is it in Configuration>Streams>Pass>,i am on 4.2.8 so maybe it is somewhere else or wasn't implemented?