Jump to content


Photo

subtitle extract

subtitle

  • Please log in to reply
4 replies to this topic

#1 thoror OFFLINE  

thoror

    Advanced Member

  • Members
  • 41 posts
  • Local time: 05:31 AM

Posted 06 November 2013 - 05:15 AM

I'm having some issues with playing embedded subtitles.

 

Here is the relevant log:

2013-11-06 03:02:18.1323, Debug, MediaEncoder, C:\Users\thoror\AppData\Roaming\MediaBrowser-Server\ffmpeg\ffmpeg20131011\ffmpeg.exe -i file:"\\AUSTIN\media\HD Movies\movie.mkv" -ss 3.962 -map 0:2 -an -vn -c:s ass "C:\Users\thoror\AppData\Roaming\MediaBrowser-Server\cache\subtitles\3\3a13d2bf-09a8-c9f1-aa2c-179912d4e50a.ass"
2013-11-06 03:03:18.1323, Info, MediaEncoder, Killing ffmpeg subtitle extraction process
2013-11-06 03:03:18.1323, Info, MediaEncoder, Deleting extracted subtitle due to failure: 
2013-11-06 03:03:18.1323, Error, MediaEncoder, ffmpeg subtitle extraction failed for file:"\\AUSTIN\media\HD Movies\movie.mkv" to C:\Users\thoror\AppData\Roaming\MediaBrowser-Server\cache\subtitles\3\3a13d2bf-09a8-c9f1-aa2c-179912d4e50a.ass

If I run the command separately, it runs fine with no problem, except it takes quite some time (about 2 minutes). But in the log it shows that the process is terminated after exactly 1 minute, which makes me believe the server is invoking some timeout that is set to 60 seconds.

 

As it may take quite some time to fully extract embedded subtitles, would it be possible to increase the timeout duration?

 

Thanks!!

 



#2 Starkadius OFFLINE  

Starkadius

    Advanced Member

  • Members
  • 365 posts
  • Local time: 04:31 AM

Posted 06 November 2013 - 08:09 AM

I have noticed this as well. Embedded subtitles take a substantial amount of time to transcode (in my case about 40seconds just to get it playing and if scrubbing/seeking). External subtitles play quickly but if I embed the same external subtitle into the video file using mkvmerge for example then it exhibits the same slow loading behavior when attempting to transcode.



#3 Tikuf OFFLINE  

Tikuf

    Obsolete User

  • Members
  • 3626 posts
  • Local time: 10:31 PM

Posted 06 November 2013 - 08:30 AM

Currently ffmpeg does not allow us to burn in subs that are contained in the file (hopefully it will come soon) as soon as it does we will be all over it. The fastest solution currently is to have external srt files.



#4 AdrianW OFFLINE  

AdrianW

    Advanced Member

  • Super Testers
  • 2484 posts
  • Local time: 07:31 PM
  • LocationPerth, Australia

Posted 07 November 2013 - 03:59 AM

The fastest solution currently is to have external srt files.

 

Does MBT support external srt files yet? I thought the current version of MBT only displays embedded subs.



#5 Tikuf OFFLINE  

Tikuf

    Obsolete User

  • Members
  • 3626 posts
  • Local time: 10:31 PM

Posted 07 November 2013 - 04:05 AM

Not sure about mbt I don't think Luke has got to external subs yet. (I could be wrong). I am talking about transcoding only i.e. android,ios,dash etc







Also tagged with one or more of these keywords: subtitle

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users