Jump to content

Big problems with subtitles


fbrassin

Recommended Posts

After five minutes we abort the extraction, that is why. Nobody is going to sit and wait five minutes for their video to load so at some point we need to kill the background process.

Link to comment
Share on other sites

fbrassin

OK.

As i see the .srt file is filling at about reproduction speed, isn't it possible to start play even if the srt file is not completed. It will complete while playing.

Or is it not possible?

Link to comment
Share on other sites

OK.

As i see the .srt file is filling at about reproduction speed, isn't it possible to start play even if the srt file is not completed. It will complete while playing.

Or is it not possible?

 

Right, see post #43.

Link to comment
Share on other sites

fbrassin

Right, see post #43.

Ahh, ok.

 

So, my other question is.

Is tehre a way to manually extract subtitles from movie?

I mean a command that i can manually run via terminal?

Link to comment
Share on other sites

fbrassin

I found this line to extract forced subtitles.

/var/lib/emby-server/ffmpeg/20170308/ffmpeg -forced_subs_only 1 -i input.mkv output.srt

 

It is working now.

Let's see tonight if it is ok.

It is extracting veryyyyyyyyyyy sloooooollllyyy

 

size=       2kB time=00:01:48.35 bitrate=   0.1kbits/s speed=1.68x

Link to comment
Share on other sites

fbrassin

Mhh,

it took about half an hour to extract subtitles of an episode during 50 minutes.

I'm afraid it is not a possibility to do this.

 

@@Luke

you told in post #49 that maybe plex was downloading subtitles on the fly, but what do you mean? I select incorporated subtitles when play a movie with plex. I think they are showing incorporated subtitles in the movie.

One thing is clear to me. Is it necessary to extract subtitles? Why subtitles cannot be shown directly during transcoding or streaming as they are incorporated in the movie?

Link to comment
Share on other sites

casperghst42

Player: AppleTV

 

I have a similar problem, I have some media where the subtitles are being extracted eventhough I select them to be played without subtitles, and as the subtitle isn't supported it does not do a copy, but a full extraction which puts my CPU into 100% utilization. I have hw encoding enabled, and it works, except for subtitles ... 

 

-- snip --

Transcoding

The media is being converted into a format that is compatible with the device that is playing the media.
 
Reason for transcoding:
Subtitle format not supported
-- snip --
 
Media information:
 
General
Unique ID                                : 234914162165839089565732804743883302969 (0xB0BAD269D8980E769DD558EFB536A839)
Complete name                            : media-file-name.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 2.06 GiB
Duration                                 : 52 min 56 s
Overall bit rate                         : 5 572 kb/s
Movie name                               : media-file-name
Encoded date                             : UTC 2016-11-07 09:01:09
Writing application                      : mkvmerge v9.4.0 ('Knurl') 64bit
Writing library                          : libebml v1.3.4 + libmatroska v1.4.5
Cover                                    : Yes
Attachments                              : cover_land.jpg / small_cover.jpg / small_cover_land.jpg / cover.jpg
 
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 52 min 56 s
Bit rate                                 : 5 077 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.102
Stream size                              : 1.88 GiB (91%)
Title                                    : media-file-name
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709
 
Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : A_AC3
Duration                                 : 52 min 56 s
Bit rate mode                            : Constant
Bit rate                                 : 384 kb/s
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 spf)
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 145 MiB (7%)
Title                                    : media-file-name
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
Text
ID                                       : 3
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Language                                 : English
Default                                  : Yes
Forced                                   : No
 
 
Is there a way to:
 
1) disable the extraction (permanently) ?
2) get a version of ffmpeg which can handle these subtitles?
 
Cheers,
Casper
 

ffmpeg-remux-724d3967-c9f4-46c2-9ec0-f81e630ed783.txt

Link to comment
Share on other sites

  • 8 months later...
NeonGOD

I know this is an old Thread..   But i stopped using Emby because of this exact behaviour and switched to plex which have no problem with ingrated subs on a rclone mount...    now im facing a new server setup and was wondering if this behaviour still is a problem??   'cause i rather be running emby than plex..  but won't test it out if still doesn't work :)

 

so fbrassin did u find a solution on this problem ??  :)

Link to comment
Share on other sites

fbrassin

I know this is an old Thread..   But i stopped using Emby because of this exact behaviour and switched to plex which have no problem with ingrated subs on a rclone mount...    now im facing a new server setup and was wondering if this behaviour still is a problem??   'cause i rather be running emby than plex..  but won't test it out if still doesn't work :)

 

so fbrassin did u find a solution on this problem ??  :)

Not at the moment.

I'm waiting to see with new player if it will change.

Link to comment
Share on other sites

NeonGOD

Not at the moment.

I'm waiting to see with new player if it will change.

Okay :)   i will wait then :)    Thanks for reporting back :)

Link to comment
Share on other sites

  • 3 months later...

I recently changed my rclone setup to try out the VFS instead of cache backend..

and just for kicks i tried installing emby again just to test if it made any differnce and it did..

 

don't know if the emby team have fixed subtitles or if it's because of the shift to VFS..

 

i basicly did a setup based on this: https://github.com/animosity22/homescripts

Link to comment
Share on other sites

Yes im using gdrive and got no bans whatsoever..  it runs smoothly..  i basically just setup like the scripts from animosity i linked earlier..  

Link to comment
Share on other sites

  • 1 month later...

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
×
×
  • Create New...