Trying to find a proper workaround for seeking in a transcoded stream

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
User avatar
mik_s
Moderator
Posts: 1127
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by mik_s »

I don't think most Samsungs use seek by time as most of the comments about unable to FF have been on Samsung TVs.

Did a quick test on my F series using exclusive but made no difference. Although it did show a total length, it was not correct. and FF RWD are greyed out
DSC_0129-small.JPG
DSC_0129-small.JPG (26.57 KiB) Viewed 6791 times
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by SubJunk »

I meant most of our Samsung TV renderer configs use that. Some use exclusive though. Which config is your TV using?
User avatar
mik_s
Moderator
Posts: 1127
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by mik_s »

It was one I made a while back, think it was based on the not-CD one. I don't use my TV for streaming so never bothered to get it 100% right, but it works better than the default.
Attachments
Samsung-F6400.conf
(3.07 KiB) Downloaded 312 times
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by SubJunk »

Cool, we should get it working then put it on GitHub so other users can benefit.

Can you try setting some different options for TranscodedVideoFileSize?
TranscodedVideoFileSize=-1
and
TranscodedVideoFileSize=1000000

PS3 and LG TVs like the first one, since it tells it that we don't have a size and then it works it out itself, and the second one is a hack to enable ff by telling the renderer the file is huge. The duration will appear very long but you get better functionality.
There may be interaction between that setting and the SeekByTime one too
User avatar
mik_s
Moderator
Posts: 1127
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by mik_s »

No luck :(
tried both with SeekByTime = true and SeekByTime = exclusive but had same results.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by SubJunk »

Hmm that's interesting, it should have had some effect on it. Can you attach logs when you used TranscodedVideoFileSize=1000000 so I can check if it sent that value to the TV properly?
User avatar
mik_s
Moderator
Posts: 1127
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by mik_s »

No probs
Attachments
ums_dbg_Mik.zip
(207.72 KiB) Downloaded 317 times
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by SubJunk »

Ok, I can see it is correctly setting that value in the logs, can you try it with SeekByTime = false as well? That way we are telling the renderer to use seek by byte and telling it a lie about how many bytes there are
User avatar
mik_s
Moderator
Posts: 1127
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by mik_s »

Done
Attachments
ums_dbg_Mik2.zip
(157.17 KiB) Downloaded 306 times
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
User avatar
SubJunk
Lead Developer
Posts: 3707
Joined: Sun May 27, 2012 4:12 pm

Re: Trying to find a proper workaround for seeking in a transcoded stream

Post by SubJunk »

Did it do the same thing as before?
Can you also split the line:

Supported = f:mpegps|mpegts v:h264|mjpeg|mp4|mpeg1|mpeg2|wmv a:aac-lc|he-aac|ac3|dts|lpcm|mp3|wma m:video/mpeg

Into two lines:

Supported = f:mpegps v:h264|mjpeg|mp4|mpeg1|mpeg2|wmv a:aac-lc|he-aac|ac3|dts|lpcm|mp3|wma m:video/mpeg
Supported = f:mpegts v:h264|mjpeg|mp4|mpeg1|mpeg2|wmv a:aac-lc|he-aac|ac3|dts|lpcm|mp3|wma m:video/vnd.dlna.mpeg-tts

That might not help with this problem but it's more correct
Post Reply