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. Nisten

    Intel QuickSync - Repeated Playback

    Issue: Once I finish playing a movie or a tv show on the roku, the app goes back several minutes and replays a part of the movie/show that we've already seen. Findings: This doesn't happen when "hardware encoding" is turned off but only seems to happen when its turned on. Is there a way to stop this from happening and still leave hardware encoding on or is it out of Emby's control? Reason I ask is because i can leave "hardware encoding" off for mpeg-ts transcoding but for high profile h264 transcoding (due to low bitrates), "hardware encoding" is a must for my mini-pc. One of the moderators, i think @@Happy2Play, said that H264 decoding wasn't actually working due to a bug with ffmpeg but i think that was pre-netcore so i don't know if it still applies post-netcore
  2. Pfalznase

    Transcoding abschalten

    Hallo Leute, ich habe ein Problem mit dem Software Transcoding, ich möchte gerne das Transcodieren komplett abschalten damit Emby die Filme unverändert Streamt, denn seit der Version 3.2.50 habe ich das Problem von Block Bildung, Bild rucklern, Ton Spüngen und Abrüchen in verschidenen Serien und Filmen, reproduzierbar. Ich hatte gehofft das sich das mit der Version 3.2.60 bessert , leider habe ich auch mit der neuen Version noch Probleme. Ich habe die Synology DS418j (die wie bekannt keine Transcodierungsunterstüzung hat) in Betrieb mit der Nvidia Shield TV , davor hatte ich einen Raspberry PI 2 mit Librelec, bevor Fragen auftauchen ja das Problem hatte ich auch auf dem PI und ich kann es auch mit Emby Theater auf meinem Windows PC reproduzieren (es scheint also ein Server Problem zu sein). Wenn ich die selben Filme, Serien mit einem Mediaplayer auf dem PC direkt von der DS-418j im Ordner starte habe ich keine Probleme, also kann ich das Netzerk ausschliessen (Netzwerk upload ca 40MB/s Download ca 100MB/s. Hat noch jemand ein ähnliches Problem? Ist das Problem Bekannt? Logs könnte ich wenn benötigt am Wochenende liefern. Danke im Voraus
  3. Server: 6HDs, FX6300, 4GB RAM, Win 10, Emby Server Version, disabled active monitoring and disabled subtitle extract. Transcoding between Emby Server and FFMPEGX take 100% of all 6 CPU threads and about 80% of RAM. Client: Apple TV 4K, Auto quality playback, On 1080p video files, its 30-60 seconds from clicking "play" on a video before it actually begins playback. I'm relatively new to Emby, so I'm not sure how to approach it. On the same machine in Plex, it would be near instantaneous. See logs. edit: oops, forgot to mention. Only has the integrated GPU and I do not believe I enabled any HW encoding/decoding. ffmpeg-transcode-edbdca80-791a-40c9-8bb9-3d78519747e2.txt server-63650233373.txt
  4. Ola, alguém saberia informar se existe alguma forma eficaz para evitar a transcodificação, ou quais formatos de vídeo e áudio devo usar para não ocorrer tal processo. Se alguém puder ajudar, ficaria agradecido. ----- Hi, could anyone tell me if there is any effective way to avoid transcoding, or what video and audio formats I should use to avoid such a process. If anyone can help, I would be grateful.
  5. Hi I tried to search if this has been requested before, but wasn't sure what to search for. I would like to see an addition bar in the stream indicator to show the amount the client has downloaded. So there would be a green bar to indicate the amount played, red for how much has been transcoded and a different colour to show the amount the client has downloaded. This is based on my assumption that clients cache the video in advance. The indicator i'm referring to is attached. Hope that makes sense.
  6. jort

    Performance issues

    I have a server consisting of the following hardware: Asrock N68C-GS FX AMD fx 4800 8 GB of Dual Channel DDR3 1600 RAM A generic usb 3.0 drive as boot drive A seagate barracuda 3TB HDD for media storage Ubuntu server 16.04.3 as OS playback on Chrome on a windows 10 pc When playing videos, the playback seems to drop very often and buffering seems to take forever. However when looking in the dashboard I often see that the server is either direct streaming or transcoding at over 60 frames per second. I also notice that when playing media firstly the process takes up around 60 to 70% of the cpu, at which point the playback is fine. However after some time the process disappears, and the playback stop, it then takes about a good 5 minutes for a new process to start streaming the media again. I have tried reinstalling emby-server as well has tried multiple versions of ffmpeg, however nothing seems to work. I hope someone else can spot the issue and bring me the sweet joy of smooth video playback GeneralLog.txt transcodingLOG.txt
  7. Gaspar Filmes

    STRM suddenly transcode

    Hi everyone, how are you? first, thank you for this wonder tool called Emby. So, reckoning about 1 week to the present time, my .strm files with the links in the format (H264 with AAC audio) that does not transcode, started suddenly to transcode and use my upload band, with that, all my clients were having problems of recurrent slowness. I imagine it should be in a possible update / maintenance of the Emby player that affected this, can you check? I am urgently needed due to completing 1 week of rework on account of this. Thanks for your attention, thank you in advance for your cooperation.
  8. NattyMan0007

    WD TV Live - EAC3

    Hi all, I just switched from Plex to Emby just to give it a go. I have a WD TV Live that I'm using in the lounge however EAC3 audio isn't supported by WD and I can't for the life of me get Emby to automatically transcode it like Plex does. Here is a screenshot of the media info: https://imgur.com/fJXyJx4 Thanks in advance Nathaniel
  9. Hello All Starting with stable release (released today), Emby Server now includes improved h/w transcoding support for platforms that support Intel's VA-API. For some recent background, take a look at this thread: https://emby.media/community/index.php?/topic/48771-va-api-pixelation-on-ds416play/?p=505088. Any questions, issues or comments please post them here... Best - James
  10. Xenosis

    Transcoding on virtual machine

    Hello Is it possible to get H/W transcoding running on a ESXi virtual machine? I have just installed Emby on a Ubuntu 16.04 server VM, but it runs terrible when I stream to browser or kodi. I've tried updating ffmpeg to 3.4 and installing i965-va-driver, but when run vainfo I get this: error: can't connect to X server! error: failed to initialize display Aborted (core dumped) I don't have a dedicated graphic card, so it possible the use the servers Intel Core i7-3770 onboard on the vm? If so could anyone help me getting this running?
  11. I found a number of other threads with similar symptoms but not quite the same hardware; The closest being https://emby.media/community/index.php?/topic/45550-transcoding-performance-vs-that-other-server/ I have a no-name i7 mini PC ("Intel® Core i7-7500U CPU @ 2.70GHz") running Ubuntu 17.04 Recently installed Emby (release) next to Plex and paid for Premiere because it seems like a right thing to do. Anyway trying hardware transcode with the default ffpmeg fails: [AVHWDeviceContext @ 0x50d4520] No VA display found for device: /dev/dri/renderD128. [vaapi @ 0x312f1e0] Failed to create a VAAPI device But using the system shipped one (/usr/bin/ffmpeg) works OK, in ubuntu 17.04 is claims: ffmpeg version 3.2.4-1build2 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Ubuntu 6.3.0-8ubuntu1) 20170221 Hardware transcoding works, CPU usage is reasonable (70-80% of one core) but playback stutters - play 10 seconds, stop 5, play 10 seconds, stop etc. Not sure what this means (yet), but the only noticeable errors in the log are: [h264 @ 0xc6763beea0] Hardware accelerated decoding with frame threading is known to be unstable and its use is discouraged. Input stream #0:0 frame changed from size:1920x1080 fmt:yuv420p to size:1920x1080 fmt:vaapi_vld Unrepairable overflow! I've changed the CRF to 19 (from 23) with no difference, I've set the temporary path to a local scratch SSD with lots of space, turned off throttling. No effect. I have yet to try one of the custom ffmpeg builds, but looking at the log it's not the conversion performance that's the problem: frame=10024 fps= 67 q=-0.0 size=N/A time=00:06:58.34 bitrate=N/A speed=2.81x frame=10047 fps= 67 q=-0.0 size=N/A time=00:06:59.30 bitrate=N/A speed= 2.8x frame=10073 fps= 67 q=-0.0 size=N/A time=00:07:00.39 bitrate=N/A speed= 2.8x On the other hand, looking a bit more manually I *think* the stop/start is every time the m3u8 file is updated but "tail -f" doesn't work on that file for some reason, so it's hard to visually sync the changes to the display - just lots of repeated "ls -l" I also tried the beta but with the .net install it seemed to not quite work so I hurriedly backed out deciding that a pre-release of a new system is not quite the right thing to do just now. Any immediate suggestions and/or which logs would be useful? Peter
  12. I guys . I'm totally new to emby so i hope my question won't be too stupid for you Status : HP n 54l with xpenology and plex media server. I want to switch from plex to emby because there is nos significant improvement on hardware transcoding since a year and i need a plex pass to use it. Purpose : Adding a Nvidia gt1030 for Hardware transcoding on the fly 4K HEVC from it to read it from a distant place. Is there any chance it works ? Like i dont whant to waste my money I decided to try emby on my gaming computer (gtx980 + 6600k + win 10) to see how mature was hardware transcoding on Emby. Just installed the server and running it. No configuration other than switching to Nvidia NVENC. Switch to my Z3 tablet with the android app and do this : Try to read a full HD movie in H264 - without transcoding => OK CPU 1% NO GPU - Transcoding to 720P 2mbps => 13% CPU 20% GPU (why ? shoudln't the cpu stay to 1%) Try to read a Full HD movie in H265 - without transcoding => OK CPU 1% NO GPU - transcoding to anything Doesn't work . (log attached). Any advice on the probability to decode 4h hevc with Hpn54l + gt1030 is welcome.(most of all for say to me it will works ) Any help to understand why my test was a faile dis welcome too. Let me now if you need any other informations or If i forgot something.
  13. Nisten

    Constant "Loading" when Transcoding

    I was trying to watch a blu-ray mkv file yesterday from yesterday at 6:58pm til 7:08pm (tried starting and restarting the movie at different transcoding settings) but the loading screen kept appearing during playback. Also got a http request error when trying to watch a dvd mkv file around 711pm Lastly, does Intel QuickSync still have an issue with transcoding timestamps? since i'm forced to transcode without HA currently. server log 9-25-2017 (12am).txt server log 9-26-2017 (12am).txt transcode log 9-25-2017 (701am).txt transcode log 9-25-2017 (707am).txt transcode log 9-25-2017 (709am).txt transcode log 9-25-2017 (710am).txt transcode log 9-25-2017 (712am).txt
  14. I have emby setup, have a test folder, have firetv, and have allot of mp2, mp4, files. I did setup the nfs to network storage. My questions are does the trial version of the amazon firetv app allow play by VLC and directplay? Can I turn off all transcoding and only if a file would not play I would then process that file through handbrake. Yes or no, I guess what has now started to frustrate me is a poorly documented process that has tiers of support and feature and no real answers. But again what i want is: Nas to feed the nfs path Artwork at the storage folder location Let fireTv do the transcoding use the VLC player or native codec to fire run from Ubuntu server finally the emby software seemed to require that VLC cache the password to a shared drive While no password was required for the alternate path Again, want no transcoding, can it be done? Just serve up the library and art from a server, yes or no?
  15. spiritwarrior

    When 2 users view the same video

    Hi, I don't know how this works so please forgive me if I'm wrong. If 2 or more users play the same video , let's say that first user already have the full movie trans-coded and buffered, when second user play the same video why have to trans-code again the entire movie if is already trans-coded by the first one ? Maybe is just a dumb question All I want to know is a little bit more how it works
  16. lol

    Chromecast audio cutting out

    Hi folks, Since a few days ago we've noticed the audio sometimes cuts out on our Chromecast. I've done some testing and found the following: It only cuts out when transcoding and the audio is mapped to AAC, MP3 works fine. It will cut out within the first few minutes. Usually between 1 and 3 minutes. Stopping and restarting playback fixes the problem for a few more minutes until it cuts out again. I've rolled back the server version to a time I knew it worked OK yet the problem remains. Can anyone replicate this problem for me, just so I know I'm not going crazy? Cheers,
  17. Hi ! I have a screen attached to a Chromecast v2. I have a Raspberry Pi 2, with Emby server with DLNA support. From my iPad, with the Emby official application, I can stream all my movies. But, for each video, there is transcoding, my CPU is > 99% even for videos that don't require transcoding because the Chromecast v2 support it. If I use a simple iPad application to play a DLNA video to my Chromecast (without any transcoding), I can play the same video with less than 5% of CPU usage. So, I suppose this could be fixed if I create a ChromeCast profile to skip some supported audio/video codecs, to be in direct play, but it's really complicated for me to do this because there is a lot of informations to known, and my knowledges are too limited to fill this correctly. I would like to known if someone have already created this DLNA profile and could share it please? Best regards,
  18. Hey guys, Running Emby Server on my Synology DS216j and a client on a nvidia Shield (Android TV) I am wondering why some files are having to be transcoded (see attached log) The same file seems OK when running in Emby Theater (on my PC) Anything I should be doing different? Any way you guys can help? Thanks
  19. 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/
  20. Hello, I recently moved from Plex to Emby because the first still doesn't support the Chromecast Ultra but I'm coming across a different problem with Emby: While most video files I have are 5.1 or 7.1 audio tracks and thus require transcoding, which I know is normal for the CCU since it only supports stereo audio or passthrough, I notice Emby transcodes the whole file instead of only the audio... So because the MKV has 5.1 audio, the video is transcoded from HEVC to h264 all the time which obviously uses unnecessary CPU and lowers the quality of the stream. This occurs for any HEVC files I have that includes an audio track over 2 channels... HD or UHD. So is this normal? Did I forget to configure anything? Where can I get more info as to why exactly it's being transcoded? emby_server.log emby_transcoding.log
  21. /usr/bin/ffmpeg -ss 01:34:18.000 -i file:"/srv/b2e24e20-856e-4b9e-9fa5-c504efb2b7cc/Media/Movies/Ratatouille (2007)/Ratatouille (2007).mp4" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 2871711 -bufsize 5743422 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 copy -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -segment_time_delta -5658 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 1886 -segment_list "/var/lib/emby-server/transcoding-temp/3b94f4fbda40e23c54cb9833a1b959d6.m3u8" -y "/var/lib/emby-server/transcoding-temp/3b94f4fbda40e23c54cb9833a1b959d6%d.ts" I am trying to figure out if my system is using quicksync. If I am reading that line correct, it isn't telling FFMPEG to use hwaccel. Is that normal for the transcoding with hardware acceleration? Emby Version Logs: https://1drv.ms/f/s!AtItXRNac1nKhfBw9ih_VuIY2XJFJA Emby Version
  22. ThermoDust

    Can't Switch FFMpeg Version

    I am trying to switch to the system install version of FFMpeg and it won't let me. Every time I refresh the page after saving changes it goes back to custom.
  23. mattenderle

    Live TV not streaming

    I just reinstalled emby, long time user and premium. I recently purchased an HDHomeRun CONNECT, Model: HDHR4-2US, and I can't get any thing to play through emby. I can use VLC and connect and view channels through it but through the web, TV, android i get the spinning wheel. Are there any good troubleshooting steps to try besides resets and re-configs. Fresh Ubuntu 16.04 LTS and emby Version Also I did get it to play once but I left it sit for an hour before it started playing.
  24. Hi, I compiled my own ffmpeg build in order to use vaapi acceleration. It is working fine when I am transcoding without any scaling (e.g. from 1080p 30MBit to 1080p 5Mbit). However, when I change the resolution (e.g. from 1080p 30MBit to 480p 1Mbit) the scaling is off and I only see the top left segment of the original picture (see "down scaling 480p.png and "org scaling 1080p.png). Without vaapi acceleration the scaling works fine. I am running emby on Openmediavault 3.0.84 with Intel HD Graphics P4600 (Dell T20), as you can see in the server log (Log.txt) attached. So, what could be the problem? I would be delighted if you guys could help me. Thanks, kaufhauslicht Log.txt transcode_log_480p.txt transcode_log_1080p.txt
  25. Good Evening, I am submitting this issue as I can't seem to find a way have the chromecast maximum bit-rate respected. There is an option in the web browser and the android client to specify the max bit-rate however it doesn't seem to actually pay attention to it. Below there is a screenshot where I have specified a max bit-rate as 3mbps and the server dashboard shows that it is trans-coding at 5.6mbps, the same happens from the web app on android and from the native android app. I have attached the full server lot and some of the relevant trans-coding logs. Please let me know if there is anything else that I can submit to assist. server-63635846400.txt ffmpeg-remux-4de2156a-7532-4988-959a-f02839ad183a.txt ffmpeg-transcode-a341d09a-6f12-4705-97da-dc47265cf1dd.txt ffmpeg-transcode-ca113fd6-f9bb-4c3e-a869-6a41719c86c0.txt ffmpeg-transcode-ee51c2b7-dd04-480a-8c50-7100f4b023f6.txt
  • Create New...