I want convert SRT subtitles to SUB and backwards. But I don´t know, how to convert time from SRT to start and stop frame from SUB format. Can you help me?
How to convert subtitles time to start and stop frame (SRT to SUB) and backwards
2.8k views Asked by Pepa Zapletal At
3
There are 3 answers
0
Mantas D
On
You can do it like that:
Subtitles::convert('subtitles.srt', 'subtitles.sub');
Subtitles::convert('subtitles.sub', 'subtitles.srt');
more info: https://github.com/mantas-done/subtitles
Related Questions in VIDEO
- Media player stops about every 5 minutes
- Video Format is not supported or source is unavailable. - Opera
- How to get text and other elements to display over the Video in Tkinter?
- Can I use local resources for mp4 playback?
- Merge (concat) all video file present in '43. DP (Part1)' and put it into '43. DP (Part1)' and give name merged (concat) file to folder name
- Google Chrome is consuming a lot of CPU on a video call?
- How do I automate a video download with Selenium and Python (Meta Quest Store Trailer Download)
- Safari skipping 5 seconds into react-player video - anyone have experience with this?
- Why is toDataURL() returning blank image? (with p5 video)
- How do I circular crop using matlab?
- Cannot find 'IsacCodec' in scope
- playing multiple videos with libvlcsharp on multiple monitors
- Video controls are hidden behind input feature?
- Anyone around Good at both Javascript and Youtube api?, I am using lite-youtube js and I am confused in adding an eventlistener for onStateChange
- videos are resizing themselves while scrolling
Related Questions in CONVERTERS
- ABAP convert Database char to lowercase
- What is the difference between converting PNG images to JPEG using convertio.co
- Culture info usage while converting string to float type
- Convert Docx To Markdown With Specific Tables
- Convert single column txt file to multi column csv
- convert hatanaka to rinex for multiple files
- How to convert this text contrast function to version for hsl values
- convert PDF to HTML(one paragraph in each <span>tag)
- Glulxe/gblorb game or file editing
- WGET -HTTP request sent, awaiting response... 404 Not Found
- How to perform a binding inside the calling of a converter in WPF XAML?
- Any simple and lightweight tool to transform LaTex to MathML?
- Attempting to build a publication reference converter - cannot get it to function correctly
- How to convert the magnitudes cointained in a nc file and then cut the data according to the data in a shp file with R
- Issue: Custom converters are not triggered during CSV file writing with CsvHelper
Related Questions in AVI
- Discrepancy Between Frame Count Using OpenCV's cv2.VideoCapture and Manual Counting in Python
- Feing response data different With other tools
- Formates (AVI, MPG, FLV, WMV) support issue in ExoPlayer-Android
- ImageJ & ffmpeg: How to create a video from a set of images using ffmpeg that can be opened by ImageJ?
- Error while trying to read an AVI file with stream.GetFrameOpen()
- C# decode, edit and encode frames in an AVI file
- Next JS impossible to play MKV or AVI on Safari?
- How to play blob video (avi, mov) in Angular14?
- How to record screen in Java, using newest MonteMedia ScreenRecorder?
- OpenCV VideoWriter writes a problematic video
- Welding arc's light saturate the image
- .lib file that comes with a TV I bought on AliExpress
- Exporting .avi video to Unity
- Combining two .AVI movies with OpenCV unsuccessful
- What is the purpose of the 'vedt' chunk in an AVI file?
Related Questions in SUBTITLE
- Use `ffprobe` to display subtitle content like the `cat` command
- How to extract video embedded subtitle from a video URL and show in a text widget in flutter?
- SubtitleOctopus how to use octopus subtiles in m3u8 files
- How to show embedded subtitles in ExoPlayer?
- How to adjust subtitle font size in Swift macOS?
- Why doesn't video-conferencing with subtitles exist?
- Adding SRT subtitle to multiple MP4
- How to shift subtitle time in an SRT (SubRip) file in C#?
- getting 2 video streams in output.mkv?
- The principle behind Youglish for searching YouTube videos
- tesseract: Specifying (German) language reduces accuracy - what am I missing?
- SRT Subtitle Processing Using Autosub & Python: Trying to remove blank subtitle entries
- Extracting subtitle from a teachable/hotmart video
- Which atom (box) has subtitle data in MP4 (ISOBMFF)
- Trying to strip tags from extracted subs file
Related Questions in SRT
- Adding SRT subtitle to multiple MP4
- How to shift subtitle time in an SRT (SubRip) file in C#?
- Unable to resolve "../assets/srt/Audio2.srt" from "components\PlayerSound.js", how can I fix it?
- UnicodeDecodeError: 'cp950' in moviepy SubtitlesClip(srt, generator)
- Is there any way to modify .mp3 file so it would match timestamps from .srt file? Or take .srt file and convert it to speech
- Fully Inversing Text From SRT File
- How to convert srt file to vtt then append video
- FFmpeg - invalid argument on a creation of MP4 with .SRT - Help Needed to Correctly Set Filename of .srt in a FFMPEG Command
- react-player video captions with .srt file
- ffmpeg cannot find stream but stream does exist
- Burning subtitles into video with ffmpeg with specific margin not working
- How do I sync a video with its transcript in Next.js?
- Elasticsearch: Indexing .srt files
- My srt file includes positioning formatting, but I lose this when embeding into mp4 file with ffmpeg
- On Whisper API, when I try to use a python script for transcribing audio files in bulk, I can't get the correct response_format ('srt' or 'vtt') work
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I founded this solution ...I hope this will help someone other