Jump to content

Search the Community

Showing results for tags 'ffmpeg'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
    • Emby Premiere Purchase/Subscription Support
    • Feature Requests
    • Tutorials and Guides
  • Emby Server
    • General/Windows
    • Android Server
    • Asustor
    • FreeBSD
    • Linux
    • NetGear ReadyNAS
    • MacOS
    • QNAP
    • Synology
    • TerraMaster NAS
    • Thecus
    • Western Digital
    • DLNA
    • Live TV
  • Emby Apps
    • Amazon Alexa
    • Android Mobile
    • Android TV / Fire TV
    • Emby Theater
    • iOS
    • Apple TV
    • Kodi
    • Raspberry Pi
    • Roku
    • Samsung Smart TV
    • Sony PlayStation
    • LG Smart TV
    • Web App
    • Windows Media Center
    • Plugins
  • Language-specific support
    • Arabic
    • Dutch
    • French
    • German
    • Italian
    • Portuguese
    • Russian
    • Spanish
    • Swedish
  • Community Contributions
    • Ember for Emby
    • Fan Art & Videos
    • Tools and Utilities
    • Web App CSS
  • Other
    • General Discussion
    • Developer API
    • Hardware
    • Media Clubs
    • Legacy Support

Blogs

  • Emby Blog

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

  1. Hello, I just upgraded to the latest emby-server version and now I am unable to stream any content. This happens with any browser and any operating system (Windows, Edge, Linux, chromium based ...) After hitting the play button of a recording (tvheadend) or any media file (mkv, avi) I receive the following error: I tried rebooting the server and updating all software but nothing helped. I have tried several types of media all of which I know worked in the past. This is with the emby web player. Any help would be greatly appreciated. ffmpeg.txt embyserver.txt
  2. 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
  3. tvmainia

    error recording

    I have two concurrent streams available from provider. i wanted to record two shows at the same time. one recorded, the other one didn't. here are the logs: https://pastebin.com/y37Y0e3y ffmpeg log: https://pastebin.com/gcGAELdE MacOS 10.13.6 thank you! tvmainia
  4. Hello guys. I use have my emby on a lunux vps. I'm converting movies from mkv to mp4 (without converting video) using the following command inside movie directory: for i in .mkv; do ffmpeg -i "$i" -movflags faststart -c copy -map 0 "${i%.}.mp4"; done Works perfectly converting the files inside the directories. Now I want to do the same thing in files located in several other folders. for example: Servidor (type the command here) Filme1 Filme1.mkv Filme2 Filme2.mkv Filme3 Filme3.mkvDoes anyone know how to do this?
  5. This project is being abandoned in favor of Wolveix's. https://github.com/Wolveix/Plexus Please visit his project to see any future work. Hello, I’m working on a little project to iterate through my NAS and convert all files that are not easily direct played through my Roku. I’m posting it’s Github page here, in case it is of use to anyone else. I’m very open to input, commits, suggestions, etc. I’d love for this to be useful to the community. https://github.com/gorgarp/BatchConverter/
  6. So it appears that the upgrade to 4.0 effected a total wipe and rebuild of chapter images. Wow. I'm about 5 hours into a library scan with no end in sight. Not complaining, per se, but I was curious from the technical side what changes necessitated this. I know you rebuilt transcoding from the ground up. What changed in chapter images, etc.?
  7. The text in English will follow. Je suis nouveau avec Emby et Synology. J'ai fait un mini test d'EMBY et je suis antousiasmé par les résultats. J'ai transmis un fichier video MKV à mon chromecast à partir d'un fichier video avec son Eac3 et en prime les sous-titres ont suivis. Voici la démarche de ce qui ne fonctionne pas bien: * J'ai installé "Emby pour android" sur mon cellulaire * J'ai bloqué spécifiquement l'application Emby pour qu'il n'utilise pas les données Internet mobile * J'ai activé les journeaux sur Synology pour obtenir la trace de ce qui accède les fichiers * J'ai bloqué la connexion WIFI et j'ai fait un test de EMBY client. Voici les résultats: * Même s'il n'a pas de droit d'accès aux données mobile Emby client continue de fournir l'accès aux films. J'ai vérifié et localement il ne semble y avoir aucun film de stoké sur le poste. De plus, la consommation Internet mobile associé à l'application augmente et ce, même accès bloqués à Internet mobile. * Lorsque je suis en Wifi ou avec les données Internet mobile débloquées je vois soit mon ip local ou soit mon ip du mobile dans les journeaux de Synology. * Lorsque le Wifi et les données Internet mobile sont bloqués aucun accès n'est enregistré dans les journeaux du Synology. Questions: * Emby utilise t-il un cloud pour obtenir une copie des films? Si oui, comment le désactiver ? Sinon, comment les obtient-ils sans accéder au Synology (rien dans les journaux de Synology quand tout acès Internet est bloqué sur le Synology) ? * Comment bloquer totalement l'accès aux données Internet mobile pour Emby client. * Comment Emby respecte-t-il la vie privée de ses utilisateurs ? Où se retrouvent les données ? Informations complémentaires: Mobile : Samsung S8 avec systême d'exploitation à jour Emby android mobile : Obtenu par Google Play hier Synology : DS218+ avec système d'exploitation DSM 6.2.1-23824 Update 4 Paquet Emby serveur : https://synology.emby.media/ (obtenu hier) FFMPeg : aucun. Et cela fonctionne quand même. Merci de vos réponses =============================================== I am new to Emby and Synology. I did a mini test of EMBY and I am excited by the results. I transmitted a MKV video file to my chromecast from a video file with his Eac3 and as a bonus the subtitles followed. Here is the approach of what does not work well: * I installed "Emby for android" on my cell * I specifically blocked the Emby application so that it does not use mobile Internet data * I enabled the logs on Synology to get a record of what accesses the files * I blocked the WIFI connection and did a client EMBY test. Here are the results: * Even though he does not have access rights to mobile data Emby client continues to provide access to movies. I checked and locally there seems to be no stock movie on the mobil. In addition, the mobile Internet consumption associated with the application Emby increases and this same access blocked mobile Internet. * When I am on Wifi or with unlocked mobile internet data I see either my local ip or my mobile ip in the Synology logs. * When Wi-Fi and mobile Internet data are blocked, no access is recorded in Synology's logs. Questions: * Does Emby use a cloud to get a copy of the movies? If so, how to disable it? If not, how do they get them without accessing Synology (nothing in Synology's logs when all Internet access is blocked on Synology)? * How to completely block access to mobile Internet data for Emby client. * How does Emby respect the privacy of its users? Where are the data? Further information: Mobile: Samsung S8 with up-to-date operating system Emby android mobile: Obtained by Google Play yesterday Synology: DS218 + with DSM 6.2.1-23824 Update 4 operating system Emby server package: https://synology.emby.media/ (obtained yesterday) FFMPeg: none. And it works anyway. Thank you for your answers
  8. CherryTree

    Emby cannot open images

    Hi, I just installed Emby and it works perfectly. Except the images. I cannot access them and that's what I saw in the log: 2018-12-10 17:06:50.191 Error App: Image Provider - Error reading image tag for /mnt/media/test.jpg *** Error Report *** Version: 3.5.3.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.15.0.42 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 1 Program data path: /var/lib/emby Application directory: /opt/emby-server/system TagLib.CorruptFileException: Expected SOI marker at the start of the file. at TagLib.Jpeg.File.ValidateHeader() at TagLib.Jpeg.File.Read(ReadStyle propertiesStyle) at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle) at Emby.Photos.PhotoProvider.FetchAsync(Photo item, MetadataRefreshOptions options, CancellationToken cancellationToken) TagLib.CorruptFileException at TagLib.Jpeg.File.ValidateHeader() at TagLib.Jpeg.File.Read(ReadStyle propertiesStyle) at TagLib.File.Create(IFileAbstraction abstraction, String mimetype, ReadStyle propertiesStyle) at Emby.Photos.PhotoProvider.FetchAsync(Photo item, MetadataRefreshOptions options, CancellationToken cancellationToken) The file is not corrupted, I can open it with any other file manager. Edit: Solved. Just had to rescan everything.
  9. I have a script to convert a folder of MP3 audio files to M4A; my MP3 files's bitrates vary, some are 192k and some are 128k. I'm noticing that the bitrate of the M4A files are all getting bumped down to 128k. I'd like to retain their existing bitrate. What am I doing wrong? I put the files in a folder and run this command from shell: FOR /F "tokens=*" %G IN ('dir /b *.mp3') DO ffmpeg -i "%G" -map_metadata 0 -c:v copy -c:a aac "%~nG.m4a"
  10. tjallingharkeswei

    Emby installation and ffmpeg on android client

    Hi, I'm currently considering if I want to move all of the data out of the house into the cloud. Also because when I'm not at home and still want to watch a movie or serie why send it over the internet connection to the house. I don't have fiber to the home only a 4G connection with 16/25Mbit up. Also because of the 4G I don't have a public IP adres to connect to so I have a VPS on the internet, from my home I have a VPN connection setup to that VPS and connections from the internet to the servers at home are send through the VPN tunnel. And over that connection I have to stream the movie to my laptop when I'm in a hotel. It works but why not on the internet. The main reason to NOT do it wat the price of datastorage, but I currently have a remote internet disk with 2TB of space for 95 euro's a year. So that is not a reason to NOT do it. Ok now the situation, when I connect my android media box with the Emby TV plugin to the current local Emby server everything works wel, my mp4 movie is send to the device so no issue. Do I do the same with my test server on the internet, that one is triggering ffmpeg to transcode the movie. The only difference is that I have a Nginx proxy server for the internet Emby server. But thought the web-client ffmpeg is not triggerd. Why is ffmpeg transcoding the movie from the one Emby server and the other Emby server is just streaming the mp4 file without transcoding. thx. CU Roel
  11. Headegg

    Remux of mkv on MacOS

    Hi there guys! I have emby installed on my tinkerboard. Since I always make sure to have my files encoded in the right format it works splendidly for streaming movies and shows to me and my partner. Weirdly, though, when my partner is streaming on her MacBook the video files always get remuxed. This proves to be too much to handle comfortably and the videostream buffers heavily every once in a while. In the dashboard I get this notification: The media is compatible with the device regarding resolution and media type (H.264, AC3, etc.), but is in an incompatible file container (.mkv, .avi, .wmv, etc.). The video will be re-packaged on the fly before streaming it to the device. The file container I use for all of my files is mkv. Which would be the right container for MacOS Mojave? From the ffmpeg log I could deduce that it is remuxing to a .ts file container. I already remuxed a file by hand to this container format, to see if it would be helping but the problem persists. Here is an excerpt from the ffmpeg log: Does anyone have any experience with streaming to MacOS in the Web App and could help me out?
  12. Hi, When I am trying to transcode 4K HEVC, I get the following error: [AVHWFramesContext @ 0x7fc9e006fc00] Failed to read image from surface 0x19: 1 (operation failed). Metadata: [hevc @ 0x555e9355a680] Failed to transfer data to output frame: -5. title : Chapter 5 Error while processing the decoded data for stream #0:0 Chapter #0:5: start 3008.964000, end 3781.778000 Conversion failed! The appropriate ffmpeg command is: /usr/bin/ffmpeg -ss 00:14:24.000 -hwaccel vaapi -hwaccel_output_format yuv420p -vaapi_device /dev/dri/renderD128 -i file:"input.mkv" -threads 0 -map 0:0 -map 0:1 -codec:v:0 h264_vaapi -filter_complex "[0:3]scale=3840:2160:force_original_aspect_ratio=decrease[sub];[0:0][sub]overlay,format=nv12|vaapi,hwupload" -b:v 134494486 -maxrate 134494486 -bufsize 268988972 -profile:v 578 -level 41 -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 -af "volume=2" -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 3 -segment_time_delta -864 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 288 -segment_list "/var/lib/emby/transcoding-temp/eda42ffc9546dbc9de88c2f0307fc5a7.m3u8" -y "/var/lib/emby/transcoding-temp/eda42ffc9546dbc9de88c2f0307fc5a7%d.ts" Now, interestingly, if I change the -hwaccel_output_format flag to "vaapi" instead of "yuv420p" and remove the -filter_complex flag, the transcoding works. I am wondering if Emby may need to modify the commands for transcoding HEVC content? I've also attached my ffmpeg log for reference. I am using a Radeon RX 560 with VA API. Thanks! ffmpeg-log.txt emby-log.txt
  13. arrbee99

    batch ffmpeg

    Don't know if this is allowed in an Emby forum, but seeing as you guys seem to use and like ffmpeg quite a bit - Am trying to take 50fps mp4 and turn it into 25fps mp4. This seems to work ... ffmpeg -i name.mp4 -r 25 name_25.mp4 Does anyone know how to make a Windows bat file that would do that for a bunch of mp4 files in a folder, so that the are all changed to 25fps and with a modified name so that the originals are kept. Thanks very much. Edit: I browsed around on Google and tried a few suggestions but they didn't work.
  14. stingwraith

    How to edit FFMPEG command line

    Hey, I've looked all over the forums for an answer to this, even an indirect answer to no avail. I would like to use more settings than the ones on the web portal for transcoding(i.e.: changing framerates, etc.) with FFMPEG but can;t find any documentation on how to edit the ffmpeg command parameters. Any help would be greatly appreciated!!
  15. charles douglas almeida

    Alto consumo de CPU

    Bom dia! Estou rodando o EMBY em uma maquina conforme imagem em anexo. Mas não consigo colocar mais que 5 usuário simultâneos poque o processamento chega ao limite. O que estou fazendo de errado? Para um correto dimensionamento ao implantar o EMBY o que devo considerar? A previsão em meu projeto é de 40 acessos simultâneos.
  16. Hello! I'm having a problem today while trying to setup emby on a "Feral Hosting" Server. If you look in the title you can see my main error.... I've made sure the files ffmpeg and ffprobe are executable. I'm not sure if emby has any permissions or not based on this piece from your emby wizard "For Linux on Arch Linux, CentOS, Debian, Fedora, OpenSuse, or Ubuntu, you must grant the Emby system user at least read access to your storage locations." This could be my main problem not too sure, but it got into my media folder just fine... I'm using the latest 3.4.2 build. I've also tried linking directly to the ffmpeg file itself with no luck. I'm a huge beginner when it comes to this stuff so I'm sorry if I haven't provided enough info about this problem
  17. 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
  18. 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)
  19. 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.
  20. 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.
  21. 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
  22. 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!
  23. 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!
  24. 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
  25. 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.
×
×
  • Create New...