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
    • Android TV / Fire TV
    • Windows & Xbox
    • Apple iOS / macOS
    • Apple TV
    • Kodi
    • LG Smart TV
    • Linux & Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • 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
  • Testing Area
    • WMC UI (Beta)
  • Other
    • Non-Emby General Discussion
    • Developer API
    • Hardware
    • Media Clubs

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. I just noticed that when I launch a live TV stream the server is creating two ffmpeg processes, both using a good amount of CPU. I thought it may have something to do with having Mediabrowser Server and Emby Server in the programs list, so I uninstalled both and reinstalled Emby Server 3.2.70.0, but the problem still exist. I do not recall this behavior happening before the upgrade and I think my previous version was 3.2.36.0. I have tried multiple channels and different browsers using the same transcoding setting of 360p since I am accessing over the WAN. Environment Detail: Windows Server 2012R2 Intel Xeon E3-1226 v3 @3.3GHz 32GB DDR3 Samsung Pro 256GB SSD
  2. speedingcheetah

    Multiple ffmpeg instances?

    I just noticed that Task Manager is reporting 2 instances of ffmpeg when ever i transcode one stream....Is this normal? (there also is 2 Electron instances that are always there when sever is running)
  3. 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.
  4. Why: mediacowboy needed something to help find videos that wouldn't play directly on the Roku, but ended up required transcoding to do so. Notes: This only detects at present very basic reasons a file might fail. Container not mkv, mp4, mov, m4v, m3u8, ts Video Codec not H.264 Audio Codec not AC3 or Stero AAC Requirements: AutoIt FFMpeg Instructions: Install AutoIt and set it to execute scripts when double clicked. Create a folder somewhere...lets call it "Roku Detect uncompliant Videos" just to be unimaginative. Now inside "Roku Detect Uncompliant Videos" create a sub folder called "Bin". Now extract the contents of FFMpeg's "Bin" folder into your new "Bin" sub folder. Now going back into "Roku Detect Uncompliant Videos" folder Right Click on it's background and select "New\AutoIt v3 Script" from the context menu, and Rename it "Roku Detect Uncompliant Videos.au3" Now Right Click "Roku Detect Uncompliant Videos.au3" & select "Edit Script" from the context menu. Now paste the following code into: #Include <Array.au3> #Include <File.au3> #Include <String.au3> Dim $aKnown[7] = [6 , '.mkv' , '.mp4' , '.mov' , '.m4v' , '.m3u8' , '.ts'] Dim $aUnknown[1] = [0] Dim $sErrorLog ; Select Video Folder While 1 $sFolder = FileSelectFolder( 'Select Video Folder.' , '' , 6 ) If @Error = 1 AND $sFolder = '' Then MsgBox( 4096 , 'Exit:' , 'Ending Application' ) Exit ElseIf $sFolder = '' Then MsgBox( 4096 , 'Error:' , 'Unable To Open Folder.' ) ElseIf NOT FileExists ( $sFolder ) Then MsgBox( 4096 , 'Error:' , 'Invalid Folder.' ) Else If StringRight( $sFolder , 1 ) <> '\' Then $sFolder &= '\' $aAllFiles = _FileListToArrayRec( $sFolder , '*.*|*.bif;*.db;*.jpg;*.nfo;*.png;*.tbn;*.xml;*.srt;*.sub;*.ssa;*.mp3' , 1 , 1 , 0 , 2 ) If NOT IsArray( $aAllFiles ) Then MsgBox( 4096 , 'Error:' , 'No Videos Found.' ) Else _ArraySort( $aAllFiles , 0 , 1 ) ExitLoop EndIf EndIf WEnd For $ii = 1 To $aAllFiles[0] _Macros( $aAllFiles[$ii] ) $iFind1 = _ArraySearch( $aKnown , $sFileExt , 1 ) If @Error Then $sErrorLog &= 'Unknown File Type:' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF $iFind2 = _ArraySearch( $aUnknown , $sFileExt , 1 ) If @Error Then _ArrayAdd( $aUnknown , $sFileExt ) $aUnknown[0] += 1 EndIf Else ; Build Array of Streams $sRandomString = _RandomString() RunWait( @ComSpec & ' /c ffprobe -show_streams "' & $aAllFiles[$ii] & '">"' & @TempDir & '\' & $sRandomString & '.txt"' , @ScriptDir & '\BIN\' , @SW_HIDE ) $aAllStreams = _StringBetween( FileRead( @TempDir & '\' & $sRandomString & '.txt' ) , '[STREAM]' , '[/STREAM]' ) FileDelete( @TempDir & '\' & $sRandomString & '.txt' ) ; Find Video Streams $aFindVideoStreams = _ArrayFindAll( $aAllStreams , 'codec_type=video' , 0 , 0 , 0 , 1 ) If $aFindVideoStreams <> -1 Then ; Process Video Streams For $aa = 0 To UBound( $aFindVideoStreams ) - 1 $sSVideoCodec = _RegExString( $aAllStreams[$aFindVideoStreams[$aa]] , '(?s)(?i)(?:.+?codec_name=(\S+))?' ) If $sSVideoCodec <> 'h264' And $sSVideoCodec <> 'mpeg4' Then $sErrorLog &= 'Unsupported Video Codec: (' & $sSVideoCodec & ')' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF ContinueLoop 2 EndIf Next Else $sErrorLog &= 'Missing Video Stream:' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF ContinueLoop EndIf ; Find Audio Streams $aFindAudioStreams = _ArrayFindAll( $aAllStreams , 'codec_type=audio' , 0 , 0 , 0 , 1 ) If $aFindAudioStreams <> -1 Then ; Process Audio Streams For $aa = 0 To UBound( $aFindAudioStreams ) - 1 $sSAudioCodec = _RegExString( $aAllStreams[$aFindAudioStreams[$aa]] , '(?s)(?i)(?:.+?codec_name=(\S+))?' ) $iSAudioChannels = _RegExString( $aAllStreams[$aFindAudioStreams[$aa]] , '(?s)(?i)(?:.+?channels=(\S+))?' ) If $sSAudioCodec <> 'AAC' And $sSAudioCodec <> 'AC3' Then $sErrorLog &= 'Unsupported Audio Codec: (' & $sSAudioCodec & ')' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF ContinueLoop 2 EndIf If $sSAudioCodec = 'AAC' And $iSAudioChannels > 2 Then $sErrorLog &= 'To Many Audio Channels: (' & $iSAudioChannels & ')' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF ContinueLoop 2 EndIf Next Else $sErrorLog &= 'Missing Audio Stream:' & @CRLF & $aAllFiles[$ii] & @CRLF & @CRLF ContinueLoop EndIf EndIf Next ; Create Error Log If StringLen( $sErrorLog ) > 1 Then If NOT FileExists( @ScriptDir & '\Error Logs\' ) Then DirCreate( @ScriptDir & '\Error Logs\' ) $sErrorLogFile = @ScriptDir & '\Error Logs\[' & @YEAR & '-' & @MON & '-' & @MDAY & '] ' & @HOUR & '-' & @MIN & '-' & @SEC & '.txt' FileWrite( $sErrorLogFile , $sErrorLog ) ShellExecute( $sErrorLogFile ) EndIf ; Create Unknown File Extensions Text If $aUnknown[0] > 0 Then $sUknownExtensions = @ScriptDir & '\UnKnown.txt' If FileExists( $sUknownExtensions ) Then Dim $aPriorUnknown _FileReadToArray( $sUknownExtensions , $aPriorUnknown ) For $ii = 1 To $aPriorUnknown[0] $iFind2 = _ArraySearch( $aUnknown , $aPriorUnknown[$ii] , 1 ) If @Error Then _ArrayAdd( $aUnknown , $aPriorUnknown[$ii] ) $aUnknown[0] += 1 EndIf Next FileDelete( $sUknownExtensions ) EndIf _FileWriteFromArray( $sUknownExtensions , $aUnknown , 1 ) ShellExecute( $sUknownExtensions ) EndIf MsgBox( 0 , 'Finished' , 'Batch Operation Complete' ) Func _Macros( $sFile ) Global $sFileDir = StringLeft ( $sFile , StringInStr( $sFile , '\' , 0 , -1 ) ) Global $sFileExt = StringTrimLeft ( $sFile , StringInStr( $sFile , '.' , 0 , -1 ) - 1 ) Global $sFileName = StringTrimLeft ( $sFile , StringInStr( $sFile , '\' , 0 , -1 ) ) Global $sShortName = StringLeft ( $sFileName , StringInStr( $sFileName , '.' , 0 , -1 ) - 1 ) Global $sParent = StringLeft ( $sFileDir , StringInStr( $sFileDir , '\' , 0 , -2 ) ) Global $sFolderName = StringTrimRight( StringTrimLeft( $sFileDir , StringInStr( $sFileDir , '\' , 0 , -2 ) ) , 1 ) EndFunc Func _RandomString() $sString = '' Dim $aSpace[3] For $i = 1 To 15 $aSpace[0] = Chr( Random( 65 , 90 , 1 )) ; A-Z $aSpace[1] = Chr( Random( 97 , 122 , 1 )) ; a-z $aSpace[2] = Chr( Random( 48 , 57 , 1 )) ; 0-9 $sString &= $aSpace[Random( 0 , 2 , 1 )] Next Return $sString EndFunc Func _RegExString( $sString , $sRegEx ) Local $sValue = _ArrayToString( StringRegExp( $sString , $sRegEx , 1 )) If StringIsFloat( $sValue ) = 1 OR StringIsInt( $sValue ) = 1 Then Return Number( $sValue ) Else If $sValue = 'N/A' OR $sValue = 'N' OR $sValue = 'A' Then Return '' Else Return $sValue EndIf EndIf EndFunc Now save the script & execute it by double clicking it and then select the folder holding your videos that you wish to process. Now go do something else, this will take a while...maybe a great while depending on the number of videos you have. The script will notify you when it's done...and if you're curious as to if it's still running there should be a icon in your system tray that looks like a blue "A". Past that you can start your Task Manager and you should more than likely see FFMpeg running in the background. Result: This should possibly produce one or more text files. The primary one will be what is produced in the "Error Logs" folder, this will list what files failed and why...but keep in mind these only list the first reason why it failed, not all possible reasons it may have failed. A number of these may not even be video files at all...but a format that should have been excluded from the search. Which brings me to the next file "UnKnown.txt" this file will be updated with one instance per unknown file extension, possibly every time you run the script and it finds something new. Now ideally I have all or at least most common non video extensions excluded from the search...this is everything on the right side of the pipe "|" symbol on line 21 at present. You may wish to add new extensions to be excluded from future searches...thus speeding the script along...but please consider sharing your additional excludes here in this thread, to help others out as well. What Next: You may wish to use one of my app's, called VideoGain (free) to process the failed video files. It's main purpose is to batch adjust audio volume, so that all the videos have more or less the same gain...so you don't have to monkey around with your volume all the time. Originally it only processed folders full of videos...not individual, but since I was already making some corrections to it already...I set it up to do single files as well. Here is where we get hackish. Download VideoGain & extract it somewhere...ideally in a folder called VideoGain so it's easier to find later on. Now Start it by double clicking on it's exe...then close the app...it will now have produced a new INI file...and we are going to edit it's contents with whatever your favorite text editor happens to be (Notepad, Notepad++, UltraEdit,..). In the VideoGain.ini all the way at the bottom...you should see an entry called "[Folders]". Now below that we'll be adding entries of our own...basically copy and paste from your Error Logs...into this file...but before each path put "Folder_#=" replacing the # with a number value...please keep each value different, and each entry on a new line. I'll likely write a simple script to help in this matter tomorrow. Anyways once all the edits are made...save the file, and restart VideoGain. You should now see all the files you want to process listed on the "Folders" tab. Now check "Direct Replace" and uncheck "Recurse Folders" (not needed). Now click on the "Settings" tab. If you had any videos that failed because they were not H264 then set the Encoder to "Conditional" which basically means if VideoGain doesn't detect the video stream to be H264..to then encode..but only then. Make further adjustments as you like to the H264 settings and Video settings. Now if you had Audio errors, you have a few picks...you can go with AAC or AC3...encoders...with the covet that AAC is limited to stereo. Right now if you select AC3...all videos will have the audio track re-encoded, bar non...I don't have an early out for that right now as I just added AC3 support...however if you select AAC and a number of your tracks are already AAC...and those tracks are Stereo...then you can select "ReplayGain (Tags)" this will do a non damaging adjustment to the AAC tracks...however all non AAC tracks will be encoded to AAC. Select "Stereo DownMix" if you plan to use AAC. All resulting files will ether be Mp4 or Mkv depending on what you selected for a container, from the drop down at the bottom of the application. Press "Start" and away you go. I would personally suggest doing at little processing as you need to. Each time something gets encoded...it gets more damaged.
  5. TehEpikDuckeh

    FFmpeg only using 75% of CPU when Transcoding

    Transcoding only uses 75% of the CPU, only 7 out of 8 threads. Processor: i7-2600 @ 3.8 GHz Transcoding log: Application version: 3.2.36.2 http://192.168.0.3:40330/emby/videos/418d80970834ea0588c1bb0697edb255/hls1/main/0.ts?DeviceId=0f646ede5a6cee1566fe5433befcb07c53005e86&MediaSourceId=418d80970834ea0588c1bb0697edb255&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=59616000&AudioBitrate=384000&PlaySessionId=7bc5ffbd11c4477fa037e48c7502b667&api_key=99bd3ef4dc7841fbb78343b4dded2dce&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=f6d58280eee7c62ff832b22128ed19cd&RequireAvc=true&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true {"Protocol":"File","Id":"418d80970834ea0588c1bb0697edb255","Path":"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv","Type":"Default","Container":"mkv,webm","Name":"1080P/HEVC/EAC3","IsRemote":false,"ETag":"f6d58280eee7c62ff832b22128ed19cd","RunTimeTicks":34244149248,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"hevc","TimeBase":"1/1000","CodecTimeBase":"1/25","IsInterlaced":false,"BitRate":2264283,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":120,"IsAnamorphic":false},{"Codec":"eac3","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Dolby Digital+ 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ass","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Und","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false},{"Codec":"srt","Language":"eng","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.eng.srt","IsAnamorphic":true}],"Formats":[],"Bitrate":2648283,"RequiredHttpHeaders":{}} User policy for Mark: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True /var/lib/emby-server/ffmpeg/ffmpeg/ffmpeg -f matroska,webm -i file:"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryslow -crf 1 -maxrate 4528566 -bufsize 9057132 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -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_list_type m3u8 -segment_start_number 0 -segment_list "/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8" -y "/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8%d.ts" ffmpeg version N-88289-g783535a Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-encoder=hevc_nvenc --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfreetype --enable-libass --enable-gpl --enable-libvpx --enable-libtheora --enable-libopus --enable-libmp3lame --enable-libfdk-aac --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libgsm --enable-libspeex --enable-libxvid --enable-zlib libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 1.100 / 58. 1.100 libavformat 58. 0.102 / 58. 0.102 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 0.101 / 7. 0.101 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.100 / 3. 0.100 libpostproc 55. 0.100 / 55. 0.100 Input #0, matroska,webm, from 'file:/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv': Metadata: ENCODER : Lavf57.25.100 Duration: 00:57:04.42, start: 0.000000, bitrate: 2264 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:57:04.411000000 Stream #0:1: Audio: eac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: ENCODER : Lavc57.24.102 eac3 DURATION : 00:57:04.415000000 Stream #0:2: Subtitle: ass Metadata: ENCODER : Lavc57.24.102 ass DURATION : 00:54:12.606000000 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (eac3 (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help [libx264 @ 0x3b6c700] subme=0 + direct=temporal is not supported [libx264 @ 0x3b6c700] using SAR=1/1 [libx264 @ 0x3b6c700] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX [libx264 @ 0x3b6c700] profile Main, level 4.1 [libx264 @ 0x3b6c700] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:0:0 analyse=0x1:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=4 chroma_me=0 trellis=2 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=8 b_pyramid=2 b_adapt=2 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=10 rc=crf mbtree=1 crf=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 vbv_maxrate=4528 vbv_bufsize=9057 crf_max=0.0 nal_hrd=none filler=0 ip_ratio=1.40 aq=1:1.00 [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a80.ts' for writing Output #0, segment, to '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8%d.ts': Metadata: encoder : Lavf58.0.102 Stream #0:0: Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 90k tbn, 25 tbc (default) Metadata: encoder : Lavc58.1.100 libx264 Side data: cpb: bitrate max/min/avg: 4528000/0/0 buffer size: 9057000 vbv_delay: -1 Stream #0:1: Audio: mp3 (libmp3lame), 48000 Hz, stereo, fltp, 384 kb/s (default) Metadata: encoder : Lavc58.1.100 libmp3lame frame= 43 fps=0.0 q=0.0 size=N/A time=00:00:01.94 bitrate=N/A dup=3 drop=0 speed=2.86x frame= 73 fps= 61 q=7.0 size=N/A time=00:00:03.14 bitrate=N/A dup=4 drop=0 speed=2.63x frame= 102 fps= 60 q=9.0 size=N/A time=00:00:04.29 bitrate=N/A dup=5 drop=0 speed=2.51x [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8.tmp' for writing [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a81.ts' for writing frame= 135 fps= 61 q=6.0 size=N/A time=00:00:05.68 bitrate=N/A dup=6 drop=0 speed=2.57x frame= 163 fps= 58 q=6.0 size=N/A time=00:00:06.74 bitrate=N/A dup=8 drop=0 speed=2.41x frame= 180 fps= 54 q=12.0 size=N/A time=00:00:07.46 bitrate=N/A dup=8 drop=0 speed=2.24x frame= 193 fps= 50 q=11.0 size=N/A time=00:00:07.94 bitrate=N/A dup=9 drop=0 speed=2.05x [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8.tmp' for writing [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a82.ts' for writing frame= 204 fps= 42 q=16.0 size=N/A time=00:00:08.42 bitrate=N/A dup=9 drop=0 speed=1.74x frame= 225 fps= 42 q=24.0 size=N/A time=00:00:09.26 bitrate=N/A dup=10 drop=0 speed=1.73x frame= 241 fps= 41 q=26.0 size=N/A time=00:00:09.86 bitrate=N/A dup=11 drop=0 speed=1.68x frame= 257 fps= 40 q=25.0 size=N/A time=00:00:10.53 bitrate=N/A dup=11 drop=0 speed=1.64x frame= 273 fps= 39 q=25.0 size=N/A time=00:00:11.16 bitrate=N/A dup=12 drop=0 speed=1.58x [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8.tmp' for writing [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a83.ts' for writing frame= 287 fps= 38 q=25.0 size=N/A time=00:00:11.68 bitrate=N/A dup=13 drop=0 speed=1.53x frame= 303 fps= 37 q=25.0 size=N/A time=00:00:12.40 bitrate=N/A dup=13 drop=0 speed=1.51x frame= 322 fps= 37 q=26.0 size=N/A time=00:00:13.10 bitrate=N/A dup=14 drop=0 speed= 1.5x frame= 335 fps= 36 q=27.0 size=N/A time=00:00:13.60 bitrate=N/A dup=15 drop=0 speed=1.46x [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8.tmp' for writing [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a84.ts' for writing [segment @ 0x3ba5f60] Opening '/media/HDD/Temp/transcoding-temp/7272513b7e30642ec1ad89cf3cced6a8.m3u8.tmp' for writing frame= 344 fps= 33 q=-1.0 Lsize=N/A time=00:00:14.04 bitrate=N/A dup=15 drop=0 speed=1.33x video:5397kB audio:549kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown [libx264 @ 0x3b6c700] frame I:5 Avg QP: 6.97 size:117107 [libx264 @ 0x3b6c700] frame P:139 Avg QP:13.32 size: 28762 [libx264 @ 0x3b6c700] frame B:200 Avg QP:11.58 size: 4710 [libx264 @ 0x3b6c700] consecutive B-frames: 19.5% 20.9% 15.7% 5.8% 7.3% 3.5% 2.0% 7.0% 18.3% [libx264 @ 0x3b6c700] mb I I16..4: 55.2% 0.0% 44.8% [libx264 @ 0x3b6c700] mb P I16..4: 10.4% 0.0% 0.0% P16..4: 46.4% 0.0% 0.0% 0.0% 0.0% skip:43.2% [libx264 @ 0x3b6c700] mb B I16..4: 2.2% 0.0% 0.0% B16..8: 8.8% 0.0% 0.0% direct: 5.2% skip:83.9% L0:36.9% L1:42.6% BI:20.5% [libx264 @ 0x3b6c700] coded y,uvDC,uvAC intra: 38.1% 21.6% 9.8% inter: 12.0% 7.7% 0.3% [libx264 @ 0x3b6c700] i16 v,h,dc,p: 56% 20% 19% 5% [libx264 @ 0x3b6c700] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 24% 13% 6% 9% 5% 10% 3% 9% [libx264 @ 0x3b6c700] i8c dc,h,v,p: 69% 13% 15% 2% [libx264 @ 0x3b6c700] Weighted P-Frames: Y:16.5% UV:5.0% [libx264 @ 0x3b6c700] ref P L0: 82.7% 0.0% 13.1% 3.5% 0.7% 0.0% [libx264 @ 0x3b6c700] ref B L0: 91.7% 7.5% 0.8% [libx264 @ 0x3b6c700] ref B L1: 99.5% 0.5% [libx264 @ 0x3b6c700] kb/s:3212.50
  6. TehEpikDuckeh

    FFmpeg Transcoding w/ CRF 0 doesn't work

    When setting the CRF option in the transcoding options to "0" the file fails to play and FFmpeg presents an error as shown below. Probably missing something... :/ Ideas? Application version: 3.2.36.2 http://192.168.0.3:40330/emby/videos/418d80970834ea0588c1bb0697edb255/hls1/main/0.ts?DeviceId=0f646ede5a6cee1566fe5433befcb07c53005e86&MediaSourceId=418d80970834ea0588c1bb0697edb255&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&VideoBitrate=59616000&AudioBitrate=384000&PlaySessionId=fd290cd71b4c488e96b899a3076fe5c1&api_key=99bd3ef4dc7841fbb78343b4dded2dce&CopyTimestamps=false&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=f6d58280eee7c62ff832b22128ed19cd&RequireAvc=true&RequireNonAnamorphic=false&SegmentContainer=ts&MinSegments=1&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-level=51&h264-deinterlace=true {"Protocol":"File","Id":"418d80970834ea0588c1bb0697edb255","Path":"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv","Type":"Default","Container":"mkv,webm","Name":"1080P/HEVC/EAC3","IsRemote":false,"ETag":"f6d58280eee7c62ff832b22128ed19cd","RunTimeTicks":34244149248,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"RequiresLooping":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"hevc","TimeBase":"1/1000","CodecTimeBase":"1/25","IsInterlaced":false,"BitRate":2264283,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":1080,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":120,"IsAnamorphic":false},{"Codec":"eac3","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Dolby Digital+ 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0,"IsAnamorphic":false},{"Codec":"ass","TimeBase":"1/1000","CodecTimeBase":"0/1","DisplayTitle":"Und","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false},{"Codec":"srt","Language":"eng","DisplayTitle":"Eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.eng.srt","IsAnamorphic":true}],"Formats":[],"Bitrate":2648283,"RequiredHttpHeaders":{}} User policy for Mark: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True /var/lib/emby-server/ffmpeg/ffmpeg/ffmpeg -f matroska,webm -i file:"/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 libx264 -vf "scale=trunc(min(max(iw\,ih*dar)\,1920)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -preset veryslow -crf 0 -maxrate 4528566 -bufsize 9057132 -profile:v high -level 4.1 -x264opts:0 subme=0:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:if(isnan(prev_forced_t),eq(t,t),gte(t,prev_forced_t+3))" -copyts -vsync -1 -codec:a:0 libmp3lame -ac 2 -ab 384000 -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_list_type m3u8 -segment_start_number 0 -segment_list "/media/HDD/Temp/transcoding-temp/58e3b1012a510bc152bd6ddf039e1517.m3u8" -y "/media/HDD/Temp/transcoding-temp/58e3b1012a510bc152bd6ddf039e1517%d.ts" ffmpeg version N-88289-g783535a Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-encoder=hevc_nvenc --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfreetype --enable-libass --enable-gpl --enable-libvpx --enable-libtheora --enable-libopus --enable-libmp3lame --enable-libfdk-aac --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libgsm --enable-libspeex --enable-libxvid --enable-zlib libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 1.100 / 58. 1.100 libavformat 58. 0.102 / 58. 0.102 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 0.101 / 7. 0.101 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.100 / 3. 0.100 libpostproc 55. 0.100 / 55. 0.100 Input #0, matroska,webm, from 'file:/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv': Metadata: ENCODER : Lavf57.25.100 Duration: 00:57:04.42, start: 0.000000, bitrate: 2264 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:57:04.411000000 Stream #0:1: Audio: eac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: ENCODER : Lavc57.24.102 eac3 DURATION : 00:57:04.415000000 Stream #0:2: Subtitle: ass Metadata: ENCODER : Lavc57.24.102 ass DURATION : 00:54:12.606000000 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (eac3 (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help x264 [error]: high profile doesn't support lossless [libx264 @ 0x328f700] Error setting profile high. [libx264 @ 0x328f700] Possible profiles: baseline main high high10 high422 high444 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [libmp3lame @ 0x32c4dc0] 3 frames left in the queue on closing Conversion failed! ffmpeg version N-88289-g783535a Copyright (c) 2000-2017 the FFmpeg developers built with gcc 4.9.2 (Debian 4.9.2-10) configuration: --enable-encoder=hevc_nvenc --enable-nonfree --enable-libx264 --enable-libx265 --enable-libfreetype --enable-libass --enable-gpl --enable-libvpx --enable-libtheora --enable-libopus --enable-libmp3lame --enable-libfdk-aac --enable-version3 --disable-w32threads --enable-runtime-cpudetect --enable-avisynth --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libgsm --enable-libspeex --enable-libxvid --enable-zlib libavutil 56. 0.100 / 56. 0.100 libavcodec 58. 1.100 / 58. 1.100 libavformat 58. 0.102 / 58. 0.102 libavdevice 58. 0.100 / 58. 0.100 libavfilter 7. 0.101 / 7. 0.101 libswscale 5. 0.101 / 5. 0.101 libswresample 3. 0.100 / 3. 0.100 libpostproc 55. 0.100 / 55. 0.100 Input #0, matroska,webm, from 'file:/media/HDD/TV Shows/The Man in the High Castle/Season 2/S02E01 - The Tiger's Cave.mkv': Metadata: ENCODER : Lavf57.25.100 Duration: 00:57:04.42, start: 0.000000, bitrate: 2264 kb/s Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default) Metadata: DURATION : 00:57:04.411000000 Stream #0:1: Audio: eac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) Metadata: ENCODER : Lavc57.24.102 eac3 DURATION : 00:57:04.415000000 Stream #0:2: Subtitle: ass Metadata: ENCODER : Lavc57.24.102 ass DURATION : 00:54:12.606000000 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264)) Stream #0:1 -> #0:1 (eac3 (native) -> mp3 (libmp3lame)) Press [q] to stop, [?] for help x264 [error]: high profile doesn't support lossless [libx264 @ 0x32d9700] Error setting profile high. [libx264 @ 0x32d9700] Possible profiles: baseline main high high10 high422 high444 Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [libmp3lame @ 0x330edc0] 3 frames left in the queue on closing Conversion failed!
  7. 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!
  8. 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
  9. ThermoDust

    Can't Switch FFMpeg Version

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

    compile ffmpeg with smb support?

    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?
  11. 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
  12. @@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.
  13. 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)«)
  14. 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.
  15. Jägs

    ffmpeg issues on Ubuntu

    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!
  16. What this solves: 1. On demand creating Roku Bif files recursively through sub folders, using Emby Servers naming scheme. (Simple Dialog Interface, Command Line and SendTo {must be compiled}). 2. Scheduled Bif file creation, 3. Allow networked computers to work on shared folders to speed things along. Only limiting factors are the speed of your network & the number of systems connected. Notes: The Folders this script is to run against must be on ether a local or network mapped drive, as the script isn't setup to handle UNC paths. Also checkout the concurrent version further down in the thread. Requirements: AutoIt FFMpeg Roku SDK Instructions: Install AutoIt and set it to execute scripts when double clicked. Create a folder somewhere...lets call it "Creat BIF" just to be unimaginative. Now inside "Create BIF" create a sub folder called "Bin". Now extract the contents of FFMpeg's "Bin" folder into your new "Bin" sub folder. Now extract "biftool.exe" from the Roku SDK into your new "Bin" sub folder. Now going back into "Create BIF" folder Right Click on it's background and select "New\AutoIt v3 Script" from the context menu, and Rename it "Create BIF.au3" Now Right Click "Create BIF.au3" & select "Edit Script" from the context menu. Now paste the following code into: Now save the script & execute it by double clicking it and then select the folder holding your videos that you wish to process. Now go do something else, this will take a while...maybe a great while depending on the number of videos you have. The script will notify you when it's done...and if you're currious as to if it's still running there should be a icon in your system tray that looks like a blue "A". Past that you can start your Task Manager and you should more than likely see FFMpeg running in the background. By default this will create 320px aspect correct BIF files, if you wish to create 240px or any other size you'll need to edit line 7. Example: from $iVideoWidthSize = 320 to $iVideoWidthSize = 240 Update 1: I decided to let FFMpeg do all the calculations for resize...which result in a massive code reduction. Update 2: Added passing folders via command line. This is mostly aimed at adding SendTo context menu support. 1. Right Click on "Create BIF.au3" and select "Compile Script (x86)" from the context menu 2. ALT + Left Click on "Create BIF.exe" and Drag to create a shortcut...rename to remove ".exe" from the file name 3. Cut & Paste shortcut to your SendTo folder: %APPDATA%\Microsoft\Windows\SendTo\ Now you don't even need to hunt down the script when you need it. Update 3: Added very simplistic scheduling based on a 24 hour clock. Currently you can not start on one day and end on the following. Only one time block allowed per day. The script now produces an INI that can be edited "Create Bif.ini" If you choose to use the scheduling the script needs to be compiled. Once compiled & the INI edited to your liking, open up a console in the script folder. Then enter: "Create Bif.exe" ScheduleNew Now new tasks have been created in the Windows Task Scheduler. To remove tasks enter: "Create Bif.exe" ScheduleDelete To not have a task scheduled for a day, set the start time and end time to be the same. Update 4: Command Line now supports both Folders & Files...thus making a SendTo shortcut more useful. Update 5: Added auto SendTo shortcut creation...only happens if script is compiled. To trigger this...simply use the executable once...you don't even have to actually process a file. If you don't want this feature simply delete the code on and between lines 17 & 25 (currently) Update 6: Now allows only one instance to run at a time, to prevent bogging down your system. This applies to Command Line and GUI, but not Task Scheduler...as the Task Scheduler should only have one instance anyways. This allows you to cue up several folders\files to be processed, even though they are in very different locations. Update 7: Made it easier for the script to clean up after it's self.
  17. 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
  18. thiagomnk

    Problem with FFmpeg on UBUNTU.

    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??
  19. altramarine

    ffmpeg install, centos

    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,
  20. 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
  21. 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
  22. 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.
  23. 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).
  24. 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?
  25. 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
×
×
  • Create New...