Search the Community
Showing results for tags 'ffmpeg'.
-
Hi, I am a newbie to Emby, although I have extensively used Plex for many many years, so not a newcomer to running my own media server. I thought I would try out Emby as all my Movies I normally Direct Play on Plex to a Chromecast v2 (Wired) are being forced to Transcode, and although Plex have replicated the issue in house, I am now 4 months down the line and still no sign of a fix, seems unpicking the Streaming Brain they introduced is not a priority. Anyway I had no issues setting up Emby as far as I can tell, I can direct play most movies and tv shows to my Android phone without issue, the problem comes however when tried to play my blu-ray rips via my Chromecast. I can see from the Emby dashboard they are being direct played, however on the server the ffmpeg (thought that was for transcoding only?) seems to get stuck in a repeated loop resulting in no playback showing at all on screen. The play and pause button seem to flicker between each other every few seconds or so. From looking at the logs I've attached, it appears the movie file has been selected for Direct Play: 2017-11-06 13:28:33.943 Info App: Profile: Unknown Profile, Path: D:\ServerFolders\Movies and TV\Movies\7\Video\Don%27t_Take_Me_Home_2017\DON'T_TAKE_ME_HOME.mkv, isEligibleForDirectPlay: True, isEligibleForDirectStream: True However I get this error in the logs, which seems to repeat over an over: 2017-11-06 13:28:37.519 Error HttpServer: Error in HttpListenerResponseWrapper: An established connection was aborted by the software in your host machine *** Error Report *** Version: 3.2.36.0 Command line: C:\Users\na\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\na\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\na\AppData\Roaming\Emby-Server\system\EmbyServer.dll C:\Users\na\AppData\Roaming\Emby-Server\system\EmbyServer.dll Operating system: Microsoft Windows NT 6.2.9200.0 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 8 Program data path: C:\Users\na\AppData\Roaming\Emby-Server\programdata Application directory: C:\Users\na\AppData\Roaming\Emby-Server\system System.Net.Sockets.SocketException (0x80004005): An established connection was aborted by the software in your host machine at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response) System.Net.Sockets.SocketException at SocketHttpListener.SocketStream.Write(Byte[] buffer, Int32 offset, Int32 count) at SocketHttpListener.Net.HttpResponseStream.DisposeCore() at SocketHttpListener.Net.HttpResponseStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Emby.Server.Implementations.HttpServer.SocketSharp.WebSocketSharpResponse.CloseOutputStream(HttpListenerResponse response) Video Media Info for File I am trying to Direct Play on Chromecast: Codec H264 AVC Yes Profile High Level 41 Resolution1920x1080 Aspect ratio 16:9 Anamorphic No Interlaced Yes Framerate 25 Bitrate 31199 kbps Bit depth 8 bit Pixel format yuv420p Ref frames1 NAL4 Audio Language eng Codec AAC Profile LC Layout 5.1 Channels 6 ch Bitrate 320 kbps Sample rate 48000 Hz Default Yes Title Eng AAC 5.1 Default Audio Language eng Codec AC3 Layout 5.1 Channels 6 ch Bitrate 640 kbps Sample rate 48000 Hz Default No Title Eng Dolby Digital 5.1 Subtitle Language cym Codec PGSSUB Default No Forced No External No Title Cym Containe rmkv PathD:\ServerFolders\Movies and TV\Movies\7\Video\Don%27t_Take_Me_Home_2017\DON'T_TAKE_ME_HOME.mkv Emby Version: Version 3.2.36.0 Emby for Chromecast 2.1.0 Emby for Android Mobile 2.1.0 Chromecast Version: Firmware: 1.28.100555 Any ideas? Many Thanks S.
-
Hi guys, I'm using the DVBViewer Media Server and Plugin to record my LiveTV with teletext subtitles. My mum is hard of hearing so I need the teletext and hence must record as .ts for this feature. Live TV plays OK, (subtitles don't show up <-- separate issue), but playback of the recorded files fails. Here's the Playback Log below with the ffmpeg errors. I also thought this is interesting on the first line... TranscodeReasons=SubtitleCodecNotSupported I can share the video file if required. I tried replacing ffmpeg with the latest version to see if it helps but same error. Any help would be appreciated. Cheers, Phil. Application version: 3.2.30.23 http://localhost:8096/emby/videos/84d29d256f65c621d190b962497136e9/hls1/main/0.ts?DeviceId=ad9d023a0c0815a84288d8e9291677f1344a012a&MediaSourceId=84d29d256f65c621d190b962497136e9&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=139744000&AudioBitrate=256000&Level=51&Profile=high&PlaySessionId=dfdf2bdff5c84119bbf32ac475de2cef&api_key=e1b16a1e6a044d5da1d77166df782b87&CopyTimestamps=false&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=efdad8213362846ef95348051e65674e&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=true&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&TranscodeReasons=SubtitleCodecNotSupported {"Protocol":"File","Id":"84d29d256f65c621d190b962497136e9","Path":"d:\\recorded tv\\2017-09-17_16-14-27_7 adelaide_7 adelaide.ts","Type":"Default","Container":"mpegts","Name":"480P/MPEG2VIDEO/MP2","IsRemote":false,"ETag":"efdad8213362846ef95348051e65674e","RunTimeTicks":324870000,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"EnableMpDecimate":false,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"mpeg2video","TimeBase":"1/90000","CodecTimeBase":"1/25","IsInterlaced":true,"BitRate":3323512,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":576,"Width":720,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":8,"IsAnamorphic":false},{"Codec":"mp2","Language":"eng","TimeBase":"1/90000","CodecTimeBase":"1/48000","DisplayTitle":"Eng MP2 stereo","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":256000,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"dvb_teletext","Language":"eng","TimeBase":"1/90000","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false}],"Formats":[],"Bitrate":3579512,"RequiredHttpHeaders":{}} User policy for Phil: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True C:\Users\Phil\AppData\Roaming\Emby-Server\ffmpeg\20170308\ffmpeg.exe -c:v mpeg2_cuvid -i file:"d:\recorded tv\2017-09-17_16-14-27_7 adelaide_7 adelaide.ts" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_nvenc -pix_fmt yuv420p -preset default -b:v 3323512 -maxrate 3323512 -bufsize 6647024 -profile:v high -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vf "yadif=0:-1:0,scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2,subtitles='d\:/recorded tv/2017-09-17_16-14-27_7 adelaide_7 adelaide.ts:si=0',setpts=PTS -0/TB" -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 256000 -af "asetpts=PTS-0/TB" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "D:\Temp\transcoding-temp\67aa48bdb798515ebab06fc1f06ac56c.m3u8" -y "D:\Temp\transcoding-temp\67aa48bdb798515ebab06fc1f06ac56c%d.ts" ffmpeg version N-87306-g6743351 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 75.100 / 55. 75.100 libavcodec 57.106.101 / 57.106.101 libavformat 57. 82.100 / 57. 82.100 libavdevice 57. 8.101 / 57. 8.101 libavfilter 6.105.100 / 6.105.100 libswscale 4. 7.103 / 4. 7.103 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [mpeg2video @ 0000000002554580] Invalid frame dimensions 0x0. Last message repeated 8 times [mpegts @ 0000000000e180c0] PES packet size mismatch [mpegts @ 0000000000e180c0] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0000000000e180c0] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'file:d:\recorded tv\2017-09-17_16-14-27_7 adelaide_7 adelaide.ts': Duration: 00:00:32.49, start: 55884.046689, bitrate: 3323 kb/s Program 1360 Stream #0:0[0x501]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x502](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s Stream #0:2[0x504](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:3[0x506]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:4[0x599]: Unknown: none ([11][0][0][0] / 0x000B) Program 1361 Program 1362 Program 1363 Program 1364 Program 1365 Program 1368 Stream mapping: Stream #0:0 -> #0:0 (mpeg2video (mpeg2_cuvid) -> h264 (h264_nvenc)) Stream #0:1 -> #0:1 (mp2 (native) -> aac (native)) Press [q] to stop, [?] for help [Parsed_subtitles_2 @ 00000000025c09a0] Shaper: FriBidi 0.19.6 (SIMPLE) [mpeg2video @ 000000000287c120] Invalid frame dimensions 0x0. Last message repeated 8 times [mpegts @ 0000000002ae6a60] PES packet size mismatch [mpegts @ 0000000002ae6a60] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0000000002ae6a60] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [Parsed_subtitles_2 @ 00000000025c09a0] Using font provider directwrite [Parsed_subtitles_2 @ 00000000025c09a0] Failed to find subtitle codec dvb_teletext [AVFilterGraph @ 00000000025566e0] Error initializing filter 'subtitles' with args 'd\:/recorded tv/2017-09-17_16-14-27_7 adelaide_7 adelaide.ts:si=0' Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 [aac @ 000000000287a440] Qavg: 349.773 [aac @ 000000000287a440] 2 frames left in the queue on closing Conversion failed! ffmpeg version N-87306-g6743351 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 7.2.0 (GCC) configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib libavutil 55. 75.100 / 55. 75.100 libavcodec 57.106.101 / 57.106.101 libavformat 57. 82.100 / 57. 82.100 libavdevice 57. 8.101 / 57. 8.101 libavfilter 6.105.100 / 6.105.100 libswscale 4. 7.103 / 4. 7.103 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 [mpeg2video @ 00000000025d6540] Invalid frame dimensions 0x0. Last message repeated 8 times [mpegts @ 00000000006b8220] PES packet size mismatch [mpegts @ 00000000006b8220] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 00000000006b8220] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options Input #0, mpegts, from 'file:d:\recorded tv\2017-09-17_16-14-27_7 adelaide_7 adelaide.ts': Duration: 00:00:32.49, start: 55884.046689, bitrate: 3323 kb/s Program 1360 Stream #0:0[0x501]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, top first), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Stream #0:1[0x502](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 256 kb/s Stream #0:2[0x504](eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006) Stream #0:3[0x506]: Unknown: none ([5][0][0][0] / 0x0005) Stream #0:4[0x599]: Unknown: none ([11][0][0][0] / 0x000B) Program 1361 Program 1362 Program 1363 Program 1364 Program 1365 Program 1368 Stream mapping: Stream #0:0 -> #0:0 (mpeg2video (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (mp2 (native) -> aac (native)) Press [q] to stop, [?] for help [Parsed_subtitles_2 @ 0000000002676640] Shaper: FriBidi 0.19.6 (SIMPLE) [mpeg2video @ 00000000028a4340] Invalid frame dimensions 0x0. Last message repeated 8 times [mpegts @ 0000000005f1e6c0] PES packet size mismatch [mpegts @ 0000000005f1e6c0] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpegts @ 0000000005f1e6c0] Could not find codec parameters for stream 4 (Unknown: none ([11][0][0][0] / 0x000B)): unknown codec Consider increasing the value for the 'analyzeduration' and 'probesize' options [Parsed_subtitles_2 @ 0000000002676640] Using font provider directwrite [Parsed_subtitles_2 @ 0000000002676640] Failed to find subtitle codec dvb_teletext [AVFilterGraph @ 00000000025d71c0] Error initializing filter 'subtitles' with args 'd\:/recorded tv/2017-09-17_16-14-27_7 adelaide_7 adelaide.ts:si=0' Error reinitializing filters! Failed to inject frame into filter network: Invalid argument Error while processing the decoded data for stream #0:0 [aac @ 00000000028a5680] Qavg: 288.586 [aac @ 00000000028a5680] 2 frames left in the queue on closing Conversion failed!
-
Before anyone suggests to convert the discs to MKV files that is NOT an option. The two discs for season 10 of the Big Bang Theory work just fine in my setup with PDVD 16 playing them back flawless and menus to boot. From the attached screenshots you can see that Disc1 has incorrect video (1080i), frame rate (29.97) and audio (AC3 2.0) while Disc2 has the correct video (1080p), frame rate (23.976) and audio (DTS-HD MA 5.1). In the BDMV folders the first 18 files in the Stream subfolder are identical for both discs, 19th file is the first episode for each disc. Why does FFMPEG flag disc 1 incorrectly but disc 2 correctly? From the Stream folder the largest M2TS file is for disc 1 the 39 minute Comic Con event which happens to have MBAFF encoding and only 1 AC3 2.0 audio tract, while the largest on disc 2 is an actual episode. Looks like whatever the largest file is will determine the media info, which will produce incorrect results. What is the latest version of FFMPEG that can be used by EMBY and how can it be replaced manually? If incorrect media info is being obtained is there a way to manually enter the correct values somewhere? I am aware of the fact that mediainfo.dll is no longer being used but what is used at present for identifying discs is not very good. I am open to suggestions, but just not any MKV conversions Big Bang Theory Season 10 Disc 1. Big Bang Theory Season 10 Disc 12
-
I thought I'd post my emby post-processing dvr script. Tested and working on Debian Linux 8.9 Files processed end up being named *originalvideoname*.ts.mkv so i can search by that and make sure recordings have no issues. After I look at them, I manually rename to just .mkv. I do not have automatically convert recordings checked or the two preserve boxes checked under live tv --> settings. Script flow: see if lockfile exists. if so wait 60 sec create lockfile commerical scan and commerical cutting ccextractor to pull out closed captions and convert to srt file Encode to h264 using ffmpeg and combine in srt file from previous step Trim off first 60 sec from recording (due to iptv delay you get a minute from previous show. I have recordings set to last 1 min longer in emby record. The shows using my OTA tuners start early by 1 min to compensate) Remove srt/extra files Overwrite original ts recording delete lockfile Depends on: comskip, comcut (comchap optional), ccextractor, ffmpeg I eventually want to fool around with a nvidia gtx 1050 and see how nevnc with hevc/h265 works on the ffmpeg encoding line. Software h265 encoding on very fast saves an additional 30-40% space on same setting as h264 on medium but my encoding framerate goes from 420fps (14x) to 69fps (2.3x) on dual Xeon e5-2670s. The picture looks pretty much identical when i look at them side by side post.sh emby script #!/bin/csh set path = ($path /usr/local/bin) set lockFile = '/tmp/dvrProcessing.lock' set origFile = "$1" set tmpFile = "$1.tmp" set tmpEncode = "$1.mkv" set tmpEncode2 = "$1.2.mkv" set tmpSrt = "$1.srt" set dvrPostLog = '/path/to/embydvr/dvrProcessing.log' set dvrLockLog = '/path/to/embydvr/dvrLock.log' #Wait if post processing is already running while ( -f $lockFile ) echo "'$lockFile' exists, sleeping processing of '$origFile'" | tee $dvrLockLog sleep 60 end #Create lock file to prevent other post-processing from running simultaneously echo "Creating lock file for processing '$origFile'" | tee -a $dvrPostLog touch $lockFile #Mark and cut commercials echo "cut from '$origFile'" | tee -a $dvrPostLog /path/to/embydvr/comchap/comcut --lockfile=/tmp/comchap.lock --comskip-ini=/path/to/embydvr/comskip.ini "$origFile" #Pull CC from file to SRT file echo "Pulling Closed captions from '$origFile' to SRT file" | tee -a $dvrPostLog ccextractor "$origFile" -o "$tmpSrt" #Encode file to H.264 with mkv container using ffmpeg and mux in CC srt echo "Re-encoding '$origFile' to MKV file while adding cc data" | tee -a $dvrPostLog /usr/bin/ffmpeg -i "$origFile" -i "$tmpSrt" -map 0 -map 1 -acodec copy -scodec copy -c:v libx264 -preset medium -crf 23 -profile:v high -level 4.1 -deinterlace "$tmpEncode" #Trim off first minute echo "Remove first 60 sec of file" | tee -a $dvrPostLog /usr/bin/ffmpeg -ss 00:01:00 -i "$tmpEncode" -vcodec copy -acodec copy -scodec copy "$tmpEncode2" #Remove SRT file echo "Remove SRT file" | tee -a $dvrPostLog rm -f "$tmpSrt" #Remove tmpEncode file echo "Remove tmpEncode file" | tee -a $dvrPostLog rm -f "$tmpEncode" #Rename transcoded file to temp file in case no subtitles echo "Rename 2nd transcoded file to tmp file" | tee -a $dvrPostLog mv -f "$tmpEncode2" "$tmpFile" #Overwrite original ts file with the transcoded file echo "Removing '$origFile'" | tee -a $dvrPostLog mv -f "$tmpFile" "$origFile" #Rename .ts file to .ts.mkv echo "Renaming '$origFile' to .mkv" | tee -a $dvrPostLog mv -f "$origFile" "$1.mkv" #Remove lock file echo "Done processing '$origFile' removing lock" | tee -a $dvrPostLog rm $lockFile exit 0
- 41 replies
-
- 2
-
-
- dvr
- post-processing
-
(and 6 more)
Tagged with:
-
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.
-
Hi! I have an issue with Emby in that it doesn't keep track of how long I've been watching a movie/episode. Even if I watch it for only 1 second it will immediately mark it as watched. Looking through these forums I've understood that it is due to Emby not being able to determine the runtime of my files because ffprobe fails. The reason being that I have all my shares mapped over SMB. The solution I've seen mentioned is to compile FFmpeg with SMB support. Something I've not been able to do. I'm running Linux Mint, and been trying to compile using this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu only with adding --enable-libsmbclient to the configure part. 'm out of my depth and was hoping someone here has managed to do this themselves?
-
transcoding, seeking and orphan ffmpeg processes consuming CPU
lifespeed posted a topic in General/Windows
I am CPU transcoding to Android mobile client over the internet (LTE). When I seek using the scrub bar server CPU utilization goes from 90% to 100% and stays there for at least several minutes. When I look at the running processes in task manager, I see a second ffmpeg process was started, I presume to support transcoding from the new seek location. Yet the previous ffmpeg process was not shut down - the two ffmpeg processes are hogging 100% CPU, at 50% each. When I stop playing the Android client one ffmpeg process stops, while the second ffmpeg lingers at 10% CPU for several minutes before terminating. I did check transcoding without seeking through the movie, in this case the server and transcoding are well behaved with ffmpeg using the typical 90% CPU (i7-6800K, slow and 22 quality settings). If I stop playing at the client, the single ffmpeg process terminates immediately. It seems the server would be much more responsive if the unneeded second ffmpeg process were terminated promptly. I suspect this unnecessary server load is degrading the user experience. Perhaps it is not that hard to track down and resolve? Please let me know if there is anything further I can do to help troubleshoot besides the attached logs. Android client is 3.8.x.x beta within the past two days, not sure where to find the version number in the app. Thanks! server-63633825041.txt ffmpeg-transcode-4099a602-80de-4868-a1c2-6ced9ef179f6.txt ffmpeg-transcode-ccf995f1-dae1-460d-974a-1cdca25b27f8.txt ffmpeg-transcode-4b804d44-38b4-437a-98b8-c9572c19c3ae.txt- 5 replies
-
- transcode
- transcoding
-
(and 2 more)
Tagged with:
-
@@Luke, What is the version of FFMPEG that should be installed and used as System Installed Version with 3.2.20.0 of Emby Server? Reason I ask is that I have two (2) folders in ffmpeg folder of Emby install. One dated 20160410 that has FFMPEG and FFPROBE and one dated 20170308 that is empty. When I check in TRANSCODING section in Dashboard it shows that I am pointing to the 20160410 path with USE A CUSTOM VERSION selected. I don't recall setting up a custom version path. If I try to select USE SYSTEM INSTALLED VERSION and try to save selection it shows an error saying it can't find the FFMPEG path entered. I didn't enter a path, but I am assuming that Emby is looking for the path of FFMPEG System Installed Version, that I don't have installed. I guess I just would like to know what the current System Installed Version of FFMPEG is and how I can get back to installing it and having Emby recognize it. Thanks. UPDATE: I figured I would just shut down Emby and remove the two ffmpeg folders and re-install stable Emby from website. Did that and it installed a 20170308 folder for FFMPEG and FFPROBE. But, it still has it set up as a CUSTOM VERSION path. Is that how it should be set up in Emby and it will adjust this as newer versions are implemented? Perhaps the USE SYSTEM INSTALLED VERSION is not what I would think of as the default for Emby installs. If I select SYSTEM INSTALLED VERSION I still get an error stating it can not find the FFMPEG path.
-
Need help troubleshooting permissions for ffmpeg (raspberry Pi, OMX)
cachaca posted a topic in Linux
Ok.. I have been able to compile and install a custom ffmpeg with OMX (hardware encoding enabled) https://emby.media/community/index.php?/topic/36227-h264-omx-instead-of-x264/page-2 But when enabled in the Emby server.. it silently fails.. HOWEVER... When I copy/paste the command (for example): ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E02 Reef Blower [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 2211644 -maxrate 2211644 -bufsize 4423288 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf.m3u8" -y "/tmp/transcoding-temp/e438c53f7db6725b084b892f6c3028cf%d.ts" and sudo as ROOT ... it DOES work. I am really confused.. tried changing the temp folder... and properly installing the ffmpeg (instead of running it from its source folder where I compiled it). so.. the fact that ROOT can run it.. leads me to think it is a permissions issue.. the funny thing is that without ANY other changes.. by simply switching OMX off in the Emby config.. it WORKS. It is as if the omx extension inside ffmpeg is trying to do something... like accessing hardware or another path.. that user emby does not have access to. It is a near silent failure... (since error 255 really does not mean anything). " 2017-04-25 04:22:01.7063 Info HttpServer: HTTP Response 500 to 192.168.50.74. Time: 28122ms (slow). http://192.168.50.60:8096/emby/videos/74d91a1ee63cfcb5cdc99751ba1b5c68/hls1/main/0.ts?DeviceId=4b23de016b5225894d6e76c8edb8536321d8b37b&MediaSourceId=74d91a1ee63cfcb5cdc99751ba1b5c68&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&VideoBitrate=193747394&AudioBitrate=192000&Level=51&Profile=high&PlaySessionId=52bf6796426d495ab39c16770487c4cf&CopyTimestamps=false&TranscodingMaxAudioChannels=6&EnableSubtitlesInManifest=false&Tag=24a43aa38dd13e58d36422fbc16ced9c&RequireAvc=true&RequireNonAnamorphic=false&DeInterlace=false&SegmentContainer=ts&MinSegments=2&BreakOnNonKeyFrames=False 2017-04-25 04:22:01.7081 Info App: ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" 2017-04-25 04:22:02.1496 Info App: FFMpeg exited with code 255 2017-04-25 04:22:02.1643 Info App: returning /var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d0.ts " And again.. if I take that line to my prompt and run it with sudo.. it WORKS: root@avcenter:/tmp# ffmpeg -i file:"/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 h264_omx -b:v 1122230 -maxrate 1122230 -bufsize 2244460 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -copyts -vsync -1 -codec:a:0 aac -strict experimental -ac 2 -ab 192000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d.m3u8" -y "/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts" ffmpeg version N-85641-gdd49eff Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Raspbian 4.9.2-10) configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi --enable-libmp3lame --enable-libx264 --enable-libvorbis libavutil 55. 61.100 / 55. 61.100 libavcodec 57. 93.100 / 57. 93.100 libavformat 57. 72.101 / 57. 72.101 libavdevice 57. 7.100 / 57. 7.100 libavfilter 6. 86.100 / 6. 86.100 libswscale 4. 7.101 / 4. 7.101 libswresample 2. 8.100 / 2. 8.100 libpostproc 54. 6.100 / 54. 6.100 Input #0, matroska,webm, from 'file:/media/usb0/TV Shows/SpongeBob SquarePants (1999-2015) [480p] [720p] [HEVC] [x265]/Season 01/[pseudo] S01E03 Tea at the Treedome [480p] [h.265].mkv': Metadata: encoder : libebml v1.3.1 + libmatroska v1.4.2 creation_time : 2016-02-06T18:59:27.000000Z Duration: 00:11:03.73, start: 0.000000, bitrate: 561 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 704x480 [SAR 10:11 DAR 4:3], 29.97 fps, 29.97 tbr, 1k tbn, 29.97 tbc (default) Metadata: BPS : 469945 BPS-eng : 469945 DURATION : 00:11:03.729000000 DURATION-eng : 00:11:03.729000000 NUMBER_OF_FRAMES: 19892 NUMBER_OF_FRAMES-eng: 19892 NUMBER_OF_BYTES : 38989538 NUMBER_OF_BYTES-eng: 38989538 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream #0:1(eng): Audio: aac (LC), 48000 Hz, stereo, fltp (default) Metadata: BPS : 88626 BPS-eng : 88626 DURATION : 00:11:03.701000000 DURATION-eng : 00:11:03.701000000 NUMBER_OF_FRAMES: 31111 NUMBER_OF_FRAMES-eng: 31111 NUMBER_OF_BYTES : 7352727 NUMBER_OF_BYTES-eng: 7352727 _STATISTICS_WRITING_APP: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_APP-eng: mkvmerge v8.4.0 ('A better way to fly') 64bit _STATISTICS_WRITING_DATE_UTC: 2016-02-06 18:59:27 _STATISTICS_WRITING_DATE_UTC-eng: 2016-02-06 18:59:27 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (h264_omx)) Stream #0:1 -> #0:1 (aac (native) -> aac (native)) Press [q] to stop, [?] for help [h264_omx @ 0x1d336a0] Using OMX.broadcom.video_encode Output #0, segment, to '/var/tmp/transcoding-temp/transcoding-temp/aa6d990b7ad85df3cb9e9a131f4da08d%d.ts': Metadata: encoder : Lavf57.72.101 Stream #0:0: Video: h264 (h264_omx), yuv420p, 704x528 [SAR 1:1 DAR 4:3], q=2-31, 1122 kb/s, 29.97 fps, 90k tbn, 29.97 tbc (default) Metadata: encoder : Lavc57.93.100 h264_omx Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp, 192 kb/s (default) Metadata: encoder : Lavc57.93.100 aac frame= 7342 fps= 24 q=-0.0 Lsize=N/A time=00:04:05.16 bitrate=N/A speed=0.793x video:34589kB audio:5817kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [aac @ 0x1d34aa0] Qavg: 1460.591 Exiting normally, received signal 2. I tried once changing the emby default user to root.. but it did nothing. ANY help would be greatly appreciated.. I feel like I survived the desert to die at the water fountain with a broken handle. TTFN- 19 replies
-
- ffmpeg
- permissions
-
(and 2 more)
Tagged with:
-
Streaming timeout (no playback possible) when transcoding large videos with subtitles (ffmpeg bug)
luziferius posted a topic in General/Windows
Hi there, This report is meant as a »please note« notice to the emby developers. TL/DR: Internal text subtitles in large videos cause transmission time-outs when transcoding. In long: Setting: I try to play back a movie on my Sony smart tv using DLNA. I select a film that has a large filesize and embedded text subtitles that need to be burnt in during a transcode step. Symptom: My tv starts a »processing« animation and after some time i get a »failed to connect« message. Playback never starts. All logs look OK. The transcoding log shows a successful transcode start that is either successfully finished or aborted later. (Success or not doesn’t matter) What happens without indication: ffmpeg processes text subtitles in a two step way: First extract the subtitle stream from the video, then burn in/transcode. The culprit is the first step, which happens fully transparent and without any notice in the ffmpeg log. To extract a subtitle stream, the whole file has to be read once. When a transcode starts, the following things happen: emby starts ffmpeg to transcode a video ffmpeg reads the whole file once to extract the subtitle track that it will burn in ffmpeg reads the file again, this time transcoding. Let’s do an example calculation based on this observation: Assume Alice has ripped a movie on a Bluray she owns to her hard disk. The video file is about 20GB in size. She muxes text subtitles into the video file. (She OCRs a PGM forced subtitle stream found on the disc or downloads a free one.) The movie is stored on a new SATA SSD disk that can read at a rate of about 500 MB/s. When a transcode is requested for that file, the subtitle extraction is done by ffmpeg in 20000MB/(500MB/s) = 40 seconds. So it takes ffmpeg 40 seconds to extract the subtitle track, which means that the actual transcoding start and video delivery is delayed by that time. This time frame should be enough to time-out many DLNA clients. Things get worse when the read bandwidth is lower. On a USB2 connection (40MB/s), every file greater than 2.4GB[*] will have an initial delay of over one minute. [*]: when it has text subtitles and transcoding with subtitle burn in is required. How to reproduce: Take a large video (preferably >10 GB), some text subtitles and mux both into an MKV container. Flush your disc cache, so that ffmpeg has to actually read it from disk. Let it transcode by ffmpeg. Watch the process hanging right before the actual transcode starts for several seconds. Observe high disc activity during this »hang«. As long as this is not fixed by ffmpeg, the only possible work around is to not use ffmpeg for transcoding under this circumstances… A proper fix from ffmpeg side would be parsing the text subtitles in parallel to the transcode and not delay the start. At the current state transcoding using emby server will work for many users and most files, but large files with text subtitles will cause issues every now and then. I assume most users will blame the specific emby app or platform used instead of ffmpeg… Proposed »fix«: Put a note about this external issue into the wiki. Some reference links to ffmpeg bug reports regarding this issue: https://trac.ffmpeg.org/ticket/4499 (»Parse internal subtitles in realtime«, marked as duplicate of bug…) https://trac.ffmpeg.org/ticket/2067 (»Support subtitles in libavfilter so seek is honored for subtitles filters (like hardsubbing)«) -
I was experimenting with ffmpeg and I noticed that when Emby is transcoding it has ffmpeg leave the black bars untouched. Wouldn't it be more efficient to remove the black bars while transcoding since clients will put them back in on their own anyway? If I understand correctly, there would be performance gains and smaller file sizes in cropping out the black bars. Please correct me if I'm wrong.
- 8 replies
-
- transcoding
- black bars
-
(and 1 more)
Tagged with:
-
I'm having a little display problem while playing my IPTV to the Chromecast. The IPTV source is a M3U file with udpxy links, so the IPTV source is an HTTP video. Maybe it's a ffmpeg parameters issue (maybe I don't really know). Transcoding log attached and picture of the result while playing on the TV (sound works ok). EDIT: I've tried multiple TV's, and the same happens. Log.txt
- 7 replies
-
- chromecast
- iptv
-
(and 1 more)
Tagged with:
-
Hi all. I'd really appreciate a steer on where I'm going wrong with my Emby setup - it's becoming really frustrating! I have Emby Server (3.1.266.0 beta) set up in Lubuntu 16.04. My machine specs are as follows: i5 6600t HD 7950 3 GB 8GB RAM 1 TB 7200rpm HDD for media I have a powerline based home network using AV2 compliant adapters. I've tried a couple of different playback approaches - DNLA via my Bravia TV, Emby for Kodi on my RPi 2 and an old Android TV box (Minix Neo X7) but none work reliably. My media is really mixed in terms of formats and bitrates. I used to have an HTPC in the living room so had no problems with playback, but since moving to a server in another room I have had real trouble getting many things to play successfully. Higher quality files often stutter then fail and I have problems getting HEVC and other files to play at all at times. I'm happy that my network speed is decent - so I guess the issue is transcoding? I have used the Bravia 2014 profile in the past, but this didn't really help. Can someone please tell me what I need to look for in the logs? There's no info on profiles in the wiki so I'm a bit lost as to what to change to force transcoding and what settings would be best to ensure reliable playback. Attached are some recent logs - these will only show DNLA access via the TV I think Cheers ffmpeg-transcode-5b0315be-5855-4daa-8a47-e9bb820f6493.txt server-63618980178.txt
- 7 replies
-
- dnla
- transcoding
-
(and 3 more)
Tagged with:
-
Greetings: I've decided to move my Emby server from a Windows box to my Ubuntu server, in part, because I want to leverage Emby as the source for Kodi, and I was having problems with getting the (Optional) Shared network folder working from Windows. Anyway, almost my entire collection consists of BR and DVD rips. The latter are folders named "Movie.dvdmedia" (containing VIDEO_TS)--a holdover from when I ran things on my Mac--and in keeping with the tradition, the BR rips are folders named "Movie.brmedia" (containing BDMV). On Windows, this was no problem. On Ubuntu, ".dvdmedia" folders work fine, but ffmpeg is having a problem with the ".brmedia" folders. When I try to play them through Emby, I just get the little spinning icon, indicating that Emby is busy, and then nothing happens. When I check the ffmpeg logs, it concludes with the following: ffmpeg version 2.8.10-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609 configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv libavutil 54. 31.100 / 54. 31.100 libavcodec 56. 60.100 / 56. 60.100 libavformat 56. 40.101 / 56. 40.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 40.101 / 5. 40.101 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 2.101 / 1. 2.101 libpostproc 53. 3.100 / 53. 3.100 file:/path/Movie.brmedia: Is a directory Is there some setting or ffmpeg flag I need to set in order to have ffmpeg to descend into the folder and process the BDMV folder instead? Thanks!
-
I've done more than once and downloaded more than once the same file and so far so the error when I go to apply the folder path, I knew it was too easy hehehehkkkk someone a light with this error??
-
Today I found that video files containing embedded closed captions, such as DVB recordings or iTunes downloads, will show that subtitles are present but none of my clients are able to display them and the server is not able to transcode them to a usable format. This example is from the iTunes Store. In the local and remote webapps some corrupted text is shown: The Android client behaves like the webapps. The Kodi plugin and Samsung Orsay client both display nothing at all but detect the correct language. The Emby's log shows ffmpeg bombing out: Stream #0:0(eng): Subtitle: subrip (srt), 1280x720 (default) Metadata: creation_time : 2016-12-07T11:23:24.000000Z encoder : Lavc57.64.100 srt Stream mapping: Stream #0:2 -> #0:0 (eia_608 (cc_dec) -> subrip (srt)) Press [q] to stop, [?] for help [Closed caption Decoder @ 0xa9ca000] Data Ignored since exceeding screen width Last message repeated 2029 times size= 1kB time=00:19:50.89 bitrate= 0.0kbits/s speed=1.52e+04x video:0kB audio:0kB subtitle:1kB other streams:0kB global headers:0kB muxing overhead: 52.568306% The root cause is a known deficiency in ffmpeg which can identify the caption stream correctly but cannot extract it, refer to https://trac.ffmpeg.org/ticket/4616 which also has a sample video attached. I would be curious to know if iOS devices are able to DirectPlay this type of content with working captions. WORKAROUND To extract usable subtitles from a video simply run the file through CCExtractor (http://ccextractor.sourceforge.net), generally you will not need to specify any special options as the defaults will produce an external SubRip (.srt) file as output. To get rid of the unusable caption stream (or replace it with the SubRip subtitles) simply remux the file to Matroska using mkvtoolnix or avimux.
-
Hello, CentOS7.2 Stable emby repo. I managed to ruin my emby-server install and so I am trying it have it reinstalled. After emby reinstall, the initial guide is asking for ffmpeg. Since it's been a while, I don't recall installing ffmpeg separately. Wasn't it part of packages that came with emby? I am may be totally wrong. That said, if I do need to install ffmpeg separately, can you recommend a repo that maintains ffmpeg? Thank you,
-
Hello One month ago I have a crash related with ffmpeg package, since then some old films doesnt stream but other yes, and both are equal (same codec, same characteristics). I dont understand why crash and if I have to recodec the files or erase a cache. Can some one give me a clue? I have uploaded 2 equal movies, one work and the other crash. Now I'm running ubuntu 16.04 with the latest ffmpeg package http://ubuntuhandbook.org/index.php/2016/09/install-ffmpeg-3-1-ubuntu-16-04-ppa/ Thanks! Log007_ok_ffmpeg.zip Log007_ok_log.zip Log007_rusia_wih_love_error_log.zip Log007rusia_wih_love_error_ffmpeg.zip
-
Server 2012 R2 Spammed FFMPEG processes caused massive server problems
FordGT90Concept posted a topic in General/Windows
When I initially switched to the server via KVM, the mouse was skippy. It took many minutes for the server to finally open Task Manager to see the problem. I'm not entirely sure what logs are important so I attached everything. This is in the current beta and a pretty severe bug. logs.zip -
Is there a version of FFMpeg that I should be downloading that is special for Emby? As I have upgraded my Emby but I never see a copy of FFMpeg inside so I keep running a copy I got form FFMpeg website.
-
roku Roku Server Plugin leaves behind ffmpeg instances when creating BIFs
CovertJaguar posted a topic in Roku
So I installed the Roku Server Plugin a while back, it's been running long enough to create BIF files for my entire library. However, whenever the scheduled task runs, after it terminates it leaves behind zombie ffmpeg processes that as far as I can tell will run forever consuming cpu time. This has been a consistent and repeatable issue. As I said, the entire library already has BIF files generated (or at least the scheduled task progress bar disappears after a few minutes). -
What is the current preset (medium? slower? ultrafast?) used when encoding and decoding in Emby? Would be a good idea to allow admin to configure which preset is used?
-
Hi Guys, New migration of Emby server to Windows 10 with database intact. Currently running 3.1.127.0 Server is running fine, library is complete. Having an issue when trying to transcode anything either via the Web Client or Android Client -- 'There was an error playing the video' By the looks of the log entries - it's having an issue when invoking ffmpeg 2016-08-29 23:10:00.6227 Error App: Error starting ffmpeg ... Cannot start process because a file name has not been provided. Attaching server and transcoding logs for review. NOTE: Playing direct files via WMC is working fine. server_ffmpeg_20160829.zip
-
Hello, I'd like to suggest a very quick and safe including of parameter at every ffmpeg run, that I believe will only have benefits. The insertion of parameter "-hide_banner" right after ffmpeg command hides that nasty build info that only serves for 0,001% people that need to know how ffmpeg was built. So thats it. My suggestion is to add it to every ffmpeg executable that runs in Emby. Benefits: - Less bloating of transcoding and remuxing logs - Diskspace economy (less Kb, Mb...) - Easier to debug, without that useless info
-
Hi there, I recently bought a Synology DS416play. Plex works well but I wanted to explore all my options, and so I am trying to install Emby too. Following the instructions on the forums I've installed Mono and Mediainfo with no issues. I've also unpacked Imagemagick to the @appstore directory with no issues, however not sure if there's more to do there. I start running into issues installing ffmpeg & emby from cytec. When doing a manual install for either spk files it gives the error "This package is not supported on the platform of DiskStation." (see attached screenshot) running 'uname -a' returns "x86_64 GNU/Linux synology_braswell_416play" so I'm using the x64 spk files for ffmpeg and emby. I've tried all the other ones and no success either, though. Any thoughts? Thanks in advance.
- 1 reply
-
- installation
- server
-
(and 3 more)
Tagged with: