Jump to content

Search the Community

Showing results for tags 'ffmpeg'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. 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
  2. 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
  3. oisecnet

    Optimizing scanning Library

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

    Subtitles not downloading on MacOS

    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
  5. CaffNoir

    Nothing want to start

    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
  6. 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
  7. 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
  8. lesensei

    Unable to stream some movies

    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
  9. marky9074

    FLAC 7.1 to LG WebOS?

    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
  10. 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
  11. 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
  12. 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.
  13. 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.
  14. 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.
  15. 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.
  16. 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
  17. 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!
  18. dougaddams

    FFMPEG Advanced parameters

    Hey Guys! Is there anyway to add extra parameters to the FFMPEG CLI? I think it would be a good idea if possible to add an arguments box to the advanced trans-coding page so people may enter any extra parameters they wished to add to FFMPEG for streams. Just a thought if there is not a way to do it at the moment. I can't seem to see any way to add extra arguments myself without attempting to decompile and dig. Is this do able? does anyone know?
  19. Hello, I recently bought premiere and suddenly Emby is running ffmpeg in the background at nearly 100% CPU, nearly constantly, even with no one accessing the server. For now, I disabled Download & Convert, and things returned to normal. I guess I have a few questions: 1) What exactly does "Download & Convert" do? What's it for? 2) Why was it running in the background? 3) Was it converting and replacing my library to be stream friendly? My whole library? That would take forever, are the old files deleted as they are converted to save space? 4) I have a GTX 950 - why wasn't that being utilized? HW encoding is enabled and recognized. 5) Can I just leave download & convert off? Thank you very much if someone takes the time to answer some of this for me.
  20. lills

    Option to override ffmpeg command

    Hi, I cannot get Emby (Windows or Synology versions) to transcode mkvs (h265) to mp4 (h264) my Humax set top box connected to my TV. I believe my dlna profile is configured correctly as the Humax box see's the emby server and attempts to start transcoding the mkv to mp4. It tries for about 15 seconds and I can see that transcoded file building in the transcoding-temp folder. But I get the error 'unsupported format'. After looking at the ffmpeg log I could see it was trying to run this command: /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -f matroska -i file:"/volume1/TV Series/Episode1.mkv" -map 0:0 -map 0:1 -sn -c:v:0 libx264 -force_key_frames "expr:gte(t,n_forced*5)" -pix_fmt yuv420p -maxrate 2797563 -bufsize 5595126 -preset veryfast -profile:v:0 high -level:v:0 4.1 -crf 50 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 copy -metadata:s:a:0 language=eng -disposition:a:0 default -f mp4 -movflags frag_keyframe+empty_moov -y "/var/packages/EmbyServer/target/var/transcoding-temp/0f3c8cf01426f08cce293ae4187ac740.mp4" I then decided to run this command manually and then stream the resulting mp4 file to my box and it would not play (unsupported format). After a lot of trial and error, I modified the command above (replacing -movflags frag_keyframe+empty_moov with -movflags faststart and then the mp4 file would stream to the Humax box no problem. So I was wondering, is it possible to override the built in ffmpeg command so that I can specify -movflags faststart. Log file attached Many thanks Lills
  21. alberto.bracci

    emby -ffmpeg issue

    Hello everyone, first post here so if anything should be edited just tell me. Anyway, I am running emby on a Manjaro linux machine, everything has been working out of the box until now. I am watching an episode of a series I already watched tons of episodes on emby without any problem, and suddenly the media reproduction stops towards the end. If I reload the episode it will keep stopping around the same time. Other episodes seem to be fine for now. I attach the log embyserver.txt, it seems to be an error with starting ffmpeg, but I don't really see the reason as everything has been working ok until now. I have seen some other older posts with similar issue and I tried reloading the whole series, rescanning the library each time, but nothing changed. Hope you can help, thanks in advance! UPDATE I managed to watch some other episodes and also some films, the problem happens suddenly towards the end of some apparently random episodes of just this series. It might have something to do with the files themselves but I cannot understand what since they all come from the same source. Log log-ffmpeg.txt
  22. Hey everyone. I would like to ask about Intel Quicksync with ffmpeg, I tried to encode 10bit h264 by ffmpeg but it seems that Intel Quicksync doesn't support h264 10bit unlike hevc, so anyone have idea and if I'm mistaken plz inform me.
  23. tvmainia

    error recording

    I have two concurrent streams available from provider. i wanted to record two shows at the same time. one recorded, the other one didn't. here are the logs: https://pastebin.com/y37Y0e3y ffmpeg log: https://pastebin.com/gcGAELdE MacOS 10.13.6 thank you! tvmainia
  24. Hello, I just upgraded to the latest emby-server version and now I am unable to stream any content. This happens with any browser and any operating system (Windows, Edge, Linux, chromium based ...) After hitting the play button of a recording (tvheadend) or any media file (mkv, avi) I receive the following error: I tried rebooting the server and updating all software but nothing helped. I have tried several types of media all of which I know worked in the past. This is with the emby web player. Any help would be greatly appreciated. ffmpeg.txt embyserver.txt
  25. Hello guys. I use have my emby on a lunux vps. I'm converting movies from mkv to mp4 (without converting video) using the following command inside movie directory: for i in .mkv; do ffmpeg -i "$i" -movflags faststart -c copy -map 0 "${i%.}.mp4"; done Works perfectly converting the files inside the directories. Now I want to do the same thing in files located in several other folders. for example: Servidor (type the command here) Filme1 Filme1.mkv Filme2 Filme2.mkv Filme3 Filme3.mkvDoes anyone know how to do this?
×
×
  • Create New...