You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some video files (e.g. those made by newer DJI drones) have a textual track optionally saved along with video files. One can extract the corresponding .SRT file via:
ffmpeg -i video.mp4 -o video.srt
It would be nicer if ODM could do this automatically without calling/adding ffmpeg as a dependency, we already compile ffmpeg within OpenCV, so it should be a matter of finding out which routines to call within the compiled ffmpeg library to extract the SRT data.
The text was updated successfully, but these errors were encountered:
No way to do this directly with OpenCV on Windows, as the binary shipped with Windows does not expose anything other than the OCV FFMPEG Capture interface code.
hi,I couldn't export the subtitle file with the ffmpeg command you provided, I ended up using the following code ffmpeg -i DJI_0289.MOV -map 0:s:0 DJI_0289.srt
Some video files (e.g. those made by newer DJI drones) have a textual track optionally saved along with video files. One can extract the corresponding .SRT file via:
It would be nicer if ODM could do this automatically without calling/adding ffmpeg as a dependency, we already compile ffmpeg within OpenCV, so it should be a matter of finding out which routines to call within the compiled ffmpeg library to extract the SRT data.
The text was updated successfully, but these errors were encountered: