Jump to content

OTA .ts files need to be transcoded, correct?


pryoclastic

Recommended Posts

pryoclastic

This is kind of an elusive problem and it is partly due to my inexperience with media formats.

 

I am assuming that a .ts file that is created by an OTA recording will *always* require transcoding.  If that is correct, I dont understand what is happening under the hood when watching a show via roku that will cause it to buffer on a regular basis whereas a phone or tablet will not.

 

Is there anything in the logs specifically that I can look for that will shed some light on what is causing the buffering?

Link to comment
Share on other sites

pryoclastic

it depends on what app you're playing from.

 

Okay.  So focusing on Roku ..

 

Because of the buffering I am assuming it is because of transcoding.  If so, how do I validate that?  What do I look for in the logs?

Link to comment
Share on other sites

unhooked

Roku will always transcode ts, in the past it was because they didn't want to pay for mpeg2 codecs, but now there's no excuse. It's kind of mind boggling, they don't even support it on their tv products and ts is the native container for OTA.

Link to comment
Share on other sites

Roku will always transcode ts, in the past it was because they didn't want to pay for mpeg2 codecs, but now there's no excuse. It's kind of mind boggling, they don't even support it on their tv products and ts is the native container for OTA.

 

I believe Roku tv devices support mpeg2.

  • Like 1
Link to comment
Share on other sites

unhooked

I believe Roku tv devices support mpeg2.

Hmmm, I'll have to pop into my settings and check if I can direct play now, in the past that wasn't the case. Before it was just the hardware decoder and that wasn't accessible by apps.

Edited by unhooked
Link to comment
Share on other sites

unhooked

I mean a Roku TV and not a roku box.

Yeah, I knew that. I popped through my settings and even with direct play and direct stream enabled it's still transcoding mpeg2-ts to x264, audio is direct though. 5be12f86f11b6_plextv5.png

sharp roku tv, 8.2 or whatever they just pushed.

Link to comment
Share on other sites

unhooked

That's not our software.

I know that too ;-), but it's also the reason there's no native support on the roku for hdhomerun either.

Link to comment
Share on other sites

unhooked

I just started screwing around with this again, sharp roku tv is doing direct streams from dlna and with that trick you guys added by swapping containers in emby.

Not roku mpeg2ts support, but it works nicely.

 

I don't know why roku has to hide this from everyone but if enforces my decision not to ever buy there stuff again ;-)

Link to comment
Share on other sites

I just started screwing around with this again, sharp roku tv is doing direct streams from dlna and with that trick you guys added by swapping containers in emby.

Not roku mpeg2ts support, but it works nicely.

 

I don't know why roku has to hide this from everyone but if enforces my decision not to ever buy there stuff again ;-)

 

You dont really want mpeg2ts support. It will not let you use the seekbar. All you can do is livestream with a pause button to build a buffer. Is this what you want? We can make this possible. Any roku model that supports mpeg2video also supports directplay of mpeg2ts, but you cannot seek until you pause. We considered this, but thought it was better to remux to HLS/m3u8 in ts slices which copies both the video and audio streams and lets you seek. The app can auto-detect any Roku devices with mpeg2video support. We know more about what their devices can play than even Roku does. We are doing the very best we can for you.

  • Like 1
Link to comment
Share on other sites

unhooked

You dont really want mpeg2ts support. It will not let you use the seekbar. All you can do is livestream with a pause button to build a buffer. Is this what you want? We can make this possible. Any roku model that supports mpeg2video also supports directplay of mpeg2ts, but you cannot seek until you pause. We considered this, but thought it was better to remux to HLS/m3u8 in ts slices which copies both the video and audio streams and lets you seek. The app can auto-detect any Roku devices with mpeg2video support. We know more about what their devices can play than even Roku does. We are doing the very best we can for you.

You guys are doing great. Being able to go direct to ts would be cool too,but the container swap works well enough.  When I watch live tv I don't care about seek. All my gripes are directed to roku, they keep finding new ways to make their tvs suck more.

Link to comment
Share on other sites

pryoclastic

All you can do is livestream with a pause button to build a buffer.

Yeah that would be no bueno from me if I was ever asked.

 

;)

 

Still testing ways to cleanly and reliably cut commercials and until then it is seek.

 

And thanks, speechles, for the under-the-hood tidbit on the remux to m3u8. It is that kind of information that really helps me understand the product better.

 

To walk this back a bit to the intent of the thread .. I want to keep the load on the server as low a possible and avoid transcoding. But creating a million m3u8 .ts files for a show doesn't seem like a reasonable proposition either.

 

What is the best format to convert the .ts files into for playing on Roku?

 

Thanks!

Edited by pryoclastic
Link to comment
Share on other sites

pryoclastic

MKV or MP4. Our media conversion feature can help with this. You can learn more by checking out the announcement for it:

https://emby.media/community/index.php?/blog/1/entry-423-emby-server-34-released/

 

Awesome.

 

When does the automatic conversion take place?  Immediately after capture is complete, at a scheduled time or when load is low?  What happens to the original .ts file after it has been converted?

Link to comment
Share on other sites

During the convert media scheduled task.

 

 

 

What happens to the original .ts file after it has been converted?

Depends on the options you pick.

Link to comment
Share on other sites

Awesome.

 

When does the automatic conversion take place?  Immediately after capture is complete, at a scheduled time or when load is low?  What happens to the original .ts file after it has been converted?

 

You should be able to simply remux both video/audio streams into an MKV container that is all you need to do. The only reason the Roku has to remux is because we tell it not to support the mpeg2ts container directly because it will not allowing seeking.

Link to comment
Share on other sites

unhooked

Can't really remove commercials from live tv (well you can, but you'd just be staring at a blank screen for 18 minutes every hour) ;-)

But you can call the post processing hook to remove them as the last step of recording.

 

I'm testing the one I use with plex - here now while I've got a paid month as my last step before ditching them.

 

Just modified it to re-container instead of transcode since it takes like 6 hours to convert ts to h265 and 3 hours to h264 on my old box and that's just silly for stuff I'll delete quickly.

 

It takes about 3 minutes to comskip and swap to mkv on the same system so I can live with 2.5G files for now.

Edited by unhooked
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...