Deihmos 153 Posted November 3, 2015 Share Posted November 3, 2015 I have been testing another app and I realize when I play a video in the web browser there is no hit to the cpu but when played in emby the cpu jumps to nearly 100% because the video is being transcoded. The other app is just transcoding the audio without touching the video and the bitrate is just 3 mbps on a local network. How can I get the same behavior in emby if possible? Link to comment Share on other sites More sharing options...
Luke 37994 Posted November 3, 2015 Share Posted November 3, 2015 please see to give specific examples: http://emby.media/community/index.php?/topic/739-how-to-report-a-problem/ thanks. Link to comment Share on other sites More sharing options...
Deihmos 153 Posted November 3, 2015 Author Share Posted November 3, 2015 (edited) Here are the logs. Thought it was a setting I was missing. server-63582105600.txt transcode-7020d90f-edd7-4089-a896-d5c8236159ef.txt Edited December 8, 2015 by Deihmos Link to comment Share on other sites More sharing options...
Deihmos 153 Posted November 3, 2015 Author Share Posted November 3, 2015 I did a new clean install and experienced the same results. I also notice the same behavior with the roku and I almost remember it direct streaming the video with the audio being transcoded. Now it does a full transcode. Link to comment Share on other sites More sharing options...
Deihmos 153 Posted November 5, 2015 Author Share Posted November 5, 2015 Any thoughts? Low bitrate videos with AAC audio and H264 video also transcode to h264 and aac. Link to comment Share on other sites More sharing options...
Luke 37994 Posted November 5, 2015 Share Posted November 5, 2015 in the above logs the input audio is ac3, not aac. Only MS edge can play ac-3, and even that requires mp4. Link to comment Share on other sites More sharing options...
Deihmos 153 Posted November 5, 2015 Author Share Posted November 5, 2015 (edited) I understand the audio will sometimes need transcoding but why is the video also being transcoded? transcoding audio will barely use the cpu. I actually have another log with an mkv video in h264 and aac audio. This better explains what i am talking about. I am just wondering if emby can do the same. Direct Stream You may have some media that is compatible with your device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). In this case, the file can be Direct Streamed to your device. This means: The video and audio tracks are extracted from the original file; The streams are saved back into a compatible file container; and The Media Server repackages the content on-the-fly before streaming it. Direct Streaming a file uses very little processing power without any loss in video quality. You might have a file that has a stream-compatible video track, but an audio track that needs transcoding. For example, your playback device cannot handle DTS tracks, but works with AC3. In this case: The Audio track will be transcoded from DTS to AC3; The original Video track will not be touched; and The transcoded audio track is sent with the unaltered video track to your device. Edited November 5, 2015 by Deihmos Link to comment Share on other sites More sharing options...
Deihmos 153 Posted December 8, 2015 Author Share Posted December 8, 2015 (edited) Here are the logs. Thought it was a setting I was missing. No answer? If you look at the logs the video is h264 and audio aac but container is mkv. Emby does a full encoding instead of a simple container swap. If I use the following fmpeg command it creates the mp4 file taking about 1 second. Is there a reason emby does a full encoding when it could simply do a container swap? Even if the audio is in another format why can't the video be untouched and just the audio be encoded? ffmpeg -i show.mkv -c copy show.mp4 Edited December 8, 2015 by Deihmos Link to comment Share on other sites More sharing options...
studio-jurdan 9 Posted April 24, 2020 Share Posted April 24, 2020 I realy can't understand WHY in borowser the stream is NOT 100% DIRECT STREAM Vlc can read all stream without re encode. so why the Emby player can't? I must just use emby to find a film and after VLC to play iT? very strange stuff Link to comment Share on other sites More sharing options...
Solution pwhodges 1649 Posted April 24, 2020 Solution Share Posted April 24, 2020 (edited) I realy can't understand WHY in borowser the stream is NOT 100% DIRECT STREAM Vlc can read all stream without re encode. so why the Emby player can't? Because a browser is not VLC, nor MPV. nor MPC-HC, nor MX Player Pro, nor etc - browsers have less capabilities, and it shows! But you don't have to go outside Emby - install Emby Theatre on your desktop and get the capabilities you expect, within the Emby system. Paul Edited April 24, 2020 by pwhodges 2 Link to comment Share on other sites More sharing options...
Happy2Play 8882 Posted April 24, 2020 Share Posted April 24, 2020 I realy can't understand WHY in borowser the stream is NOT 100% DIRECT STREAM Vlc can read all stream without re encode. so why the Emby player can't? I must just use emby to find a film and after VLC to play iT? very strange stuff Please provide specific examples. Every browser has different playback capabilities and really has nothing to do with Emby. You can go to html5test.com to see your browser capabilities. Link to comment Share on other sites More sharing options...
Luke 37994 Posted April 25, 2020 Share Posted April 25, 2020 Because a browser is not VLC, nor MPV. nor MPC-HC, nor MX Player Pro, nor etc - browsers have less capabilities, and it shows! But you don't have to go outside Emby - install Emby Theatre on your desktop and get the capabilities you expect, within the Emby system. Paul Yup, exactly. Link to comment Share on other sites More sharing options...
studio-jurdan 9 Posted April 25, 2020 Share Posted April 25, 2020 OK, and there is no "GOOD" player pluggin for firefox or Chrome? If No i mut re encode all my files in h264-AAC to plays these witnout "on the fly encoding Link to comment Share on other sites More sharing options...
pwhodges 1649 Posted April 25, 2020 Share Posted April 25, 2020 No, you cannot change the basic capabilities of the browser with a plugin. No, you do not have to have on-the-fly transcoding unless you insist on continuing to use the browser instead of the program which is available and will play the way you want. OK, it requires premium - but paying a little to get more facilities is not an unusual concept really. Paul Link to comment Share on other sites More sharing options...
studio-jurdan 9 Posted April 25, 2020 Share Posted April 25, 2020 No, you cannot change the basic capabilities of the browser with a plugin. No, you do not have to have on-the-fly transcoding unless you insist on continuing to use the browser instead of the program which is available and will play the way you want. OK, it requires premium - but paying a little to get more facilities is not an unusual concept really. Paul OK, i understantd but a "litle" for you is a lot for me. for the same price i've got amazon prime with sennding free, prime video and prime music ! Paid syst is ok, but the price is 10X to much... i'll see and test "JELLYFIN" to keep open source and the most important FREE (encoding in hard and no soft, and playing free) THE BASIC FUNCTIONS !!! thanks a lot. i'm going away. Link to comment Share on other sites More sharing options...
rechigo 294 Posted April 27, 2020 Share Posted April 27, 2020 OK, i understantd but a "litle" for you is a lot for me. for the same price i've got amazon prime with sennding free, prime video and prime music ! Paid syst is ok, but the price is 10X to much... i'll see and test "JELLYFIN" to keep open source and the most important FREE (encoding in hard and no soft, and playing free) THE BASIC FUNCTIONS !!! thanks a lot. i'm going away. See you back in a bit, haha. You don't want to pay for premiere to get Emby Theater for a wider range of codec support? Guess what! Jellyfin doesn't even have a usable desktop client, so you'll be back where you were with Emby. Link to comment Share on other sites More sharing options...
studio-jurdan 9 Posted April 27, 2020 Share Posted April 27, 2020 BUT...Jellyfin transcode with the PI4 GPU for free ;-) And old version off Emby Theater are working it! Link to comment Share on other sites More sharing options...
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