Jump to content

Search the Community

Showing results for tags 'transcoding'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support


  • Emby Blog

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

  1. Hi, I want to notify you that the problem in playing files with DV and HDR10 from Netflix has been solved in the new Beta version 2.0.87g. Here below I am going to attach the screenshots where you can see the direct play without any transcoding and the HDR10 working without problem: But also luckily I am being able to force my Emby server to use HLS play, in the files and contents that cause constant jumps and jerks in the images, and thanks to the playback with HLS the jumps and jerks in the images are totally solved in my OLED television, in the movies and television series that come from the Apple TV + service there are always jumps and jerks but thanks to HLS they are 100% resolved. Here below I am going to attach the screenshots where you can see the HLS playback solving all the jerks and jumps in the images and so I can enjoy a totally smooth playback: I wonder how HLS playback solves the jumps and jerks in the images on my TV? Mystery... Thank you very much! Greetings
  2. altozar

    Issue with Transcoding

    Howdy, having an issue were transcoding is too slow and keeps stopping, starting, stopping, etc. I have been using a Radeon RX580 - 4GB card and did not have issues in the past, only since having to redo the server. There is a premier subscription. The only thing different from the default install of the server is I am running it as a service instead of an application but with the appropriate admin user details. Also attaching a ffmpeg transcode log. many thanksffmpeg-transcode-050980ce-2568-42e4-8c23-cd2b972f3083_1.txt
  3. Hey everyone, I've just finished moving my emby server off my main pc to a small unit (Intel N5105) running linux and while it's all working I noticed it was falling back on software transcoding all the time, Intel QSV is setup and working however I get this error message in the emby logs before it witches to software; 10:13:34.714 Impossible to convert between the formats supported by the filter 'Parsed_null_0' and the filter 'auto_scale_0' 10:13:34.714 Error reinitializing filters! 10:13:34.714 Failed to inject frame into filter network: Function not implemented 10:13:34.714 Error while processing the decoded data for stream #0:0 10:13:34.715 [libmp3lame @ 0x215ec80] 3 frames left in the queue on closing 10:13:34.729 Conversion failed! I'm running the latest emby server in a docker container on endevouros with kernel and any help would be brilliant ffmpeg-transcode-32b0a7e5-549c-42a6-8dc3-efe272d29371_1.txt
  4. Loving EMBY!!!!!!!!! However, I have an issue with HDR files. I'd like to make my growing 4K HDR library available to my family (outside of my network) to stream, but they only have regular SDR screens so playing back HDR content on their screens looks washed out and hue shifted colors due to incorrect tone mapping. Does/or will Emby adjust tone-mapping during transcode from HDR to SDR (like MadVR does) when it sees that the display device is an SDR screen? Many thanks
  5. Hi all, I have run into a rather weird issue this evening after reviewing my hardware encoder options. After seeing a remote user connecting and playing a media file that needed to be transcoded due to global bit rate limitations, I noticed that it was streaming at a rather low bitrate of ~900kbps when the global limit was set to 2.5mbps. My upload speed is more than capable of achieving this and has done so without issue in the past. I hopped onto DSM to see what was up and found my CPU usage was spiking to 99-100%, which was causing the slow down. This has never happened before and I would typically only see CPU usage of 10-20% while transcoding any file, so I thought to check my hardware acceleration options, as per the wiki suggests, to ensure nothing was switched off. I found that I still had hardware acceleration set to 'Advanced', but weirdly enough, no options appeared under 'Preferred Hardware Encoders' as they had just a week ago. See the screenshot. It is almost as though it no longer recognizes any of the hardware options for hardware acceleration on my NAS. I am stumped as to what has caused this sudden switch. My only inclination would be that it has to do with my recent upgrade from Synology DSM firmware 6.2.3-25426 Update 3 to version 6.2.4-25554 last evening. That upgrade went smoothly and nothing indicated there was an error, but this is the only major change from last week to today. I have confirmed that this occurs both for remote users and myself while local. This issue occurs on a variety of different platforms including Amazon Fire TV devices, Firefox, etc. I also confirm that the spikes completely subside once I stop playing/transcoding of media files. Direct play files are seemingly not causing spikes of this nature. My Emby Premiere license also appears to be correctly input and resolving fine. I am also running the official package, not within Docker. Any help would be appreciated so I can adjust my hardware acceleration options to not cause spikes. Included is the server, hardware, and transcoding log of a problem file. Thank you. Server Specifications: Synology 920+ 8GB Memory Firmware: 6.2.4-25554 Emby:
  6. softworkz

    Server Plugin: Transcoding Tests

    Starting from today, you can find a new plugin in the catalog: Transcoding Tests The plugin allows to perform a wide range of tests using a defined set of source files. These tests will help to better understand user issues, compare the behavior on different systems, while it rules out many of those factors which are often hard to impossible to rule out. Another use case is benchmarking and/or comparing the effects of different settings on performance and quality. Finally, this allows to recognize and analyze regressions and differences across versions more reliably. The results are stored outside the log folder and are not subject to regular cleanup. Each job execution is archived as a single file and those can be kept even when the actual output is cleared. The initial version includes essential functionality. From here on, we will see what else might be needed or useful. Updates Version This version allows opening local output files or folders from Chrome (Windows) (see end of second post) The checkbox "Run this plan right now" is working now
  7. It seems to me that as of right now, if I want to be on the safe size, I need to dedicate a hefty amount of space to my transcoding-temp directory for emby: I should have enough space available to store the full size of the source file for whatever show(s) are being watched at that moment, plus a small buffer. In other words, if there are three 4K remuxes playing at the same time, 80GB each, and they're all transcoding at once, then I need at least 240GB of transcoding space available. No idea what the requirement would be for live tv, I don't have that feature. I say this from observation when my Apple TVth gen is a client. It seems to be able to direct stream a Blu-ray or DVD rip except it doesn't like the mkv format. The resulting transcode file seems to roughly match the file size of the original movie. And then it's deleted when I stop watching the show. Also, it seems that if I run out of disk space, the whole movie (and sometimes the server) just stops with an out of disk space condition, there's no auto-pruning while the show is playing. Does this mean that transcoding to RAM is a bad idea unless I have tremendous amounts of RAM? So in other words, if I'm running in a virtual machine, I can't use the default folder with my piddly small storage dedicated to that VM. I need to specify something with more serious space capability. Did I get that right?
  8. I've run across (and posted once or twice in the Roku area about this) apparently "random" TV episodes that I have personally ripped and encoded from the blu-ray, where Emby cannot do a hardware transcode for playback when the PGS subtitle track is enabled. I've finally had time to do dig out the original blu-ray to validate whether there is some defect in my encoded version. I identified an episode that failed to xcode in HW and displays the following in the ffmpeg log: >>>>>> Subtitle Processing Steps for [0:2]: HDMV PGS subtitles Step Format Target Size HDMV_PGS_SUBTITLE >> Subs: Bitmap scale >> Video: UNKNOWN 1920x1080 ... 11:24:00.581 [matroska,webm @ 0xe35ac0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options 11:24:00.581 Input #0, matroska,webm, from '/share/Video/TV/Archer (2009)/Season 02/Archer (2009) - S02E01 - Swiss Miss.mkv': 11:24:00.581 Metadata: 11:24:00.581 title : ARCHER SEASON 2 - DISC 1 11:24:00.581 creation_time : 2019-12-27T05:43:27.000000Z 11:24:00.581 ENCODER : Lavf58.20.100 11:24:00.581 Duration: 00:21:03.44, start: 0.000000, bitrate: 6649 kb/s 11:24:00.581 Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Level 120, 23.98 fps, 23.98 tbr, 1k tbn (default) 11:24:00.582 Metadata: 11:24:00.582 DURATION : 00:21:03.429000000 11:24:00.582 Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default) 11:24:00.582 Metadata: 11:24:00.582 title : Surround 11:24:00.582 DURATION : 00:21:03.435000000 11:24:00.582 Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle 11:24:00.582 Metadata: 11:24:00.582 DURATION : 00:21:01.281000000 11:24:00.597 Stream mapping: 11:24:00.597 Stream #0:0 (hevc) -> overlay (graph 0) 11:24:00.597 Stream #0:2 (pgssub) -> scale:default (graph 0) 11:24:00.597 hwupload:default (graph 0) -> Stream #0:0 (h264_vaapi) 11:24:00.597 Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) 11:24:00.597 Press [q] to stop, [?] for help 11:24:00.944 subtitle_kickoff: call subtitle_resend_current 5057 frame->format: 1 11:24:00.945 subtitle input filter: decoding size 0x0 11:24:00.945 Auto-inserting subfeed filter 11:24:00.945 Auto-inserting graphicsub2video filter 11:24:00.969 Output #0, segment, to '/scratch/embytemp/transcoding-temp/DC840A/DC840A_%d.ts': 11:24:00.969 Metadata: 11:24:00.969 encoder : Lavf59.17.100 11:24:00.969 Stream #0:0: Video: h264 (High), vaapi(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 13299 kb/s, Level 40, 23.98 fps, 90k tbn 11:24:00.969 Metadata: 11:24:00.969 encoder : Lavc59.21.100 h264_vaapi 11:24:00.969 Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, fltp, 192 kb/s (default) 11:24:00.969 Metadata: 11:24:00.969 encoder : Lavc59.21.100 libmp3lame 11:24:00.980 elapsed=00:00:00.34 frame= 2 fps=0.0 q=-0.0 size=N/A time=00:00:01.79 bitrate=N/A throttle=off speed=5.17x 11:24:01.219 subtitle input filter: decoding size 1920x1080 11:24:01.219 Auto-inserting subfeed filter 11:24:01.219 Auto-inserting graphicsub2video filter 11:24:01.220 Impossible to convert between the formats supported by the filter 'hwupload@f4' and the filter 'auto_scale_0' 11:24:01.220 Error reinitializing filters! 11:24:01.220 Failed to inject frame into filter network: Function not implemented 11:24:01.220 Error while processing the decoded data for stream #0:2 11:24:01.222 [libmp3lame @ 0xe9b440] 3 frames left in the queue on closing 11:24:01.225 Conversion failed! Compared to an episode that xcodes in HW properly: >>>>>> Subtitle Processing Steps for [0:2]: HDMV PGS subtitles Step Format Target Size HDMV_PGS_SUBTITLE >> Subs: Bitmap 1920x1080 scale >> Video: UNKNOWN 1920x-2 ... 11:27:42.355 Input #0, matroska,webm, from '/share/Video/TV/Archer (2009)/Season 02/Archer (2009) - S02E03 - Blood Test.mkv': 11:27:42.355 Metadata: 11:27:42.355 title : ARCHER SEASON 2 - DISC 1 11:27:42.355 creation_time : 2019-12-27T06:09:10.000000Z 11:27:42.355 ENCODER : Lavf58.20.100 11:27:42.355 Duration: 00:21:16.58, start: 0.000000, bitrate: 4813 kb/s 11:27:42.356 Stream #0:0: Video: hevc (Main), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], Level 120, 23.98 fps, 23.98 tbr, 1k tbn (default) 11:27:42.356 Metadata: 11:27:42.356 DURATION : 00:21:16.567000000 11:27:42.356 Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default) 11:27:42.356 Metadata: 11:27:42.356 title : Surround 11:27:42.356 DURATION : 00:21:16.576000000 11:27:42.356 Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle, 1920x1080, Start-Time 3.420s 11:27:42.356 Metadata: 11:27:42.356 DURATION : 00:21:14.544000000 11:27:42.375 Stream mapping: 11:27:42.375 Stream #0:0 (hevc) -> overlay (graph 0) 11:27:42.375 Stream #0:2 (pgssub) -> scale:default (graph 0) 11:27:42.375 hwupload:default (graph 0) -> Stream #0:0 (h264_vaapi) 11:27:42.375 Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) 11:27:42.375 Press [q] to stop, [?] for help 11:27:42.745 subtitle input filter: decoding size 1920x1080 11:27:42.745 Auto-inserting subfeed filter 11:27:42.745 Auto-inserting graphicsub2video filter 11:27:42.769 Output #0, segment, to '/scratch/embytemp/transcoding-temp/6CD0C8/6CD0C8_%d.ts': 11:27:42.769 Metadata: 11:27:42.769 encoder : Lavf59.17.100 11:27:42.769 Stream #0:0: Video: h264 (High), vaapi(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 9626 kb/s, Level 40, 23.98 fps, 90k tbn 11:27:42.769 Metadata: 11:27:42.769 encoder : Lavc59.21.100 h264_vaapi 11:27:42.769 Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, fltp, 192 kb/s (default) 11:27:42.769 Metadata: 11:27:42.769 encoder : Lavc59.21.100 libmp3lame 11:27:42.770 elapsed=00:00:00.36 frame= 1 fps=0.0 q=0.0 size=N/A time=00:00:00.00 bitrate=N/A throttle=off speed= 0x 11:27:43.198 [segment @ 0xda4780] Opening '/scratch/embytemp/transcoding-temp/6CD0C8/6CD0C8.m3u8.tmp' for writing Note that these two episodes were from the same disc and ripped/transcoded using identical commands, software versions, etc. via a batch script. So, how can the subtitle metadata for one have gotten corrupted/lost and not the other? It didn't. I re-ripped the failing episode using MakeMKV without any modifications and swapped it in place: >>>>>> Subtitle Processing Steps for [0:2]: HDMV PGS subtitles Step Format Target Size HDMV_PGS_SUBTITLE >> Subs: Bitmap scale >> Video: UNKNOWN 1920x1080 ... 11:39:46.983 [matroska,webm @ 0x7d9ac0] Could not find codec parameters for stream 2 (Subtitle: hdmv_pgs_subtitle (pgssub)): unspecified size Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options 11:39:47.017 Input #0, matroska,webm, from '/share/Video/TV/Archer (2009)/Season 02/s02e01.mkv': 11:39:47.017 Metadata: 11:39:47.017 title : ARCHER SEASON 2 - DISC 1 11:39:47.017 encoder : libmakemkv v1.17.2 (1.3.10/1.5.2) win(x64-release) 11:39:47.017 creation_time : 2022-11-12T16:31:22.000000Z 11:39:47.017 Duration: 00:21:03.43, start: 0.000000, bitrate: 28728 kb/s 11:39:47.017 Stream #0:0(eng): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], Level 41, 23.98 fps, 23.98 tbr, 1k tbn 11:39:47.017 Metadata: 11:39:47.017 BPS-eng : 24403287 11:39:47.017 DURATION-eng : 00:21:03.428833333 11:39:47.017 NUMBER_OF_FRAMES-eng: 30292 11:39:47.017 NUMBER_OF_BYTES-eng: 3853974619 11:39:47.017 SOURCE_ID-eng : 001011 11:39:47.017 Stream #0:1(eng): Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s32p (24 bit) (default) 11:39:47.017 Metadata: 11:39:47.017 title : Surround 5.1 11:39:47.017 BPS-eng : 4257095 11:39:47.017 DURATION-eng : 00:21:03.434666666 11:39:47.017 NUMBER_OF_FRAMES-eng: 118447 11:39:47.017 NUMBER_OF_BYTES-eng: 672319952 11:39:47.018 SOURCE_ID-eng : 001100 11:39:47.018 Stream #0:2(eng): Subtitle: hdmv_pgs_subtitle 11:39:47.018 Metadata: 11:39:47.018 BPS-eng : 65252 11:39:47.018 DURATION-eng : 00:20:56.234145833 11:39:47.018 NUMBER_OF_FRAMES-eng: 888 11:39:47.018 NUMBER_OF_BYTES-eng: 10246614 11:39:47.018 SOURCE_ID-eng : 001200 11:39:47.037 Stream mapping: 11:39:47.037 Stream #0:0 (h264) -> overlay (graph 0) 11:39:47.037 Stream #0:2 (pgssub) -> scale:default (graph 0) 11:39:47.037 hwupload:default (graph 0) -> Stream #0:0 (h264_vaapi) 11:39:47.037 Stream #0:1 -> #0:1 (dts (dca) -> mp3 (libmp3lame)) 11:39:47.038 Press [q] to stop, [?] for help 11:39:47.300 subtitle_kickoff: call subtitle_resend_current 5057 frame->format: 1 11:39:47.301 subtitle input filter: decoding size 0x0 11:39:47.301 Auto-inserting subfeed filter 11:39:47.301 Auto-inserting graphicsub2video filter 11:39:47.325 Output #0, segment, to '/scratch/embytemp/transcoding-temp/A6B9A8/A6B9A8_%d.ts': 11:39:47.325 Metadata: 11:39:47.325 encoder : Lavf59.17.100 11:39:47.325 Stream #0:0: Video: h264 (High), vaapi(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 28728 kb/s, Level 41, 23.98 fps, 90k tbn 11:39:47.325 Metadata: 11:39:47.325 encoder : Lavc59.21.100 h264_vaapi 11:39:47.325 Stream #0:1(eng): Audio: mp3, 48000 Hz, stereo, fltp, 192 kb/s (default) 11:39:47.325 Metadata: 11:39:47.325 encoder : Lavc59.21.100 libmp3lame 11:39:47.340 elapsed=00:00:00.26 frame= 2 fps=0.0 q=-0.0 size=N/A time=00:00:02.03 bitrate=N/A throttle=off speed=7.74x 11:39:47.528 subtitle input filter: decoding size 1920x1080 11:39:47.528 Auto-inserting subfeed filter 11:39:47.528 Auto-inserting graphicsub2video filter 11:39:47.529 Impossible to convert between the formats supported by the filter 'hwupload@f4' and the filter 'auto_scale_0' 11:39:47.529 Error reinitializing filters! 11:39:47.529 Failed to inject frame into filter network: Function not implemented 11:39:47.529 Error while processing the decoded data for stream #0:2 11:39:47.534 [libmp3lame @ 0x8ff380] 3 frames left in the queue on closing 11:39:47.535 Conversion failed! So - the source itself has what is apparently incorrect and/or missing subtitle track metadata. I re-ripped the working example episode as well to confirm. Note that none of the tools I normally use (primarily MediaInfo, MKVToolNix) expose this information about the subtitle tracks as far as I can tell, so I'm not sure even how to identify a problematic file besides seeing if Emby pukes and falls back to SW. The original disc plays without issue, and the file I transcoded from the source rip will play with subs enabled in Kodi, VLC, and MPC-BE without a problem, and prior when I was on Plex it was able to transcode these w/subs without a problem. Is the source itself actually out-of-spec? Is this an ffmpeg issue, or an issue with the command used to locate/examine the subtitle track? I've run across incidences of this specific problem in a few different shows and movies I've personally ripped (Archer, Futurama, The Venture Bros, The Running Man, more). If this is an issue of specification/standards enforcement (i.e. "yeah it can work that way, but it's out of spec so we're failing it"), I'd ask that the issue be re-examined, as it's apparently a common enough thing in the available source media that I've tripped over it multiple times across multiple shows and movies in my relatively small library. ffmpeg logs and mediainfo reports for the files are attached. If there's further info I could gather in order to determine definitively what's going on and whether it's addressable I'm happy to do so. Thanks! archer_s02e01_br_source.html bad_subs_encoded_ffmpeg-transcode-c853a7c1-ca06-4c2f-8d8e-ac3e617f44bf_1.txt bad_subs_source_ffmpeg-transcode-90cd65e4-b7eb-496d-ac0b-6049aab86897_1.txt good_subs_encoded_ffmpeg-transcode-4f28ce54-3508-4a03-9415-f755f50d7514_1.txt
  9. I'll try to keep this feature request short and simple. When the Emby server needs to transcode audio to make it compatible for the Emby client, it will use a hardcoded value for the bitrate that cannot be changed. For example, if the audio gets transcoded to Dolby Digital AC-3, it will always use a bitrate of 384 kb/s. This value cannot be changed, even though Dolby Digital AC-3 allows a maximum bitrate of 640 kb/s. Although 384 kb/s is a decent compromise between quality and data, it is very compressed and the quality is far from being transparent. The same thing applies to every other audio codec the Emby server may transcode to, such as AAC. So the request is simple, allow users to specify the bitrate that should be used for transcoding audio. Thanks, Charlie
  10. Didn't think I would come a stir the pot in this thread again, but here we are. Is there a way to increase the saturation of a specific color during tone mapping? As you know Im using QSV to achieve this, and current best tone mapping is bt.2390, the results are very good, but it's currently only available in software. Hable is unfortunately crushing blacks to much to be usable. Reinhard and Mobius is performing quite well, but both suffer from desaturation to some degree, but mostly the reds. Is there a way to fix this with a search and replace in ffmpeg or something similar? Or is it possible to implement Aces algorithm? (Which I believe suffers from over saturation instead, but I think it's preferable.)
  11. Skyobliwind

    Harware + OS recommendations

    I'm planning to switch mit system from Truenas/Freenas to Proxmox (or do you have any arguments against proxmox and for a different virtualization?). Emby itself works okey on Truenas, except it doesn't support hardware passthrough for GPU trancoding. But the main reason to switch is virtualisation for my other machines which doesn't work too well on Truenas. Atm I'm using a AsRock X470D4U + Ryzen 3600 + LSI SAS 9207-8i SATA / SAS-Controller + 64 GB ECC Ram (ECC was needed for Truenas but I will just keep it). (Maybe I'll also switch the Ryzen 3600 for my Ryzen 3900x and cap energy at 60w which should work just fine.) What GPU would you recommend for smooth transcoding performance for multiple clients (possibly 6-10 parallel at peak). It shouldn't be too energy consuming, so a good mix of performance and efficiency would be nice. From what I saw Nvidia should be the better pick here? And what OS do you reccomend for the emby vm? Are there any advantages in using Windows over Linux? If not I think I'll go for Ubuntu Server.
  12. iOS 2.1.5 Has Been Released This is a follow up release to the recent Emby For iOS 2.1.3. Released, Featuring: Timeline Seeking & Thumbnails release. We wanted to get this out to you as quickly as possible. This release features a resolution to: An Intermittent Loss of Audio Issue that Manifests When Audio is Transcoded. This release also contains a minor fix for: Problem with Scrolling on Certain Server Management Screens. You can now scroll fluently from top to bottom of management screens found on the Emby Server Tab. Please install this maintenance release at your earliest convenience. You can follow Emby iOS development as well as report any issues on our community forum site: https://emby.media/community/index.php?/forum/94-ios/
  13. Newly installed Nvidia Quatro K2000 in a Dell R910 - hw transcoding I just installed a Quatro K2000 2G video card into my Dell R910 into a native16x PCI-e slot. I modified the heatsink and installed a large fan to help keep it cooler and make it fit into the server case. It's staying pretty cool. Now the reason I did this was for several reasons actually. Running on a VM is not always the best approach. Having hardware support should improve performance. I want 4K movies to not skip and stutter while watching them (transcoding - usually always audio) I recently bought an HD HomeRun and want better performance (similar to 4K issues). And this has been something I have been wanting to do for a while. I would rather do this than buy a Synology or QNAP or build a dedicated workstation. All that said... not much improved after installing the card. Maybe a slight improvement, but overall I am still not happy with the implementation. Video still stutters with 4K movies - unwatchable Live TV still stutters unless I pause it for 5 seconds, play again and then it's fine - I feel like this should still not happen. This used to not happen with my 4K movies even with transcoding enabled running on a VM in vCenter on the same server without a physical video card. I am not certain what happened 3-4 years back but before that point, 4K movies played perfectly. Too hard to try and understand what changed. All I want to do is understand how to fix this moving forward. I have several devices I can test this with: Web browsers Nvidia Shield Pro LG OLED TV LG LCD TV Android Phones iPhones iPad PC / MacBook All of them give me the same results. I can provide any details needed to narrow down where the issue is and if in the end this simply is not a good setup (running on a VM with passthrough) then I will buckle down and buy a Synology of QNAP or hell even build a dedicated media box out of some older hardware using the video cards I have here at home. (spare 1030 and 1080). Current specs: OS: Ubuntu 20.04.3 LTS CPU: 16 Memory: 32 GB Storage: SAS SSD Storage for Transcoding: SAS SSD Dedicated Audio/Video: Nvidia Quatro K2000 (2GB) hardware_detection-63769669756.txt ffmpeg-transcode-b53abc80-c465-4ef9-b1f9-3c82cd0a5a67_1.txt
  14. Hello , I have a windows Emby server which is supposed to provide the video content to ios and android users (80% ios and 20% android). ios user use Safari and android user use chrome to get access to server. The PC that I`m using has the Intel Core i7 8th Gen with 16DDR4 and NVME SDD and no GPU. My question is , what is the best Video format/codec to use to make the least transcoding and smooth play for both Safari and chrome users. I already tried MKV/MP4 with H264 and AAC 5.1-AC3 audio codec. AAC is not working well with chrome and I had to convert it to AC3 and video pause randomly. I would like to get your opinion to setup my Emby server and prepare my video content to make them easy for server. Thank you.
  15. aVoiceInTheWilderness

    Hardware acceleration

    Does emby support HW acceleration on RPI or Orange Pi or any ARM? Even though I have set up acceleration in the transcoding section, nothing uses HW acceleration. It always uses SW transcoding both decoding and encoding.
  16. Is there a way to change the threshold for when to throttle transcoding when throttling is enabled? By default it looks like this is configured to 120s. I have found the xml where this setting is defined, however after modifying & saving there is no change according to transcoding logs. FYI, this is not an option from Emby management interface. Location of xml file: .../Emby-Server/Config/encoding.xml <ThrottleBufferSize>120</ThrottleBufferSize> Log Example ThrottleBySegmentRequest: RequestPosition: 00:01:03 - TranscodingPosition: 00:02:11 - ThrottleBuffer: 69s (Treshold: 120s) Please let me know if anyone can help determine if this is possible. Thanks
  17. timlance

    audio transcoding settings

    Newbie here, running away from Plex. Am loving Emby. I'm trying to find information and settings for transcoding. The closest I have found is here but I do not see the illustrated setting (see below) in my iOS app. Am I correct in assuming that my lossless files will be lossless in the iOS app if both the server and iPhone are on the same local wireless network? If I am on a different wireless network will it be lossless or does the server see it as a generic remote location? Where, on the server and/or iOS app, can I set preferred bitrates? IOW, I would like to possibly have higher (not necessarily lossless) bitrates even on cellular/data. My apologies if I am missing something! I've been dealing with a super mild concussion, and looking into this so much, I wonder if I am literally or figuratively cross-eyed. @cayars
  18. Some old devices support h265. So the device do direct play But it's lagging. It plays h264 well. If I want to transcode h.265 to 264, I have to decrease the quality lower than the original quality. But I don't want to lower the quality. If original bitrate is 3.4mbps, I set the quality to 3mbps. There is no difference between the two. But when original is 1.4mbps, I have to lower to 1mbps and this is huge difference as I felt. So I want the feature. Forced h.265 to h.264 transcoding without decreasing bitrate
  19. Before I start, I'll explain what I mean by "without giving any reason why" usually when it starts to transcode, it would give a reason why like this (check the blue circling) Note:- I've forcefully made this video to transcode in the above picture by reducing the bitrate so that is not a bug but in this case, it doesn't this could be a bug so I'm just reporting that Now, I have no clue as to why this video transcodes while other videos with the same format doesn't. It's definitely not the subtitles or the audio because I've reencoded the video to HEVC and the audio and subtitle plays directly. Here's the logs ffmpeg-transcode-f5e334ff-98b7-4cd7-85d5-aeab259c3705_1.txt Here's the media info mediainfo.txt And here's the sample video Flowers of Evil - S01E01 - Flowers of Evil 1 of 13 (1)-001.mkv Ran with galaxy s10 on Emby android 3.1.94
  20. sharrisct25@hotmail.com

    Need Transcoding help

    So I have recently added a HDhomerun EXTEND to my Emby system. The goal is to allow people to watch a few local stations in Emby that we do not get on other steaming services. All of my TVs are Roku clients of different types. Some hardwired some Wifi. I use my Android client on my phone on occasion also. I have 2 HDhomerun EXTEND units connected and my goal is to be able to support 4 users watching / recording at the same time without any major load on my Emby server. The Server is virtualized running as a Windows 10 system in VMware 6.5. It has 4 cores and 10GB or RAM. All the storage is local SSD on a RAID 5 array. The server is Emby Premier version and the Roku clients are using Emby beta. Historically software transcoding has been fine for the movies and other videos I have in my library but with TV I knew the use would spike and more transcoding maybe needed. This lead me to buy the HDhomerun Extend versions due to their capability to decode. Once setup I had a few issues with specific channels that I have learned are down to reception thanks to posts and help in other Emby forums. Then I was still seeing ffmpeg activity going on, sometimes as a directstream where the audio was being converted, others full transcoding. With more help from the Forum I purchased and installed a NVIDIA GTX 1030 card to do hardware decoding. The problem is I am still seeing ffmpeg activity for the Roku clients. I now DO NOT see it for the Android but definitely for the Roku clients. Can somebody help me sort what is going on here? Shouldn't the decoding all be happening in hardware now between the HDhomerun EXTEND and the NVIDIA card? I see that the Processing Plan in the ffmpeg log still says False for all CanDoInHardware lines does that mean the card is not working correctly? I have attached logs for more details. hardware_detection-63724218955.txt ffmpeg-directstream-0194bed2-a9ad-4aac-b654-03b1a909ac4e_1.txt embyserver.txt
  21. embyserver.txt ffmpeg-transcode-058599f6-a2e7-4ca3-8dd7-ad84cecaffe8_1.txt hardware_detection-63752995865.txt
  22. francoisp

    Save transcoded videos

    Is there a way to transcode a video once and save it for future streaming instead of using the server's resources to transcode it every single time it is requested?
  23. I always had my server's services such as Emby running in bare-metal because I did't like the performance loss in VM/Hypervisor, etc (I know it's little, but it's something). But it's true that having all services in the same OS is a pain in the a** because if you need to change or reboot something, everything goes down. In addition I need VAAPI transcoding for my server so I needed direct access to iGPU through /dev/dri/renderD128 device. After reading a lot about LXC containers and the benefits of isolation and bare-metal peformance they have, I decided to change and go containerize everything. So installed Debian Strech in the server with LXC 2.0.8 (only available in testing repositories) and created an Ubuntu 16.04 container just for the Emby server. In order to get VAAPI working inside the Emby container, you need to "pass" the required device (/dev/dri/renderD128) from the host to the container and have all drivers installed in the host system. So let's do it. (I assume you already created a container and Emby and ffmpeg are installed in it) (All commands are ran in the host, not inside the container) Stop your container if it's running: lxc-stop -n containername Get the required drivers in the host (my server is a Skylake i5-6600) by installing vainfo (it will automatically install intel-i915-driver, etc.): apt install vainfo Check that vainfo outputs something like this (run vainfo in the command line): error: can't connect to X server! libva info: VA-API version 0.40.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_40 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.40 (libva ) vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.8.3 vainfo: Supported profile and entrypoints VAProfileMPEG2Simple : VAEntrypointVLD VAProfileMPEG2Simple : VAEntrypointEncSlice VAProfileMPEG2Main : VAEntrypointVLD VAProfileMPEG2Main : VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointVLD VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP VAProfileH264Main : VAEntrypointVLD VAProfileH264Main : VAEntrypointEncSlice VAProfileH264Main : VAEntrypointEncSliceLP VAProfileH264High : VAEntrypointVLD VAProfileH264High : VAEntrypointEncSlice VAProfileH264High : VAEntrypointEncSliceLP VAProfileH264MultiviewHigh : VAEntrypointVLD VAProfileH264MultiviewHigh : VAEntrypointEncSlice VAProfileH264StereoHigh : VAEntrypointVLD VAProfileH264StereoHigh : VAEntrypointEncSlice VAProfileVC1Simple : VAEntrypointVLD VAProfileVC1Main : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD VAProfileNone : VAEntrypointVideoProc VAProfileJPEGBaseline : VAEntrypointVLD VAProfileJPEGBaseline : VAEntrypointEncPicture VAProfileVP8Version0_3 : VAEntrypointVLD VAProfileVP8Version0_3 : VAEntrypointEncSlice VAProfileHEVCMain : VAEntrypointVLD VAProfileHEVCMain : VAEntrypointEncSlice Now we have to pass the /dev/dri/renderD128 device (which is in charge of VAAPI transcoding) to the container. To do so, we'll write a little script who creates the renderD128 device inside the container everytime this one is started. For that we need to know what kind of device we have and it's minor/major numers, so we run: ls -l /dev/dri Output: total 0 drwxr-xr-x 2 root root 80 ago 5 17:18 by-path crw-rw---- 1 root video 226, 0 ago 5 17:18 card0 crw-rw---- 1 root video 226, 128 ago 5 17:18 renderD128 The info we need is: the letter "c" (in crw-rw----) meaning it's a character device and "226 128" which are the major/minor numbers of the device. Let's create the script then, it will be inside your container's directory but you can place it anywhere changing the paths obviously. Run: nano /var/lib/lxc/containername/autodev And copy inside: #!/bin/bash cd ${LXC_ROOTFS_MOUNT}/dev mkdir dri mknod -m 0666 dri/renderD128 c 226 128 Save, exit and give it privileges with: chmod +x /var/lib/lxc/containername/autodev Perfect, now we have to grant container's access to the device and tell him to run the script when the container starts. To do so, you have to edit the container's configuration file. Run: nano /var/lib/lxc/containername/config And add these two lines at the en of the file: lxc.cgroup.devices.allow = c 226:128 rwm lxc.hook.autodev = /var/lib/lxc/containername/autodev The first line will grant container's access to the device and the second line will run the script which will create the device inside the container. That's all! Now you you can start your container again, attach to it, check the /dev/dri directory and you'll find the renderD128 device inside of it. You can now tell Emby to use it as if you where in a host machine! Enjoy LXC! Referece: https://blog.cavebeat.org/2016/02/how-to-create-tuntap-devices-for-lxc-in-proxmoxve-4-1/
  24. Hi emby Team, I testet as lot and want to describe a problem in detail that really keeps me away from using the emby app of my LG65OLED C7D. I already know that the emby app encodes all audio tracks that are not the first/default audiotrack of a mkv. But... emby also encodes the first/default audiotrack if this is Dolby TrueHD/Atmos. Why? and that leads to the/my problem: everytime the emby app starts a ffmpeg process to transcode a audio track (for the none default audio track or and thats a much bigger problem... for Dolby TrueHD Tracks) the video begins to stutter... plays for a few seconds than stocks for a few seconds and so on - til the end of the movie :-( ) because many of the 4K remuxes have a Dolby TrueHD/Atmos default track, they are unwatchable via the emby app. 1. the problem is reproducable everytime 2. the problem only exists with 4K material (UHD Remuxes) 3. it's not a problem of hardware limitation of the emby server (CPU is 70% idle, gigabit LAN, HDD...) 4. it doesn't matter what kind of audio is being encoded (Atmos, DTS, DD5.1, DTSMA, DTSHD...) 5. emby dlna plays fine those files because it's playing the files without encoding the audio summarized: audio encoding on 4k remuxes in any way leads to video stuttering! possible solutions: - stop encoding audio tracks other than the default (like DLNA does) or - make TrueHD tracks playable without transcoding (direct play/passthrough) or - fix the problem that causes the video stuttering when transcoding audio in 4K movies any questions? don't hesitate to contact me ;-)
  25. I have quite a lot of shows that have ASS Subtitles in them. But the problem is that when I enable them my server immediately jumps to transcoding. Which sacrifice quite a lot of video quality. I have noticed that It does not do that in the mobile version.
  • Create New...