Jump to content

Portuguese subtitles not loading


pBaesse
 Share

Recommended Posts

Not sure if this a roku channel (tested in beta and stable) or a server problem. Every time I have to load a subtitle that is identified as Portuguese it doesn't load the file. It gets stuck and after a while goes back to the previous screen. I have to rename the subtitle with the ".pob" so I can load it correctly.

Link to comment
Share on other sites

  • 3 weeks later...

Would be this log??
 

http://10.0.0.115:8096/emby/videos/153a1a556ad981676f884f4a41541f30/hls1/main/1.ts?DeviceId=303c2c84-20d0-5fce-9743-028b32f20f9f&MediaSourceId=153a1a556ad981676f884f4a41541f30&VideoCodec=h264&AudioCodec=mp3,aac&AudioStreamIndex=1&SubtitleStreamIndex=8&VideoBitrate=616000&AudioBitrate=384000&MaxFramerate=61&MaxWidth=3840&MaxHeight=2160&Level=51&MaxRefFrames=16&MaxVideoBitDepth=8&Profile=high&PlaySessionId=abcdc4c515234b3083971eaab63cb42c&api_key=32118b721c474dd09a5c8fffc1ae2dab&CopyTimestamps=false&SubtitleMethod=Encode&TranscodingMaxAudioChannels=2&EnableSubtitlesInManifest=false&Tag=ef9731d1e5d278aee0bb85966ba626cf&RequireAvc=false

{"Protocol":"File","Id":"153a1a556ad981676f884f4a41541f30","Path":"/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.mkv","Type":"Default","Container":"mkv","Name":"1080P/H264/AC3","IsRemote":false,"ETag":"ef9731d1e5d278aee0bb85966ba626cf","RunTimeTicks":26511360000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"125/5994","Title":"Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG","DisplayTitle":"Eng Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":5574640,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":1076,"Width":1916,"AverageFrameRate":23.976,"RealFrameRate":23.976,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"ac3","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","Title":"Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG","DisplayTitle":"Eng Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG","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":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/1000","DisplayTitle":"Eng Default","IsInterlaced":false,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false},{"Codec":"subrip","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/1000","Title":"SDH","DisplayTitle":"Eng SDH","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":3,"IsExternal":false,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Level":0,"IsAnamorphic":false},{"Codec":"mjpeg","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":176,"Width":120,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"","Index":4,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj444p","Level":-99,"IsAnamorphic":false},{"Codec":"mjpeg","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":120,"Width":213,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"16:9","Index":5,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj444p","Level":-99,"IsAnamorphic":false},{"Codec":"mjpeg","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":882,"Width":600,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"","Index":6,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj444p","Level":-99,"IsAnamorphic":false},{"Codec":"mjpeg","TimeBase":"1/90000","CodecTimeBase":"1/90000","IsInterlaced":false,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":600,"Width":1067,"RealFrameRate":90000,"Type":"EmbeddedImage","AspectRatio":"16:9","Index":7,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj444p","Level":-99,"IsAnamorphic":false},{"Codec":"srt","Language":"pob","DisplayTitle":"Pob","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":8,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.pob.srt","IsAnamorphic":true}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":5958640,"RequiredHttpHeaders":{}}

/bin/ffmpeg -ss 00:00:03.000 -f matroska -codec:0 h264 -codec:1 ac3 -codec:4 mjpeg -codec:5 mjpeg -codec:6 mjpeg -codec:7 mjpeg -i file:"/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.mkv" -map_metadata -1 -map_chapters -1 -threads 0 -map 0:0 -map 0:1 -codec:v:0 libx264 -pix_fmt yuv420p -preset veryfast -crf 23 -maxrate 616000 -bufsize 1232000 -vsync -1 -profile:v high -level 4.1 -x264opts:0 subme=0:rc_lookahead=10:me_range=4:me=dia:no_chroma_me:8x8dct=0:partitions=none -force_key_frames "expr:gte(t,n_forced*3)" -copyts -vf "scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2,subtitles=filename='/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.pob.srt':charenc=windows-1252,setpts=PTS -3/TB" -codec:a:0 libmp3lame -ac 2 -ab 384000 -af "adelay=1,aresample=async=1,volume=2,asetpts=PTS-3/TB" -f segment -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -segment_time 3 -segment_time_delta -3 -individual_header_trailer 0 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 1 -segment_list "/config/transcoding-temp/d73c8492b2341f972b302ef8dabbc863.m3u8" -y "/config/transcoding-temp/d73c8492b2341f972b302ef8dabbc863%d.ts"


ffmpeg version 3.1.4-static http://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.1 (Debian 5.4.1-2) 20160904
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi --disable-indev=sndio --disable-outdev=sndio --enable-librtmp --enable-libzimg --cc=gcc-5 --disable-ffplay
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0x54d6980] Increasing reorder buffer to 1
Input #0, matroska,webm, from 'file:/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.mkv':
  Metadata:
    title           : Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG
    encoder         : libebml v1.3.4 + libmatroska v1.4.5
    creation_time   : 2017-01-19 08:30:55
  Duration: 00:44:11.14, start: 0.000000, bitrate: 5574 kb/s
    Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1916x1076 [SAR 1:1 DAR 479:269], 23.98 fps, 23.98 tbr, 1k tbn, 2k tbc (default)
    Metadata:
      title           : Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG
    Stream #0:1(eng): Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
    Metadata:
      title           : Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG
    Stream #0:2(eng): Subtitle: subrip (default)
    Stream #0:3(eng): Subtitle: subrip
    Metadata:
      title           : SDH
    Stream #0:4: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 120x176, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : small_cover.jpg
      mimetype        : image/jpeg
    Stream #0:5: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 213x120, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : small_cover_land.jpg
      mimetype        : image/jpeg
    Stream #0:6: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 600x882, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : cover.jpg
      mimetype        : image/jpeg
    Stream #0:7: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1067x600, 90k tbr, 90k tbn, 90k tbc
    Metadata:
      filename        : cover_land.jpg
      mimetype        : image/jpeg
[Parsed_subtitles_1 @ 0x55354e0] Shaper: FriBidi 0.19.7 (SIMPLE)
[Parsed_subtitles_1 @ 0x55354e0] Using font provider fontconfig
[srt @ 0x5604840] Unable to open iconv context with input character encoding "windows-1252"
[AVFilterGraph @ 0x54ba240] Error initializing filter 'subtitles' with args 'filename=/media/supermouse/Dados/Videos/TV/Vikings/Vikings/Vikings.S04E18.1080p.WEB-DL.DD5.1.H264-RARBG.pob.srt:charenc=windows-1252'
Error opening filters!
Edited by ebr
Link to comment
Share on other sites

It doesnt like windows-1252, maybe that should be cp1252?

Link to comment
Share on other sites

Can you provide sample subtitles for testing? please zip them up to avoid the forum messing with the encoding. Thanks !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...