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


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...

  1. 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.
  2. 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
  3. 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
  4. 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?
  5. 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
  6. 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.)
  7. 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.
  8. 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/
  9. 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
  10. 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.
  11. 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.
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. embyserver.txt ffmpeg-transcode-058599f6-a2e7-4ca3-8dd7-ad84cecaffe8_1.txt hardware_detection-63752995865.txt
  18. 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:
  19. 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?
  20. 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/
  21. 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 ;-)
  22. 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.
  23. I've been waiting for this feature for a while now. I'm hopeful that it will improve video quality. and a setting for audio encoding preference would be very nice as well
  24. Hi, I'm confused and trying to understand how the bitrate chosen when downloading a video affects the resolution that the video is played at. Or even, said in another way, if I know I only want to play a downloaded video at a given resolution (ex: SD 480), how do I know which bitrate to choose? If my source videos are anywhere from 720P - 4k, how do I minimize the downloaded file? Theoretically, bitrate should impact/affect resolution, but I have read other posts in the forum which seem to indicate a different story. Is there a correlation between bitrate and resolution? Thanks, Eric
  25. Hi Guys, Just looking for a little assistance if possible. Just want to see if anyone is using the above (title) setup and if transcoding works fine. It will probably be for a max transcode of two streams at once and the rest will be direct play. Most transcodes will be 1080p but in the future maybe 1 x 4k transcode at any given time - all over local lan. I've been told it will work but always nice to ask the community for real world usage and potential issues.
  • Create New...