siddhartha 11 Posted January 4, 2017 Posted January 4, 2017 Since I started using emby a couple years ago, I've never been able to get it to transcode properly on my Panasonic Viera. If I pause or seek a transcoding video, when I resume play, it will always restart from the beginning. Interestingly, the timestamp on the TV will remain at its last position, so it could be playing from the beginning of the video while the timestamp on the TV is fifteen minutes in. When I stop playing altogether, emby will remember the timestamp of the TV, not the time stamp of transcoding video's position. I'm not clear on how transcoding is supposed to work. When emby receives a "pause" command from the TV, does it stop the ffmpeg encoding and then start it again at a specified position when the TV resumes play? I've tried a bunch of different Transcode and Response Profiles in the DLNA profile for the Viera, but nothing has ever worked. I'm stuck. I've attached the dlna and transcode logs. These are the logs generated when I started playback at the beginning for a few seconds, paused, seeked to about ten minutes in, resumed playback for a few seconds, then stopped playback. On the TV, the video started at the beginning, paused, then after I resumed play after the seek, the video started at the beginning again. It's interesting that there's only one transcode log. I have a feeling that emby isn't relaying the timestamp information to ffmpeg. I can pause and seek and resume non-transcoded videos just fine. Also, the TV will display the relative timestamp informationi correctly (the seeked-to-and-resumed-position), even if the video position is completely different. Emby remembers the TV's timestamp for resuming videos, so the correct timestamp is getting back to emby, I just don't think it's being passed on to ffmpeg. I've also attached the wireshark capture (emby.txt; rename to emby.pcapng). Thanks for your help! dlna.txt transcode.txt emby.txt
Luke 42077 Posted January 4, 2017 Posted January 4, 2017 If you're seeing this when pausing there might not be much we can do. Emby never gets a pause command with Dlna because pausing happens with the Dlna renderer. What's probably happening is the TV keeps downloading the stream and then it's buffer fills up and at that point it just aborts.
siddhartha 11 Posted January 5, 2017 Author Posted January 5, 2017 That's interesting... Isn't it just receiving an MPEG-TS stream from emby the same way it receives something like an MKV file? I'm able to pause non-transcoded media without issue. Maybe it handles TS streams differently?
Luke 42077 Posted January 5, 2017 Posted January 5, 2017 With direct stream it's a static file which means it has certain characteristics applied to the responses that allow the player to easily seek within the file.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now