Search the Community
Showing results for tags 'FFMpeg'.
-
Think this may solve alot of issues with live tv channels taking so long to load...
-
When attempting video playback in my browser, I get this error and the attached logs indicate: /opt/emby-server/bin/ffmpeg: /usr/lib/libOpenCL.so.1: no version information available (required by /opt/emby-server/bin/ffmpeg) /opt/emby-server/bin/ffmpeg: /usr/lib/libOpenCL.so.1: no version information available (required by /opt/emby-server/bin/ffmpeg) /opt/emby-server/bin/ffmpeg: symbol lookup error: /opt/emby-server/bin/ffmpeg: undefined symbol: clCreateImage, version OPENCL_1.2 I can play the files on my mobile however. This is an Arch machine that I want to use as media storage and server. ffmpeg-transcode-2519360f-804c-4228-9c4c-44ce7c31ac4f_1.txt embyserver.txt
-
Hello, Since I updated from 4.7.14 to 4.8.3.0 the external subtitles are not rendered anymore on videos. Here's some information about the NAS: Version: DSM 7.1.1-42962 Update 5 Model: DS213j CPU: MARVELL Armada 370 88F6707 It seems that all ffmpeg related operations are failing, here are some logs of the errors: 2024-03-06 16:29:09.193 Info Main: Emby Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.exe -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -defaultdirectory /volume1/Public -updatepackage emby-server-synology7-mono_{version}_armv7_legacy.spk -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -nolocalportconfig -noskia -ignore_vaapi_enabled_flag Operating system: Linux version 3.2.101 (root@build7) (gcc version 8.5.0 (GCC) ) #42962 Fri Mar 24 00:28:03 CST 2023 Framework: Mono: 6.12.0.182 (tarball Thu Jan 19 10:28:52 PM UTC 2023) OS/Process: X86/X86 Runtime: volume1/@appstore/EmbyServer/lib/mono/4.5/mscorlib.dll Processor count: 1 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system 2024-03-06 16:29:38.836 Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Execute: /var/packages/EmbyServer/target/bin/ffmpeg -hide_banner -version 2024-03-06 16:29:39.849 Info App: Starting entry point Emby.Dlna.Main.DlnaEntryPoint 2024-03-06 16:29:41.036 Info FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Process exited with code 132 - Failed 2024-03-06 16:29:41.101 Error FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Output: 2024-03-06 16:29:41.103 Error FfmpegManager: ProcessRun 'ffmpeg -hide_banner -version' Error Output: 2024-03-06 17:11:51.835 Info SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Process exited with code 132 - Failed 2024-03-06 17:11:51.840 Error SubtitleEncoder: ffmpeg subtitle conversion failed for /volume1/video/subtitle.eng.srt 2024-03-06 17:11:51.841 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Output: 2024-03-06 17:11:51.841 Error SubtitleEncoder: ProcessRun 'ffmpeg-subtitle_convert' Error Output: 2024-03-06 17:11:51.972 Error App: Error getting subtitles *** Error Report *** Version: 4.8.3.0 Command line: /volume1/@appstore/EmbyServer/system/EmbyServer.exe -programdata /var/packages/EmbyServer/var -ffdetect /var/packages/EmbyServer/target/bin/ffdetect -ffmpeg /var/packages/EmbyServer/target/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/bin/ffprobe -defaultdirectory /volume1/Public -updatepackage emby-server-synology7-mono_{version}_armv7_legacy.spk -pidfile /var/packages/EmbyServer/var/EmbyServer.pid -nolocalportconfig -noskia -ignore_vaapi_enabled_flag Operating system: Linux version 3.2.101 (root@build7) (gcc version 8.5.0 (GCC) ) #42962 Fri Mar 24 00:28:03 CST 2023 Framework: Mono: 6.12.0.182 (tarball Thu Jan 19 10:28:52 PM UTC 2023) OS/Process: X86/X86 Runtime: volume1/@appstore/EmbyServer/lib/mono/4.5/mscorlib.dll Processor count: 1 Data path: /var/packages/EmbyServer/var Application path: /volume1/@appstore/EmbyServer/system System.Exception: System.Exception: ffmpeg subtitle conversion failed for /volume1/video/subtitle.eng.srt at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitleInternal (MediaBrowser.Model.Entities.MediaStream subtitleStream, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, System.String outputPath, Emby.Media.Model.Enums.SubtitleMediaTypes outputCodec, System.Nullable`1[T] startTime, System.Nullable`1[T] endTime, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x0073a] in <3f3cc22c13094dd1a8ace54832e3e042>:0 at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.ConvertExternalSubtitle (MediaBrowser.Model.Entities.MediaStream subtitleStream, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, System.String outputPath, Emby.Media.Model.Enums.SubtitleMediaTypes outputCodec, System.Nullable`1[T] startTime, System.Nullable`1[T] endTime, System.Boolean preserveOriginalTimestamps, System.Threading.CancellationToken cancellationToken) [0x0013f] in <3f3cc22c13094dd1a8ace54832e3e042>:0 at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetReadableFile (System.String mediaPath, MediaBrowser.Model.MediaInfo.MediaProtocol mediaSourceProtocol, System.Boolean isAudio, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, MediaBrowser.Model.Entities.MediaStream subtitleStream, System.String outputFormat, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, MediaBrowser.Model.Dlna.EncodingContext encodingContext, System.Threading.CancellationToken cancellationToken) [0x0037f] in <3f3cc22c13094dd1a8ace54832e3e042>:0 at Emby.Server.MediaEncoding.Subtitles.SubtitleEncoder.GetSubtitles (System.String inputPath, MediaBrowser.Model.MediaInfo.MediaProtocol inputProtocol, System.Boolean isAudio, System.Collections.Generic.IDictionary`2[TKey,TValue] requestHeaders, MediaBrowser.Model.Entities.MediaStream subtitleStream, System.String outputFormat, System.Int64 startTimeTicks, System.Int64 endTimeTicks, System.Boolean preserveOriginalTimestamps, MediaBrowser.Model.Dlna.EncodingContext encodingContext, System.Threading.CancellationToken cancellationToken) [0x0011a] in <3f3cc22c13094dd1a8ace54832e3e042>:0 at Emby.Api.Subtitles.SubtitleService.GetSubtitles (Emby.Api.Subtitles.GetSubtitle request, System.Threading.CancellationToken cancellationToken) [0x002fc] in <53aa55c1ddf84136832a4775a5507478>:0 at Emby.Api.Subtitles.SubtitleService.Get (Emby.Api.Subtitles.GetSubtitle request) [0x00265] in <53aa55c1ddf84136832a4775a5507478>:0 Source: mscorlib TargetSite: Void Throw() I tried to execute the ffmpeg binary packaged with the server but I' m not able to run it.
-
Hi there, first time poster and relatively new media server-hoster trying out Emby for a few weeks. Love the UX and just recently upgraded to Premiere. Currently running Emby and Jellyfin simultaneously in docker containers while I transition. Having an issue with playing media when using DVDSUB/PGS (image-based?) subtitles. I am able to play videos with SRT subtitles or no subtitles just fine, but whenever I load a media file with DVDSUB/PGS subtitles it seems to hang and my logs get filled with errors. I think that my issue may be related to the one described in this thread . For further context I have tested with both the web and chromecast clients and the error persists in each. Additionally, when I play the media with the DVDSUBs in Jellyfin it loads just fine. ffmpeg-transcode.txt
- 6 replies
-
- subtitles issue
- transcode
-
(and 4 more)
Tagged with:
-
ffmpeg segfault when transcoding TrueHD 7.1 Audio with HDR10 video
albumhaircut posted a topic in Linux
Emby Server 4.7.8.0 running in Docker on Unraid 6.11.1 via official Embyserver Docker image. Not sure why 4.7.8.0 is returned for :latest as there are newer version tagged (4.8.0.12 for example) but hopefully that's not important for this issue. Issue is ffmpeg is segfaulting immediately when transcoding TrueHD 7.1 audio . Log line from syslog: Oct 16 22:23:41 GServer kernel: ffmpeg[32298]: segfault at fffffffffffff100 ip 0000147f2aedf5b8 sp 0000147f27e04610 error 5 in libavcodec.so.59.21.100[147f2ab17000+18c6000] Oct 16 22:23:41 GServer kernel: Code: 55 1a 48 89 08 48 83 c0 08 48 39 c2 75 f4 e9 17 f8 ff ff 0f 1f 80 00 00 00 00 48 8b 44 24 58 48 8b b4 24 48 83 e0 fe 48 29 c6 <f3> 0f 6f 0e 0f 11 8c 24 92 01 00 00 e9 e6 f7 ff ff 0f 1f 80 00 00 Interestingly, this only occurs if the video stream is 4k HEVC HDR10 (playing direct stream so not transcoded). Segfault doesn't happen with standard 4k HEVC HDR video files and TrueHD7.1 audio. I don't have any other types of HDR to test. Containers are mkv. Here's the (hopefully) relevant part from the main log in the dashboard. I'm refraining from posting the entire log as it's absolutely spammed full of thousands of repeats of these lines: 2022-10-16 22:38:28.602 Info Server: http/1.1 Response 404 to host1. Time: 1ms. http://192.168.1.100:8096/emby/videos/153573/hls1/main/1548.ts?PlaySessionId=11c4e0d69eef430ab689d43a22c86c17 2022-10-16 22:38:28.610 Info Server: http/1.1 GET http://192.168.1.100:8096/emby/videos/153573/hls1/main/1549.ts?PlaySessionId=11c4e0d69eef430ab689d43a22c86c17. Accept=*/*, Connection=keep-alive, Host=192.168.1.100:8096, User-Agent=libmpv, Icy-MetaData=1 2022-10-16 22:38:28.610 Error Server: Error processing request *** Error Report *** Version: 4.7.8.0 Command line: /system/EmbyServer.dll -programdata /config -ffdetect /bin/ffdetect -ffmpeg /bin/ffmpeg -ffprobe /bin/ffprobe -restartexitcode 3 Operating system: Linux version 5.19.14-Unraid (root@Develop) (gcc (GCC) 12.2.0, GNU ld version 2.39-slack151) #1 SMP PREEMPT_DYNAMIC Thu Oct 6 09:15:00 PDT 2022 Framework: .NET 6.0.8 OS/Process: x64/x64 Runtime: system/System.Private.CoreLib.dll Processor count: 16 Data path: /config Application path: /system System.IO.FileNotFoundException: System.IO.FileNotFoundException: Unable to find the specified file. at Emby.Server.MediaEncoding.Api.Hls.BaseHlsService.CreateRequestFromPlaySessionId(BaseSegmentRequest segmentRequest) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.Get(GetHlsSegment segmentRequest) at Emby.Server.Implementations.Services.ServiceController.Execute(HttpListenerHost appHost, Object requestDto, IRequest req) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: System.Tuple`3[Emby.Server.MediaEncoding.Api.StreamRequest,System.String,MediaBrowser.Controller.Net.AuthorizationInfo] CreateRequestFromPlaySessionId(Emby.Server.MediaEncoding.Api.Hls.BaseSegmentRequest) I can see it says System.IO.FileNotFoundException, the file is obviously there and I can play the file fine with no playback issues when I select another audio stream line AC3 5.1. I have attached the transcode log in case that contains anything helpful. Thanks. ffmpeg-transcode-2ac1a4cd-5c5f-4f88-b3ac-ee5274870e73_1.txt -
Hi @Luke, I'm experiencing issue on my emby installation (Terramaster f2-210). I was on 4.7.6 and everything was fine, then I decided to move to 4.8.0.8 but this seems to broke playback capability (especially on 4k streams). So I moved back to 4.7.6, but still the issues remain, so I checked and found out that ffmpeg process is feasting on RAM, even when the Emby Server is stopped (see attached screenshot). I also attached an emby server log: you can find a correct playback of 1080 stream (txt line 455), and a failed playback of a 4k one, previously working (txt line 891). Hope this will help in solving the issue, thanks! embyserver.txt
- 14 replies
-
- terramaster f2-210
- high memory usage
-
(and 2 more)
Tagged with:
-
No compatible streams available and no thumbnails on android 12
midk9t posted a topic in Android Server
Hello devs! I just installed emby server with com.emby.embyserver_4.7.6.0.apk on my xiaomi 10 pro with android 12. But after I added media folders, all video playback failed and no thumbnails were generated. I take a look at the logs and there are many errors regarding ffmpeg failing to execute. Log files below. Could it be an android 12 specific issues? embyserver.txt ffmpeg-transcode-3732ef57-a432-4e02-942c-b669cfe5a843_1.txt -
On Arch Linux, Emby is using a basic ffmpeg by default. Now we have started publishing an Arch Linux package which allows easy installation of the same ffmpeg that is included in most of our other server installation packages and which is optimized for tone mapping, hardware acceleration and a number of other things in combination with Emby Server. Installation Download first to avoid signature issues, then install via pacman: wget https://mediabrowser.github.io/embytools/emby-ffmpeg-bin-2023_06_25-1-x86_64.pkg.tar.zst sudo pacman -U emby-ffmpeg-bin-2023_06_25-1-x86_64.pkg.tar.zst Please restart Emby server after installation: systemctl restart emby-server.service
-
Playback Error, No compatible streams are currently available.
rootpid posted a topic in Android Server
Model: Pixel 3a - Google/google ---> Official ROM Android 11 Hardware: sargo/sargo/sargo/sargo CANNOT LINK EXECUTABLE "/data/user/0/com.emby.embyserver/files/ffmpeg/ffmpeg": cannot locate symbol "__trunctfdf2" referenced by "/data/user/0/com.emby.embyserver/files/ffmpeg/ffmpeg"... i cant watch videos With Emby server for android App version 4.7.0.9 beta and 4.6.4.0 LOG.zipLOG.zip- 42 replies
-
- android
- android server
-
(and 3 more)
Tagged with:
-
Hello, I have an odd one and I do not think it is emby directly. Read to the end.... I'm encoding some movies into HEVC using Hardware Acceleration. I decided to have two audio tracks (1. Original Audio Passthru, 2. AAC Track @ 960K). When I view the data in emby the second AAC audio track is wrong. It is being reported as 320K. So I figured maybe its the file itself. Here is the audio mediaInfo on the file. Perhaps it is the FFmpeg commands I am using for the audio. This is the main list of commands I have come up with for encoding HEVC with two audio tracks. Mind you the titles and names of the metadata for the audio tracks can change from title to title. I am not really sure why the second audio track is being mis-read. ffmpeg -y -vsync 0 -hwaccel cuda -i "inputFile.mkv" // First Audio Track (Source) Commands -map 0:v -map 0:a:0? -c:a:0 copy -metadata:s:1 title="Surround 5.1 Track" -metadata:s:1 handler="Surround 5.1 Track" -metadata:s:1 language=eng // Second Audio Track (AAC) Commands -map 0:a:0? -c:a:1 aac -metadata:s:2 title="AAC Track" -metadata:s:2 handler="AAC Track" -metadata:s:2 language=eng -b:2 960K -ac:2 6 -filter:2 aformat=channel_layouts=6.0
- 5 replies
-
- ffmpeg
- general info
-
(and 3 more)
Tagged with:
-
Hey guys, Been using emby on Linux for quite some time now. However after a new install on a clean machine, while importing my existing files. I encountered some performance issues. After looking at it it seems the library scanning process only will utilize 1 core at a time. The ffmpeg process that is forked for the chapter images is explicitly started with -threads 1. Is there any option to increase that ? Or is it limited that way due to locking issues ? On current systems it would speed up these processes quite a lot if multiple threads where forked. Even if ffmpeg was only forked with -threads 1 it would be possible to start multiple ffmpeg's for multiple media files. Also it looks like the chapter imaging task limits emby from doing other tasks (like re-importing the .nfo files I have for every media file). Are there any parameters that can be used to force emby to multi-thread some processes or is this currently not possible ?
- 4 replies
-
- linux
- multithread
-
(and 2 more)
Tagged with:
-
Hello, Although scheduled to run each night. The process to download any new subtitles is set to run, and does. However, it doesn't download all the subtitles, in fact it fails with the following message: ffmpeg subtitle extraction failed for file:"/Users/David/emby-server/cache/temp/23f0ce6d-0784-4cf4-afe8-dc84a7fd885f.txt" to /Users/David/emby-server/cache/subtitles I have noticed a number of the TV Show's I have on my NAS (That is connected to Emby) doesn't have subtitles. Does anyone have any ideas how I can fix this? Thanks
-
Hi ! So this night with no reason, my emby server decided to not transcode movies and all of stuff on it. Here is my log file : https://paste2.org/9cFkEk0p
-
Chromecast freezes (loading circle) when playing content from DS418play
draaideur posted a topic in Synology
First of all I love all the work that has been done for this great product and I’ve been using Emby for 2 months without a hitch. However, yesterday I noticed Emby server was only sending stereo audio to my chromecast where surround sound with a range of different transcoded codecs always worked before. I could not find an easy fix, I had the feeling it was ffmpeg related but no errors occurred and software I believe was not updated. However, the Emby logs said it was sending out a stereo signal. I reinstalled Emby Server and everything works except when Emby is casting, the chromecast freezes (loading circle) when I play a movie. I tried a range of files with different audio codecs and containers, AC3, AAC stereo, DTS, Dolby, DTS-HD etc. It keeps freezing What works: Other apps cast fine to the chromecast including surround sound. Casting is initialised by Emby through the android app and the item metadata appears on the casted screen. Emby server plays the items perfectly on my android phone or Mac laptop. Everything worked perfectly until some change somewhere this week. What doesn't work: Once I press play the chromecast shows the circle loading icon over the Emby interface and nothing happens. Hardware/Software: - Chromecast, Firmware 1.42.172094 - Synology DS418play, DSM 6.2.3-25426 - Emby Server (4.4.3) - Emby Client Android (3.1.23) - Marantz SR6006 I believe it has something to do with ffmpeg but don't know why this would just change from one day to another. I attached the log files where the embyserver.txt log ends with the chromecast freezing. Any tips would be highly appreciated. hardware_detection-63735854706.txt embyserver.txt- 4 replies
-
- chromecast
- ffmpeg
-
(and 3 more)
Tagged with:
-
tanscoder is not burning ass/ssa subtitles properly (web)
nishwahareesh posted a topic in General/Windows
well the title explains HOW ITS MEANT TO BE SEEN HOW ITS SEEN THROUGH A BROWSER LOG FILEffmpeg-transcode-2e5de3da-59ec-4e6e-87fe-0c9abef5ea0c_1.txt in the "Processing Plan", in the "SubtitleBurnIn" part it says "false" for burning subtitles but i have this option disabled -
Hello, I've been happily using Emby (with Premiere) on a XPenology NAS for a few years now, and recently seem to have hit a bug. When I try to play some movies of my collection, I hit the "Aucun flux compatible n'est actuellement disponible." (please pardon my french setup, this would be "No available stream" or something like that in english). I looked at the attached logs, tried to launch the "actual command" and sure enough, got the same error before ffmpeg quits: Stream specifier ':3' in filtergraph description [0:3]scale@f1=width=720:height=-2:force_original_aspect_ratio=decrease[f1_out0];[0:0][f1_out0]overlay@f2=x=(W-w)/2:y=(H-h):repeatlast=0[f2_out0] matches no streams. Just in case, here's the output of ffprobe on the file: ffprobe version 4.3.0-emby_2020_02_24-20200406T210855UTC Copyright (c) 2007-2019 the FFmpeg developers and softworkz for Emby LLC built with gcc 7.3.0 (GCC) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/volume1/video/redactedfilename.m4v': Metadata: major_brand : mp42 minor_version : 512 compatible_brands: isomiso2avc1mp41 creation_time : 2017-10-22T20:12:17.000000Z encoder : HandBrake 1.0.7 2017040900 Duration: 02:05:05.32, start: 0.000000, bitrate: 1089 kb/s Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/bt709), 720x426 [SAR 64:45 DAR 512:213], 756 kb/s, Level 31, 25 fps, 25 tbr, 90k tbn, 180k tbc (default) Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : VideoHandler Stream #0:1(fra): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s (default) Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : Stereo Stream #0:2(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 160 kb/s Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : Stereo Stream #0:3(fra): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 1 kb/s (default) Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : SubtitleHandler Stream #0:4(eng): Subtitle: dvd_subtitle (mp4s / 0x7334706D), 720x576, 2 kb/s Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : SubtitleHandler Stream #0:5(eng): Data: bin_data (text / 0x74786574) Metadata: creation_time : 2017-10-22T20:12:17.000000Z handler_name : SubtitleHandler Unsupported codec with id 100359 for input stream 5 Any idea what I can do to make this work again (I'm pretty sure it has worked in the past) ? Thanks for your help. ffmpeg-transcode-8b813c11-e81a-4a0b-876d-a6cf032d5a2f_1.txt
- 11 replies
-
- ffmpeg
- transcoding
-
(and 1 more)
Tagged with:
-
Not sure if this is the right place for this, however having re-ripped all my media using FLAC given the lack of license with Synology (and others) for DTS, I am wondering why Emby is not handling the native 7.1 streams on 'newer' blu-rays and 4K UHD and outputting them as 5.1 to clients. Maybe this is an LG specific thing, as a quick test playing on Android phone and through the browser on my desktop (2ch) seems OK? All I get through my LG 65" OLED (2018) is a blank screen and no sound, and on the LG 32" LCD a high pitched buzz/whistle. Going back to Plex (which I am trying to get away from), they play OK on both. Presumably Emby is also using some FFmpeg library (same as Plex), so there would be no benefit in me installing the one from the SynoCommunity? Any help would be much appreciated. I don't really want to re-rip or remux my library having already done it once to FLAC.... Cheers, Mark
-
I've seen that some files are being remuxed (changed from mp4 to ts, no changes in video or audio codec) whitout apparent reason. Can somebody give me a clue why this file is being converted from mp4 to ts copying both the video and the audio? The device where is being seen is able to do DirectPlay but insted it is DirectStreaming. Thanks, can provide more info if needed. ffmpeg-directstream-f118d222-127c-45bf-b8f8-f4943b9f68be_1.txt
- 10 replies
-
- directstream
- directplay
-
(and 3 more)
Tagged with:
-
Problem: transcoding a movie with 6-channel audio on a 2-channel (stereo) it TV causes the playback to loop, play a bit, then loop, then play a bit, then loop. This only starts to happen after an hour or so of the movie's playtime. If I fast forward a movie to an hour and ten minutes, the looping will happen. If I fast forward to the ten minute mark, or play ten minutes from the start, the looping will not happen. It only happens when I'm far into the movie. i've seen it happen with multiple movies after the hour (or so) mark. Server Platform: Raspberry PI 4 Server Version: Emby 4.3, and 4.4 beta. (I never saw this happen on 4.1... not sure about 4.2) Affected Apps: Emby on TCL TV with Roku Software, Roku Stick, old Roku box. Unaffected: Emby app on Samsung Galaxy, Emby played through a browser on a few laptops I've tried. I'm guessing transcoding is not happening so those are unaffected. I did not notice this happening until recently after I upgraded emby to 4.3 (from 4.1 or 4.2... sorry I don't recall the version I was using) and upgraded the hardware to a Raspberry PI 4 from a 3. I tried upgrading from 4.3 to the 4.4 beta, but the problem persists. I've tried adjusting transcoding settings, a variety of ways, including turning on and off hardware transcoding. Nothing seems to make any difference. The frequency of the looping happens roughly every few seconds at the max, and a high volume of ffmpeg-remux logfiles get generated. I've uploaded the server logfile, and several of the ffmpeg-remux log files (there are around 20 per minute generated sometimes) embyserver.txt ffmpeg-remux-1227e031-e60a-498d-bb6a-2a0dd5c5c08b_1.txt ffmpeg-remux-bf700119-a27c-4a9c-9a75-0bb32017e6cd_1.txt ffmpeg-remux-c82537e4-2b42-45fc-b58a-dc9439cac80b_1.txt hardware_detection-63713319499.txt
- 11 replies
-
- transcoding
- roku
-
(and 4 more)
Tagged with:
-
I have a .STRM file and have disabled transcoding for the user. In the dashboard the content shows up as direct played but it is evident this is not happening because there is massive stutter. I looked in the log files and Emby is still using FFmpeg to transcode it even though it should be direct play. I am using Emby Web Client on Chrome.
- 4 replies
-
- strm
- transcoding
-
(and 5 more)
Tagged with:
-
Trying to find source code location of FFmpeg conversion of m3u playlists.
surprisejedi posted a topic in General/Windows
Don't know whether this is the right place for this sorry. When FFmpeg transcodes the m3u stream on the fly for viewing where is the code that handles this? I cannot seem to find it anywhere in the source code on GitHub.- 4 replies
-
- Source-code
- Github
-
(and 2 more)
Tagged with:
-
FFMPEG Transcoding of m3u8 fails. No streams available
surprisejedi posted a topic in General/Windows
I have a .m3u8 file that looks something like this: #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=614000,AVERAGE-BANDWIDTH=564000,RESOLUTION=480x270,CODECS="avc1.77.30,mp4a.40.2" https://example.com/270/prog_index.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1118000,AVERAGE-BANDWIDTH=1028000,RESOLUTION=640x360,CODECS="avc1.77.30,mp4a.40.2" https://example.com/360/prog_index.m3u8 This is a valid streaming file and the servers are responding. The file works in VLC and using ffmpeg command line. However when trying to play the file in Emby it fails. Here is my log (where [EXAMPLE_FILE] is emby's .mp4 output): 2019-12-02 21:28:36.671 Info App: ProcessRun 'StreamTranscode 3931b4' Execute: /opt/emby-server/bin/ffmpeg -loglevel +timing -f mp4 -i file:"/home/[EXAMPLE_FILE].mp4" -threads 0 -map 0:0 -map 0:1 -sn -c:v:0 libx264 -pix_fmt yuv420p -maxrate 2914608 -bufsize 5829216 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 23 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -g:v:0 72 -keyint_min:v:0 72 -sc_threshold:v:0 0 -copyts -vsync -1 -codec:a:0 libmp3lame -disposition:a:0 default -ac:a:0 2 -ab:a:0 63903 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_write_temp 1 -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/lib/emby/transcoding-temp/cea4a7824123e700ac386c08c4969e3c.m3u8" -y "/var/lib/emby/transcoding-temp/cea4a7824123e700ac386c08c4969e3c%d.ts" 2019-12-02 21:28:36.759 Info App: ProcessRun 'StreamTranscode 3931b4' Process exited with code 1 2019-12-02 21:28:36.798 Error HttpServer: Error processing request *** Error Report *** Version: 4.3.0.30 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 5.2.0.2 64-Bit OS: True 64-Bit Process: True User Interactive: True Runtime: file:///opt/emby-server/system/System.Private.CoreLib.dll Processor count: 2 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.Exception: System.Exception: Error starting ffmpeg at Emby.Server.MediaEncoding.Api.BaseStreamingService.StartFfMpeg(StreamState state, String outputPath, CancellationTokenSource cancellationTokenSource, Boolean acquireResources) at Emby.Server.MediaEncoding.Api.Hls.DynamicHlsService.GetDynamicSegment(StreamRequest request, String playlistId, String segmentId, Int32 subtitleStreamIndex) at Emby.Server.Implementations.Services.ServiceController.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, RestPath restPath, String responseContentType, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IRequest httpReq, ReadOnlyMemory`1 urlString, ReadOnlyMemory`1 localPath, CancellationToken cancellationToken) Source: Emby.Server.MediaEncoding TargetSite: Void MoveNext() I know the correct ffmpeg command for this (similar example): ffmpeg -protocol_whitelist file,http,https,tcp,tls -i "org_file.m3u8" -c copy -bsf:a aac_adtstoasc output.mp4 If all else fails I can change the source code to match the above code.- 3 replies
-
- ffmpeg
- transcoding
-
(and 2 more)
Tagged with:
-
Emby Web 4.3.0.26 windwos 7 Core i5 750 RAM 8gb After watching a video on a Samsung TV-set, when I press the 'back' button, the ffmpeg process freezes up. When I open the next video, another ffmpeg process appears: because of that my server slows down and the video starts to slow down due to CPU overload. However, there is no such problem when I watch the video via web browser, the process disappears.
-
In MCEBuddy, one can choose to use any number of available Processor Cores to leave overhead for other processes. This allows me to convert ts to HEVC and run Emby at the same time. This works great until after MCEBuddy converts and Emby kicks in Thumbnail Extraction which uses ffmpeg and pegs the processor to 100% or just below leaving no room for other things like LiveTV or even transcoding on the fly for a client. Is there a way to limit ffmpeg to maybe 1 core? I know it will take longer but that's not a big concern anyhow. TIA
-
It seems that the ffmpeg-transcode-* log files are not being rotated by the "Rotate Log File" scheduled task. No errors reported in the console logs. Other log files in the same directory are deleted as expected. 1.8GB of transcode logs built up before I manually cleared. Debug logging is not enabled; should these logs even be generating? Is there an option to turn those off? Thanks!