-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Subtitle viewing/editing #250
Comments
Seems like HTML5 has built in support for subtitles. Just need to convert it to their format. |
I was looking for "Transcript" support especially for Microsoft Stream's VTT files that one can download for auto generated transcripts/subtitles. Any update on this? Despite lossy this would be huge step forward for hearing disabilities where burning in the transcript/subtitles to host on a site/player that doesn't support displaying them via codec/video file (or for convenience). |
Can vtt be converted to srt and vice versa using ffmpeg? If so, then I believe it would be just another subtitle format that would automatically be supported if we add support for subtitle editing in losslesscut. |
Yes VTT can be converted to SRT like https://subtitletools.com/convert-to-srt-online and sure editing them to correct mistakes or timing could be beneficial for subtitles in general I guess. But I'm referring to burning them into the video visually itself, even if that means lossy it would make the process so much easier than using a video editing program to place subtitles over the video and re-encode. Btw. I just tried dragging in both .srt and .mp4 and when selecting first the mp4 and then srt to drag it in then the .srt is on the top position which causes the merged output to be saved as .srt instead of ,mp4 This may need some logic to always save it in the existing video format i.e. .mp4 Anyway I didn't manage to merge the subtiles, despite clicking "include all tracks" |
Ah, you want to burn in subtlties. you're right, that is not a lossless operation, and will need a total re-encode of the video. I know this can be done with ffmpeg. I find it odd if there is no GUI programs for doing this though. I will add it to the list of lossy operations feature requests here: #372
Sorry it's a bit confusing. merging actually means time-domain, so it's like a concat, which can obviously not be done with a subtitle and a video. In order to add a subtitle track to an existing mp4, you first drag drop ONLY the mp4. then when it's loaded, then drag drop a subtitle. |
Gotcha. Perhaps the logic for dropping in both at once could be improved to handle this i.e. separate tick box to treat subtitles to be loaded into the video (when only two files are dropped in) . =) I tried it but didn't work. I can open a separate issue but here fyi
And here the transcript.zip vtt and converted srt transcript created for the video https://www.youtube.com/watch?v=ClJc3jRsJNE&t=7s |
@gtknowledgeshare I tried to youtube-dl your file as an mkv, then download your zip and add the srt to the mkv as I described above, and for me it works. I think mp4 doesn't support srt, but mkv does. Possibly see also #418 |
sorry @mifi should have thought about that lol thanks for checking. |
limitation: does not work with 'fastest' preview (due to canvas overlaying the video)
Is it possible to load local subtitle from pc for viewing like youtube cc subtitle? |
not yet. a workaround is to add the subtitle to a video file, export it, then reload the exported file and view the subtitle |
Hi, a feature request: Would it be possible to have an option to include the subtitle overlay on frame grabs? (and my reason for not just taking a manual screenshot or using other software is the convenient naming of the frame grabs in lossless cut with filename and timestamp) |
It’ possible but it’s not super trivial so I’m not sure it will be implemented unless more people also want that |
I really need this feature so I can ditch VLC player 😄 |
Me too, sometime really want to see the subtitle when using LLC. |
hello please add this functionality to add local .srt file to the video while editing. it would be a very good feature to add. |
You can already add a .srt file to a video. Then export and re-import |
yes, but there is no way to view the srt file while editing without export snd re-import right |
suggested function. We could overlay subtitles on the video, and possibly allow editing them
Could use https://github.com/gsantiago/subtitle.js
fastest
preview (FFmpeg-assisted playback), currently doesn't work because<video>
is covered by<canvas>
element Problem:When ffmpeg-assisted playback is enabled, the inner subtitles cannot be previewed #2234The text was updated successfully, but these errors were encountered: