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. Hello, I was wondering how emby works with audio. I was thinking of remuxing some files with 6+ channels, to include a 2 channel track, for users who don't have surround sound. Would Emby detect this track and, use it for those users, or would I have to have a separate file just for 2 channel audio, to avoid transcoding?
  2. fire@emby

    transcoding audio wav to flac fails

    Hi, My Emby linux server fails to transcode audio wav files to flac. [NULL @ 0x1a8bf80] Unable to find a suitable output format for '/storage0/emby-tmp/transcoding-temp/8db4908250589ff5138da517228d752d' /storage0/emby-tmp/transcoding-temp/8db4908250589ff5138da517228d752d: Invalid argument When I change the transcode profile to mp3 it successfully transcodes to mp3. (the basics are working) My dlna speaker device supports flac therefor I like to preserve the audio quality as much as possible. If I look at the transcode log file I notice that in the ffmpeg command the extension (.flac) is missing in the output definition. I am no expert on this but it might be related to my issue. In the log file from the successful mp3 tanscoding the extension (.mp3) is present in the command. Please see attached log files. Regards Fire transcode to flac.txt transcode to mp3.txt
  3. LosslessHulk

    Transcoding (VA API in Docker)

    Hello, i am running Emby server in Docker on Orange Pi PC Plus (armbian bionic - mainline kernel 4.14.y). Thats how i run container: root@orangepipcplus:/mnt/STORAGE/Emby# docker run -d \ --name emby \ --volume /mnt/STORAGE/Emby/config:/config \ --volume /mnt/STORAGE/Downloads:/mnt/Downloads \ --device /dev/dri/card0:/dev/dri/renderD128 \ --network host \ --env UID=1001 \ --env GID=1002 \ emby/embyserver_arm32v7:latest UID=1001 - emby user; GID=1002 - emby group; emby user added to video group; /dev/dri: by-path card0 ffmpeg log in attached files. HW transcoding not working, help please.
  4. Hi Guys and Gals I'm looking into Emby at the moment, I have bought a premium month to test it out. I do very much like the speed of the UI, and the design of it is mostly good. The recognizing of I have a few issues with HW transcoding. Does it work at all? The NAS I'm running it on is a TS-853A, it uses an Intel® Celeron® quad-core 1.6GHz. I can see that it's recommended to use VAApi, but I don't see any help CPU wise in that, it goes straight to 100% CPU utilization when just doing playback. This makes it unusable for me, as the NAS has quite a few other jobs (Virtualization Station) that is quite important. Being a newbie in Emby, I'm not sure where to get any information for you to help me out.
  5. Video transcoding is checked in the settings, and Blu-ray video is automatically cancelled. Is it a system problem or a deliberate design?In fact, my body will not be able to achieve the specific function of this transcoding.
  6. Right now, every time I use Live Tv to watch something, it shows it is transcoding on the dashboard, but no indication if this is being done in hardware or not. Any way to tell easily?
  7. My Emby server works fine, but often I have buffering issues where it takes forever for a movie to load, and sometimes it doesnt even load at all. I just see the circle wait symbol keep spinning. A lot of my movies are 1080p, but I change the transcoding to 720p with 4MB/s. It improved the playback and loading speed somewhat, but sometimes the movie just doesnt load at all. Standard definition tends to load and play much better. Skipping to certain time points in a movie almost always causes the Emby client crash, and I have to restart the box. Im looking into options to improve my setup, and identify where the bottleneck is. I run my Emby server on Ubuntu 18.04 on an Intel NUC with i5 processor, 8gb RAM. The box is connected to my WIFI router via ethernet cord. My movies are stored on a 4GB portable SSD external hard-drive (connected via USB 3.0). I always set my CPU freq to Performance (2.7ghz). My Emby client is on an X96 android box connected to my TV via HDMI. The box connects to my WIFI via the wifi 2.4 ghz. My WIFI has 5ghz option, but my android box does not. If I was to replace anything, I'd get a new box with 5GHz wifi option to increase the bandwidth as I think this is the bottleneck culprit, although, I do sometimes get the same buffering issues when playing from my web browser on my laptop, which is connected by ethernet cord to the router, so the wireless transmission may not be the only issue. But for the time being, are there options in in the transcoding that I can utilize to speed up to the data transfer? - My NUC box has Intel Iris Plus Graphics 640. What hardware acceleration options would I have? - Would increasing Transcoding thread count help? - Would changing the H.264 encoding preset help? - Are there any options on my Android client that I can tinker with to increase loading speed and fix buffering issues?
  8. ctrlaltdefeat

    Unknown encoder when transcoding

    I get the following error when transcoding: Unknown encoder 'ac3' How would I go around adding this encoder(and any others that may be missing, that I haven't found out about)? Full log: https://gist.github.com/CtrlAltDefeat94/c19a1f36fe2653ddb11e491ca748f7df
  9. Crossfire0mega

    Server crash on media playback

    So for a little while I have been having issues playing movies, they will play for a few minutes then stop and the server will physically shutdown requiring a manual reboot. This does not seem to happen with tv shows but only movies. I also cannot get it to stop transcoding everything. I have a samsung smart tv 2014 running the emby app. I have also tried casting from an android phone and tablet to a chromecast or to the tv directly but all result in transcoding. I even tried using a ps4. I've attached the logs of the most recent incident but every movie I have tried to play recently does the same thing. ServerLog1.txt ServerLog2.txt TranscodingLog.txt
  10. caroig

    Server fails on trancoding audio

    Hey, I'm still learning Emby, moving away from Plex. I don't seem to be able to sync any audio to my phone. Whatever the settings (bitrate), transcoding fails (whether from FLAC or MP3, whether from playlist, album or an individual song). I'm attaching a log. I'm on Ubuntu 18.04, the latest emby server as of now (Version beta). There's some problem here: [NULL @ 0xff2fc0] Unable to find a suitable output format for '/var/lib/emby/sync/12/41/f9683eab-6e45-4945-ba8b-462fffdcf8dc' /var/lib/emby/sync/12/41/f9683eab-6e45-4945-ba8b-462fffdcf8dc: Invalid argument Emby-log.txt
  11. Kirk137

    NVENC Transcoding Not Doing Anything

    Hi all, I recently migrated my Emby server from a VM to a physical server so that I could take advantage of NVENC transcoding using a graphics card. My physical server is running Emby (latest from the repo), CentOS 7, and an nVidia GeForce GTX 950, with the latest nVidia drivers installed. I enabled the hardware accelerated transcoding from the admin settings: Unfortunately this has no effect. When I play back a video, it's still transcoding using the CPU. This is obvious both due to the CPU usage and because nvidia-smi shows no encoder usage. [root@triton ~]# nvidia-smi -q -d UTILIZATION ==============NVSMI LOG============== Timestamp : Sun Aug 12 22:03:23 2018 Driver Version : 390.77 Attached GPUs : 1 GPU 00000000:17:00.0 Utilization Gpu : 0 % Memory : 0 % Encoder : 0 % Decoder : 0 % GPU Utilization Samples Duration : Not Found Number of Samples : Not Found Max : Not Found Min : Not Found Avg : Not Found Memory Utilization Samples Duration : Not Found Number of Samples : Not Found Max : Not Found Min : Not Found Avg : Not Found ENC Utilization Samples Duration : Not Found Number of Samples : Not Found Max : Not Found Min : Not Found Avg : Not Found DEC Utilization Samples Duration : Not Found Number of Samples : Not Found Max : Not Found Min : Not Found Avg : Not Found [root@triton ~]# What's frustrating is, during my testing I had previously installed Emby from the RPM download, and I did the same steps, and transcoding was working and I saw encoder usage on nvidia-smi. Unfortunately because I migrated my metadata and users from another server running the repo version, my past attempt to migrate from 3.3 to 3.5 failed probably due to differences in the file structure, so that's why I'm still running 3.3 (the latest from the repo). I'm not sure if my problem is because of 3.3 or because of something sticking in the configuration due to the migration or something. Here is some environment information: [root@triton ~]# cat /etc/*release CentOS Linux release 7.5.1804 (Core) NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7" CentOS Linux release 7.5.1804 (Core) CentOS Linux release 7.5.1804 (Core) [root@triton ~]# [root@triton ~]# lspci | grep NVIDIA 17:00.0 VGA compatible controller: NVIDIA Corporation GM206 [GeForce GTX 950] (rev a1) 17:00.1 Audio device: NVIDIA Corporation Device 0fba (rev a1) [root@triton ~]# [root@triton ~]# uname -a Linux triton 3.10.0-862.9.1.el7.x86_64 #1 SMP Mon Jul 16 16:29:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux [root@triton ~]# [root@triton ~]# yum list installed | grep emby emby-server.x86_64 @home_emby embymagick.x86_64 6.9.6+6-7.4 @home_emby libembysqlite3-0.x86_64 3.18.0+0-1.3 @home_emby mono-core.x86_64 @home_emby mono-data.x86_64 @home_emby mono-data-sqlite.x86_64 @home_emby mono-extras.x86_64 @home_emby mono-mvc.x86_64 @home_emby mono-wcf.x86_64 @home_emby mono-web.x86_64 @home_emby mono-winforms.x86_64 @home_emby mono-winfxcore.x86_64 @home_emby [root@triton ~]# Is it possible to tell from the transcoding log why NVENC did not start the encode and why it fell back to CPU? Here is a sample log from the transcoder: https://iota.lt/d/DnDUkVFytG/XWZtF07c.txt Any ideas appreciated.... I had this working on a different Emby version with the same hardware so I know it's possible. Thanks!
  12. Hi: I find a weird probelm of hw transcoding rotated video. All video with rotation 0 can be transcoded well and all video with rotation 90 or -90 are failed. Then I did a test. I choosed one failed video with rotation 90, and set its rotation to 0 by exiftool manualy. As expected, the failed video was hw transcoded normally. My server is intel nuc 7pjyh and os is ubuntu 18.04. The logs of the test were attached. ffmpeg-transcode-7ade3475-3912-4033-b2df-d962bf76eba2.txt ffmpeg-transcode-34fdd1dd-d86f-45a6-97b3-b938b0e85038.txt
  13. funkypenguin

    Why does transcoding "disable itself"?

    Hi guys, My emby install occasionally disables codecs from transcoding "by itself". 2 days ago, I configured my server to transcode H264, HVEC, and VC1, but today, all codecs are unchecked, under transcoding settings. Is there a known reason why this would happen? Thanks! D
  14. First off, I do not hold anyone accountable except myself for these errors until proven otherwise. I have tried everything I can think of and read all sorts of different "solutions" for problems similar, yet never resolved. So I am here to ask/beg for some additional guidance. When my Emby (3.4.0 - 3.5.2) server is trans-coding a video file, I will get these HTTP Response ms. spikes that I just cannot explain. When I stream without trans-coding I DO NOT experience this issues that I am aware of. This is only during trans-coding. Internal External Trans-coded Internal This is what I have running. Intel i7-4770s 3.1Ghz 4-Core (8-Core with HT) (stock no OC) (2) 8GB DDR3 1333 1.5v C:\ 120 GB SSD M.2 - OS WIN10 Pro x64 running Emby Server D:\ 120 GB SSD 6GB SATA - Trans-Code Directory (manual setup) (2) Realtek PCIe GbE Family Controller Driver 10.28.615.2018 (updated when started having this issue) FIREWALL is DISABLED in Windows 10 \\Drobo5n\Data - Direct Share in Emby (movies, songs, tv shows) Cisco RV325 Gateway/Switch Wireless Unifi AP-AC-LR ATT - Fiber 1Gbps Charter - Cable 150/25Mbps -------------------------- Ways I've tested this. Local Network: I copied a movie, can be any movie, but this one is libx265 at roughly 5k to the local D: drive on the server. Trans-coding from the local D: drive would allow me to bypass the drobo5n as the possible problem and most of the network for the initial tests since we are dealing with basically lag spikes and reads and writes. I set the max threshold for steaming at 3Mbps (for testing) forcing even on the local network that the file played had to be trans-coded. Threads is set to max (8 total), Path is set to D:\Emby a empty SSD drive, Volume 1, H264 Encoding Fast, CRF 23, Allow subtitle extraction on the fly (set on or off does not change anything). I get ms spikes and the movie will eventually time out on the Emby client on a Amazon Fire-Stick. Client will time out also on a iPad running IOS 11.4.1, iPhone running 10.3.3. Anything on the local network having the movie trans-coded will get ms spikes and eventually time out. Trans-coded to the WAN: Essentially the same setup, however I have substituted the Cisco RV325 for a HP 2530, no changes. I removed the internal network as a factor and placed my ATT fiber connection into pass-thru mode and ran it directly to the emby server Ethernet interface 1 using all of AT&T's settings including a static IP. Same result with ms spike over 30000ms I did the same thing with the Charter connection and achieved the same results. Yes, all network cables have been checked and replaced in some form or fashion. Other than reformat a very pristine install of Windows 10, that is completely patched thru ver. 1803 OS Build 17134.254 I am not sure what could be causing this. I have also tried Intel Quick Sync under Hardware Acceleration and it made no difference if I got a HTTP-Response ms spike. Anyone got a idea on what is causing this? I would like to figure out why the HTTP Response 200 or 204 or 500 just seems to die and then comes back 30000ms later. Hopefully its something dumb I have done and just can't see/find. -jack embyserver.01.txt embyserver.02.txt ffmpeg-transcode-3a894504-e98f-4318-a42c-c343840d0d23.txt ffmpeg-transcode-7e725ccc-cf04-4617-b922-019e3c9454ed.txt
  15. I have an issue with emby. When I play a movie remotely it has to be transcoded most of the times because I've set a remote bandwith limit to 4,5 Mbps. The problem is that the client isn't buffering correctly/enough when watching a transcoded video. For example I start a movie and pause it, the buffering stops after about five seconds. I monitor the network traffic with iftop and I can see it in the client too, as kodi and emby clients show a grey bar indicating the buffering progress. With directplay it's all fine. It buffers minutes or even the whole video depending on the client and it's buffering with a higher speed than the bitrate. In kodi for example, it completely ignores the settings of buffersize and speed(readfactor) when transcoding on the opposite to directly play where it does what it's supposed to do. The whole problem with this is that when a short interrupt or bandwith shortage occurs the playback stops. Instead the client could have used the extra bandwith to fill it's buffer. This issue happens with all clients I've tested so far. My upload should be plenty with 40 Mbps. Is this behaviour intended? In my opinion transcoding is mostly used on remote connections and there is always a buffer needed opposed to direct play which is mostly used at home. The transcoding is more than fast enough by the way. It usually transcodes with 3x speed or faster. Server: Version Docker on Ubuntu 18.04 Clients: Kodi Emby and EmbyCon (increased buffer/set it to unlimited) Emby Theatre UWP Emby Theatre Desktop Web (Edge, Firefox & Chrome) Android Just say if you need any client or server logs.
  16. Plex has the "Optimize" feature, where pre-transcoded copies of files are stored for later playback on a streaming device, like an AppleTV. The benefit is it doesn't take real-time transcoding for the target device, allowing for useful transport controls (thumbnails during forward/reverse scrubbing). Does Emby have an equivalent feature? I'm trying to figure out whether Emby or Plex or some combination of both are the right solution for my various viewing scenarios. Thanks.
  17. arrbee99

    Theater 3.0.2 and transcoding

    Am beginning to wonder if desktop Theater 3.0.2 is transcoding stuff it used to direct play. One of the midgets was watching Peaky Blinders S04E01 on his laptop using 3.0.1 and am pretty sure dashboard said it was direct playing. Now he's watching S04E03 using 3.0.2 and it says its transcoding. It says media bitrate exceeds limit. Dashboard says its running at 4.7Mbps and am using ethernet. In the logs over the last day or two it plays Ep1 and Ep2 OK and for Ep3 it starts using ffmpeg... embyserver-63671097600.txt embyserver.txt ffmpeg-transcode-e55b63d9-3480-483c-881a-9215573d452a.txt
  18. 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
  19. laifisnau

    AMF transcoding problem

    Hello. First of all, I apologize for my English (I'm Italian). I write here because I have a problem with transcoding. I have a system based on APU AMD Ryzen 2400G (VEGA 11 video card, lastest driver), windows 10 pro 64bit (with lastest update), 16GB ram, etc. With none of my files (all HEVC) I can make transcoding work. The encoding in h264 works (in the task manager I see that the video card is engaged at about 20%, the encoding section is 50% engaged) while the decoding is not (the decoding section remains at 0% while the cpu with video in 4k goes to 70 %). I have already changed ffmpeg by putting a version with enabled -amf. The same videos are easily decoded by video card watching them with vlc, mediaplayer, etc. I enclose the two logs. The file in 4k is a 10bit HVEC from around 50Mbps, 1080p is a simple 8bit and 8Mbits HEVC movie. Thanks for your help. 4k.txt 1080p.txt
  20. soloam

    Bitrate Limit Not Working.

    Hello, I would like to set a Bitrate limit to my clients, but I can't seem to make it work! I'm testing in Kodi with the emby addon, and I set on my server a limit of 2Mb/s. When I play a movie in kodi (outside my network, so streaming, not direct playing) I press the leter "o" to get the movie information! I see that it still is a 1080p movie and that goes beyond the 2Mb/s bitrate. On the server dashboard I get the information "Direct Plying". Only when in kodi I set a lower "Video Quality" I get Transcoding in the dashboard and the correct bitrate on the video info in kodi. I would like to control this, not the clients. I would like to limit the bit rate to all clients, and if possible the video size (down to 720p). Is this possible? Thank You
  21. Hi all, Sorry if this has been posted before but is there away to force transcoding on low resolution videos. Direct play is pixelated, Have tested network works great, problem seems to be the player on android tv Cheers for your help
  22. I have an old show encoded in XVID inside AVI containers. When I DirectPlay them on a device that supports AVI/XVID, they play fine, but if transcoding kicks in then the video turns into a garbled pixelated mess with tons of macroblocking. The audio sounds fine. This happens on all devices when transcoding. Here are the transcoding logs: ffmpeg-transcode-13c2ec0e-ff80-4827-b534-fd0bcc046eea.txt ffmpeg-transcode-fc23c1d9-8a80-4821-b2ec-1c32e92785c8.txt Media Info for the file: Format : AVI Format/Info : Audio Video Interleave File size : 232 MiB Duration : 24 min 42 s Overall bit rate : 1 311 kb/s Writing library : VirtualDub build 13720/release Video ID : 0 Format : MPEG-4 Visual Format profile : Advanced Simple@L5 Format settings : BVOP2 / GMC3 Format settings, BVOP : 2 Format settings, QPel : No Format settings, GMC : 3 warppoints Format settings, Matrix : Default (H.263) Muxing mode : Packed bitstream Codec ID : XVID Codec ID/Hint : XviD Duration : 24 min 42 s Bit rate : 1 173 kb/s Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 23.976 (23976/1000) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Compression mode : Lossy Bits/(Pixel*Frame) : 0.159 Stream size : 207 MiB (90%) Writing library : XviD 1.0.2 (UTC 2004-08-29) Audio ID : 1 Format : MPEG Audio Format version : Version 1 Format profile : Layer 3 Format settings : Joint stereo / MS Stereo Mode : Joint stereo Mode extension : MS Stereo Codec ID : 55 Codec ID/Hint : MP3 Duration : 24 min 42 s Bit rate mode : Constant Bit rate : 128 kb/s Channel(s) : 2 channels Sampling rate : 48.0 kHz Compression mode : Lossy Delay relative to video : 3 s 3 ms Stream size : 22.6 MiB (10%) Alignment : Split accross interleaves Interleave, duration : 42 ms (1.00 video frame) Interleave, preload duratio : 500 ms Writing library : LAME3.95
  23. Need a little help here. I'm very much enjoying Emby, but I'm having issues when watching movies in the browser (updated Chrome v67...). I look forward to working while playing a movie on a spare monitor. Some movies play very well with DirectStream while others are almost unwatchable when transcoding. I'm trying to figure out what's triggering the transcoding/preventing DirectStream. Some hopefully helpful info All video files are .mkv (ruling out .iso incompatibility in browser play) My blu ray copies all use DirectStream - ruling out server hardware, bandwidth, quality settings, 5.1 conversion to 2.0, and other potential bottle necks when playing lower quality/non-blu ray content I thought it might be subtitles, but transcoding continues even after turning off subtitles Below is my 'stats for nerds'; attached is my transcoding log Happy to re-convert files so that Emby is happy and defaults to DirectStream. Thank you! emby transcode log.txt
  24. So, lately I've been using NVENC with a crf of 18, and the ultrafast preset. Most of the time this seems to be fine, but sometimes video's will just start glitching. This is usually the case with videos with AAC audio. So, I heard QuickSync is more reliable, but doesn't this run entirely on the CPU? I prefer encoding on the GPU, since it's stronger than my CPU. Anyways, I'd like to know what settings I should use. I don't really mind a little quality loss, just nothing too severe, but what I find most important is that every video plays back without any glitches, and that the encoding process is fast. My specs: 8GB RAM i5-4440 CPU GTX 970 GPU
  25. I have an internet channel plugin that I'm not able to avoid transcoding videos (on server 3.4.1), maybe I'm missing something? ffmpeg-transcode-58b79aa4-3268-441a-bb6c-95f630a633a3.txt ffmpeg-transcode-68e19ad8-17bf-4af0-a6e7-4577d860b635.txt ffmpeg-transcode-cad58fff-b029-4a1f-a144-ea839ce48467.txt
  • Create New...