Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: Joker41NAM on December 07, 2019, 04:16:13 AM

Title: Convert for Roku
Post by: Joker41NAM on December 07, 2019, 04:16:13 AM
Hello, all.

I just tried playing a vid I'd converted on my Roku for the first time a few days ago, and it said it was not a supported format.

I've been using HEVC (x265), AAC (FDK) [1 track], and MP4 Muxer.  My reading of the Roku info is that these should all work.

Am I missing something?  Should I be using a different setting?

Can provide more info if needed.  Thank you in advance for any assistance.
Title: Re: Convert for Roku
Post by: eumagga0x2a on December 07, 2019, 06:53:43 AM
Quote from: Joker41NAM on December 07, 2019, 04:16:13 AM
I just tried playing a vid I'd converted on my Roku for the first time a few days ago, and it said it was not a supported format.

I've been using HEVC (x265), AAC (FDK) [1 track], and MP4 Muxer.  My reading of the Roku info is that these should all work.

A current model should support this, according to https://developer.roku.com/en-gb/docs/specs/streaming.md if you use HEVC features represented as IDC levels 4.1, 5.0 or 5.1 (leaving IDC level at "auto" might pose a problem).

An older model might lack HEVC support (just a guess).

Additionally, you should use "optimize for streaming" feature of the MP4 muxer. Roku might like the "fragments" setting (which e.g. the default video app on Windows 10 doesn't accept).

QuoteShould I be using a different setting?

Well, you have the device. Use a short test video to reduce re-encoding duration and try out what works and what not.
Title: Re: Convert for Roku
Post by: Joker41NAM on December 16, 2019, 03:35:50 AM
I've been trying different combinations, but have yet to find anything it'll accept.  I've tried all 3 IDC levels listed (5.1, 5, and 4.1) with both AAC and AC3 audio codecs, and no luck yet.

One oddity I noticed:  when I pull up the file on the Roku, it says that the file type is "X-Matroska," but I'm using the MP4 Muxer output, and designating them .mp4.  Am I mis-reading something?

Honestly, I barely know what I'm doing; I've never tried reading a file with anything but VLC before, so I could be completely off-base.  I'm a bit afraid to mess with any settings besides the IDC level, because I don't know what any of them might do.
Title: Re: Convert for Roku
Post by: eumagga0x2a on December 16, 2019, 10:41:19 AM
The first thing to check is whether your Roku device supports HEVC at all. If it doesn't, no IDC level will help, obviously.

If MediaInfo (https://mediaarea.net/en/MediaInfo) identifies the file as MPEG-4, it is not Matroska. "X-Matroska" must be attributed to a bug in the device firmware then.
Title: Re: Convert for Roku
Post by: Joker41NAM on December 16, 2019, 05:15:42 PM
I think I finally figured out the problem.

HEVC/X265 only works on the Roku models that support 4k output.  I have a Roku Streaming Stick (6th gen, 3800R), and it's only for 1080 output.  So I would have to downgrade the encoding to X264 instead of X265, or maybe see if my media server can convert on-the-fly.

Thanks for your patience!