Tranquil 93 Posted July 6, 2015 Share Posted July 6, 2015 Hello Devs. I dont know if this is an issue of FFMPEG, Emby or just corrupt media file. The following transcoding log is showing a problem with a file on my server, which can not be transcoded possibly due to a corrupt subtitle stream inside the container. Anyway, the file is playing fine in all my players. (KODI, VLC, MCE and Windows Media Player) TranscodeLog: http://192.168.178.2:8096/mediabrowser/videos/a646f47a54d33537fb1f261c443a0a8d/hlsdynamic/main/0.ts?DeviceId=3f5269186c1d08f47927b78aaece5613cc2fb6e0&MediaSourceId=a646f47a54d33537fb1f261c443a0a8d&VideoCodec=h264&AudioCodec=aac&AudioStreamIndex=1&SubtitleStreamIndex=3&VideoBitrate=872000&AudioBitrate=128000&MaxAudioChannels=6&MaxHeight=480&Level=41&ClientTime=635717250026354616&Profile=high&PlaySessionId=47fb3e77517441a595c84d7fe49f8ca5&api_key=287b8323cd9f4b0095f6cf0359468814 {"Protocol":"File","Id":"a646f47a54d33537fb1f261c443a0a8d","Path":"\\\\SERVER\\H\\Serien_2\\Game Of Thrones\\Staffel 5\\tvp-got-s05e03.mkv","Type":"Default","Container":"mkv","Name":"1080P/H264/AC3","RunTimeTicks":35928640000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"ger","IsInterlaced":false,"BitRate":11762983,"BitDepth":8,"RefFrames":4,"IsDefault":true,"IsForced":true,"Height":1072,"Width":1920,"AverageFrameRate":25,"RealFrameRate":25,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":41,"IsAnamorphic":false,"IsCabac":true},{"Codec":"ac3","Language":"ger","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":true,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"ac3","Language":"eng","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":384000,"Channels":6,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"ger","IsInterlaced":false,"IsDefault":true,"IsForced":true,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":["mkv","webm"],"Bitrate":11762983,"RequiredHttpHeaders":{}} C:\Users\Tranquil\AppData\Roaming\MediaBrowser-Server\ffmpeg\20150331\ffmpeg.exe -i file:"\\SERVER\H\Serien_2\Game Of Thrones\Staffel 5\tvp-got-s05e03.mkv" -map_metadata -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -pix_fmt yuv420p -preset superfast -crf 23 -maxrate 872000 -bufsize 1744000 -vsync vfr -profile:v high -level 41 -force_key_frames expr:gte(t,n_forced*3) -vf "scale=min(iw\,720):trunc(ow/dar/2)*2,subtitles='//SERVER/H/Serien_2/Game Of Thrones/Staffel 5/tvp-got-s05e03.mkv:si=0',setpts=PTS -0/TB" -flags +loop-global_header -sc_threshold 0 -codec:a:0 aac -strict experimental -ac 6 -ab 128000 -af "adelay=1,aresample=async=1,asetpts=PTS-0/TB" -hls_time 3 -start_number 0 -hls_list_size 0 -y "F:\temp\transcoding-temp\c3fe2f3f6a38ad80fcc13af4f8acbc27.m3u8" ffmpeg version N-71182-g5cba529 Copyright © 2000-2015 the FFmpeg developers built with gcc 4.9.2 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib libavutil 54. 21.100 / 54. 21.100 libavcodec 56. 32.100 / 56. 32.100 libavformat 56. 27.100 / 56. 27.100 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 13.101 / 5. 13.101 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 'file:\\SERVER\H\Serien_2\Game Of Thrones\Staffel 5\tvp-got-s05e03.mkv': Metadata: title : Game.of.Thrones.S05E03.Der.Hohe.Spatz.GERMAN.DL.DUBBED.1080p.HDTV.x264-TVP encoder : libebml v1.2.2 + libmatroska v1.3.0 creation_time : 2015-05-11 21:33:10 Duration: 00:59:52.86, start: 0.000000, bitrate: 11762 kb/s Stream #0:0(ger): Video: h264 (High), yuv420p(tv, bt709/unknown/unknown), 1920x1072, SAR 1:1 DAR 120:67, 25 fps, 25 tbr, 1k tbn, 47.95 tbc (default) (forced) Metadata: title : tvp-got-s05e03-1080p Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default) (forced) Stream #0:2(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s Stream #0:3(ger): Subtitle: subrip (default) (forced) Metadata: title : Forced.Sub [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [srt @ 04f62900] Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option [Parsed_subtitles_1 @ 03836ea0] Error decoding: Invalid data found when processing input (ignored) [AVFilterGraph @ 0385cc60] Error initializing filter 'subtitles' with args '//SERVER/H/Serien_2/Game Of Thrones/Staffel 5/tvp-got-s05e03.mkv:si=0' Error opening filters! Link to comment Share on other sites More sharing options...
Tranquil 93 Posted July 10, 2015 Author Share Posted July 10, 2015 Still having this issue with Version 3.0.5666.3 Transcoding fails, native playback in all my apps is working fine. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now