FAQ  •  Register  •  Login

What profile and transcoding does MediaBrowser use?

<<

bkeith4web

Streaming enthusiast

Posts: 32

Joined: Sat Feb 02, 2013 11:48 pm

Post Fri Dec 24, 2021 4:19 pm

What profile and transcoding does MediaBrowser use?

I'm trying to get online transcoding to work on a vizio tv (separate post) and ran across some issues using MediaBrowser while testing my http video streams.
What profile is it using? MB will definitely kick off ffmpeg and create transcoding files, the log says "profile=HTML5" but that is not in profiles.xml

I'm asking because mediabrowser will play some container/video/audio combos (like mp4/avc3.1/aac, mkv/avc4.1/aac, mkv/avc10/mp3) but not others (like ac3 audio or hevc-265). So mkv/hevc/aac will play audio but no video is shown, mkv/avc10/ac3 will play video but no audio even though a transcoding job is running in all these cases.

The source is a local video file http-streamed through VLC and my PC has all the codecs to play these natively and when I play them as local files with mediabrowser, they play with no problem, even the mkv/hevc/ac3 combination which fails both video and audio when it's an "online" source.

So the local-source and online transcoding definitely work differently for mediabrowser and that's my question, what profile is it using and where/how is the transcoding controlled?

Or, is hevc/h265 streaming over http not supported? From what I've read, ac3 audio is supported and I haven't seen that hevc is "not" supported so I don't think that's the problem.
<<

atc98092

User avatar

DLNA master

Posts: 5216

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Dec 24, 2021 4:43 pm

Re: What profile and transcoding does MediaBrowser use?

MediaBrowser uses a profile within a different file, and it's one you don't want to mess with. It's within the application-profiles.xml file in the Config folder. Viewing it might give you some idea of the parameters you're looking for.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

bkeith4web

Streaming enthusiast

Posts: 32

Joined: Sat Feb 02, 2013 11:48 pm

Post Fri Dec 24, 2021 5:06 pm

Re: What profile and transcoding does MediaBrowser use?

Thanks, that solves one mystery which is why MB kicks off a transcoding job even when transcoding is disabled in the console i.e. the alwaysEnableTranscoding parameter.
But, the online transcoding clearly isn't working correrctly. It's using the big hammer to transcode absolutely everything:
<OnlineTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264" targetACodec="aac" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>

So if the incoming video is mkv/h264/aac or mkv/h265/ac3 or anything/anything, it should be outputing the same thing, applehttp/h264/aac if I understand correctly.
But then why will MB only play online sources avc4.1 and below, and aac or mp3 audio? It will play absolutely everything from a local file using the regualar transcoding block. Very puzzled...

If you want to test this, just spin up VLC and use 'Media' - 'Stream' to select a video file on your hard drive, go through the wizard and then replace the generated command string with this:
:sout=#std{access=http,mux=ts,dst=:8081} :no-sout-rtp-sap :no-sout-standard-sap :ttl=1 :sout-keep :dshow-caching=12000
and start streaming.

Then add http://<yourpc>:8081 as an online live stream source. I created several different test videos with different container/vcodec/acodec combos to test all this out using handbrake. Maybe different browsers work differently, I'm using Chrome but if the online transcoding block were working the way it's coded, it shouldn't matter (again if I understand correctly). I tried mux=ps and mkv also just for grins but they didn't work either.
<<

atc98092

User avatar

DLNA master

Posts: 5216

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sat Dec 25, 2021 12:42 am

Re: What profile and transcoding does MediaBrowser use?

I can't answer that question. Zip, the Serviio developer, would be the one to explain. He hasn't been real active on the forum recently, but I have no idea why. You might wait a few days, and if he doesn't show up here send him a PM. With the holidays he might have his hands full with life, as we all probably do.

Merry Christmas!
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

bkeith4web

Streaming enthusiast

Posts: 32

Joined: Sat Feb 02, 2013 11:48 pm

Post Sat Dec 25, 2021 4:32 pm

Re: What profile and transcoding does MediaBrowser use?

Thanks Dan and Merry Christmas to you too!

Return to General discussion

Who is online

Users browsing this forum: No registered users and 8 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.