jzguoyan 0 Posted August 22, 2020 Share Posted August 22, 2020 Hi I try to use EmbyServer on the Raspberry Pi 4B. But most movies can't be transcode fluently by Emby on the Raspberry Pi 4B 8G. So I think the EmbyServe is not suitable to use on the Raspberry Pi 4B. Is that true and if anybody had used EmbyServer on the Raspberry Pi 4B? Somebody pls help me! Thank you! Link to comment Share on other sites More sharing options...
mastrmind11 717 Posted August 22, 2020 Share Posted August 22, 2020 um, no, rpi isn't suitable for media that needs transcoding. convert your media to a format that is able to be streamed directly, or install emby on a device with better performance. you could also try to get hardware acceleration running, though I've never tried that nor know whether it's fully supported. Link to comment Share on other sites More sharing options...
Luke 37009 Posted August 22, 2020 Share Posted August 22, 2020 Most likely the RPI isn't fast enough for this, but let's look at an example. Please attach the information requested in how to report a problem. thanks. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 23, 2020 Author Share Posted August 23, 2020 12 hours ago, mastrmind11 said: um, no, rpi isn't suitable for media that needs transcoding. convert your media to a format that is able to be streamed directly, or install emby on a device with better performance. you could also try to get hardware acceleration running, though I've never tried that nor know whether it's fully supported. The topic below is likely to implement transcoding fluently with HW Acceleration on the Raspberry Pi 4B, but I tried again and again without success. Did I understand it wrong somewhere? Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted August 23, 2020 Share Posted August 23, 2020 Deleting the other two duplicate topics. Link to comment Share on other sites More sharing options...
Luke 37009 Posted August 23, 2020 Share Posted August 23, 2020 Again it depends on what you're playing and how you've configured it. That's why I asked to look at an example. Thanks. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 23, 2020 Author Share Posted August 23, 2020 (edited) 6 hours ago, Luke said: Again it depends on what you're playing and how you've configured it. That's why I asked to look at an example. Thanks. Sorry, I misunderstood what you meant before. I use the Doraemon.Nobitas.of.the.Moon.Exploration.2019.1080p.BluRay.DTS.4Audio.x264-HDS-Obfuscated as the example. As figured below, of course it's no problem with direct steam, but when I turned the Audio code from default to Chinese AC3 stereo and the Subtitles on to Chinese(PGSSUB), the playback that was been transcoding automatically became lagging about every 3 minutes, regardless I kept default as YES or I selected "Advanced" with "ARM V4L2 H.264" under the item of "Enable hardware acceleration when available" of the "Transcoding" tab. If I selected "Advanced" with "OpenMax H.264", the movie couldn't even be played any more. I don't know if I have described my problem clearly, I beg forgiveness for my clumsiness in language, and hope to get your help. My Edited August 23, 2020 by Happy2Play Removed 2 images with WAN IP Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted August 23, 2020 Share Posted August 23, 2020 Please post the ffmpeg log, but your biggest issue will be the pgsub as the majority of the time will require a full transcode. I bet you would not have a issue with external subtitles. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 23, 2020 Author Share Posted August 23, 2020 (edited) 10 hours ago, Happy2Play said: Please post the ffmpeg log, but your biggest issue will be the pgsub as the majority of the time will require a full transcode. I bet you would not have a issue with external subtitles. Hello, Happy2Play! You are so great and I thank you very very much. When I change the Subtitles to "off", the movie can transcoding and play fluently without even HW Acceleration. I want to know what about the pgsub and the external subtitles. If subtitles are really needed, how can I avoid using pgsub to avoid the video playback lagging? Why can't the movie be transcoded at all when I changed the HW Acceleration setting to "OpenMax H.264"? When I use the movie of The Lion King2160p as another example just now, the lagging exists again with only the video quality was changed from 4K-120Mbps to 1280-4Mbps. The two of the FFmpeg logs about Doraemon.Nobitas.of.the.Moon.Exploration.2019.1080p.BluRay.DTS.4Audio.x264-HDS-Obfuscated and The Lion King2160p are put below: Thank you very much again! ffmpeg-transcode-f5898f6c-3b73-4620-8e06-7fffab36418d_1.txtffmpeg-transcode-fd191bf4-54c6-43df-b0a2-b112bfec8f31_1.txt Edited August 23, 2020 by jzguoyan Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted August 23, 2020 Share Posted August 23, 2020 PGSUB are graphical subtilities that require power to be burned into the video, where srt subs are text that can be overlayed. PGSubs bring down real machines also as there are dozens of topics. Some of it will be expecting more then what the PI is capable of Hardware encoding is happening, just really slow (fps=7.3) 02:46:49.489 Stream mapping: 02:46:49.489 Stream #0:0 (hevc) -> scale (graph 0) 02:46:49.489 scale (graph 0) -> Stream #0:0 (h264_v4l2m2m) 02:46:49.489 Stream #0:1 -> #0:1 (truehd (native) -> mp3 (libmp3lame)) Now software encoding is even slower (fps=5.5) 19:41:23.832 Stream mapping: 19:41:23.832 Stream #0:0 (h264) -> overlay:main (graph 0) 19:41:23.832 Stream #0:5 (pgssub) -> scale (graph 0) 19:41:23.832 overlay (graph 0) -> Stream #0:0 (libx264) 19:41:23.832 Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 23, 2020 Author Share Posted August 23, 2020 How about the success implemented in the topic below and is Raspberry Pi really unsuitable for Emby? Thank you! https://www.reddit.com/r/jellyfin/comments/ei6ew6/rpi4_hardware_acceleration_guide/?ref=share&ref_source=embed&utm_content=title&utm_medium=post_embed&utm_name=967549c926c64fd1b17a9571f74b2c84&utm_source=embedly&utm_term=ei6ew6 Link to comment Share on other sites More sharing options...
Happy2Play 8242 Posted August 23, 2020 Share Posted August 23, 2020 (edited) I honest can not say as I do not know what jellyfin is doing differently. But they really don't talk about any subtitles either, I see one and they are text. So from a video audio standpoint does your ffmpeg log look like? Edited August 23, 2020 by Happy2Play Link to comment Share on other sites More sharing options...
Luke 37009 Posted August 23, 2020 Share Posted August 23, 2020 Their example is a different video, not burning in subtitles. It is completely different. Try turning off the subtitles before playback and see how that compares. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 24, 2020 Author Share Posted August 24, 2020 (edited) 14 hours ago, Luke said: Their example is a different video, not burning in subtitles. It is completely different. Try turning off the subtitles before playback and see how that compares. After turning off the subtitles, the playback about Doraemon.Nobitas.of.the.Moon.Exploration.2019.1080p.BluRay.DTS.4Audio.x264-HDS-Obfuscated could be transcoded fluently with only one device but one device couldn't be transcoded fluently if I used two devices at the same time, and the playback about The Lion King2160p couldn't be transcoded no matter any setting. I want to know what about the pgsub and the external subtitles. If subtitles are really needed, how can I avoid using pgsub to avoid the video playback lagging? As figured below, all the subtitles are PGSSUB, I can't find any other subtitle which is text. What can I do to make emby to load subtitles which is text? Why can't the movie be transcoded at all when I changed the HW Acceleration setting to "OpenMax H.264"? What about the difference between OpenMax and V4L2? Which one is necessary? Thank all of you very much! Edited August 24, 2020 by jzguoyan Link to comment Share on other sites More sharing options...
Luke 37009 Posted August 25, 2020 Share Posted August 25, 2020 Have you checked out our subtitle download features? It can help you acquire text based subtitles which are much more efficient than pgs. Regarding the two gpu options, @softworkz can help explain that. Thanks. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 26, 2020 Author Share Posted August 26, 2020 11 hours ago, Luke said: Have you checked out our subtitle download features? It can help you acquire text based subtitles which are much more efficient than pgs. Regarding the two gpu options, @softworkz can help explain that. Thanks. Thank you very much! Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 27, 2020 Author Share Posted August 27, 2020 (edited) On 25/08/2020 at 21:32, Luke said: Have you checked out our subtitle download features? It can help you acquire text based subtitles which are much more efficient than pgs. Regarding the two gpu options, @softworkz can help explain that. Thanks. Hello, Luke! Where are @softworkz. Why can't the movie be transcoded at all when I changed the HW Acceleration setting to "OpenMax H.264"? What about the difference between OpenMax and V4L2? Which one is necessary? Please help me. Thank all of you very much! Edited August 27, 2020 by jzguoyan Link to comment Share on other sites More sharing options...
softworkz 3326 Posted August 28, 2020 Share Posted August 28, 2020 On 8/27/2020 at 10:49 AM, jzguoyan said: Where are @softworkz. Why can't the movie be transcoded at all when I changed the HW Acceleration setting to "OpenMax H.264"? What about the difference between OpenMax and V4L2? Which one is necessary? @jzguoyan - I'm afraid, I'm not an expert for the RPI. All I know is that these two hardware acceleration interfaces are basically available on the RPI, but I can't say on what it might depend which one is working (or both). That being said - one thing I can say for sure: The RPI doesn't have two different h264 hardware encoders - so it's just two ways to access the same thing. Everything else has been said already: RPI is neither suitable for subtitle burn-in nor for transcoding UHD videos. Transcoding down a 1080 video for a single client should run fine, but that's probably all that can be expected. Link to comment Share on other sites More sharing options...
jzguoyan 0 Posted August 29, 2020 Author Share Posted August 29, 2020 10 hours ago, softworkz said: @jzguoyan - I'm afraid, I'm not an expert for the RPI. All I know is that these two hardware acceleration interfaces are basically available on the RPI, but I can't say on what it might depend which one is working (or both). That being said - one thing I can say for sure: The RPI doesn't have two different h264 hardware encoders - so it's just two ways to access the same thing. Everything else has been said already: RPI is neither suitable for subtitle burn-in nor for transcoding UHD videos. Transcoding down a 1080 video for a single client should run fine, but that's probably all that can be expected. @softworkz - Okay, I got it. Thank you so much for your answer. 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