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
I am using below ffmpeg command to cut videos.It works fine for video file names which doesn't have spaces but didn't worked for filenames having spaces..
startMs is the initial time of video form where you want to cut(start time of cropped video)
endMs is the time of video upto which you want to cut(end time of cropped video)
dest is the path where you want to save the cut/cropped video
The problem is with source path(path).I have seen this answer.But here i don't know the complete path since I am fetching paths of all the videos from storage. I need to handle spaces in filenames.
For resolving that i tried using string formatter as shown in below code .But with that it didn't worked in both cases.Where am i going wrong and how can i resolve the issue?
I am using below ffmpeg command to cut videos.It works fine for video file names which doesn't have spaces but didn't worked for filenames having spaces..
where
path
is the path of original video.startMs
is the initial time of video form where you want to cut(start time of cropped video)endMs
is the time of video upto which you want to cut(end time of cropped video)dest
is the path where you want to save the cut/cropped videoThe problem is with source path(path).I have seen this answer.But here i don't know the complete path since I am fetching paths of all the videos from storage. I need to handle spaces in filenames.
For resolving that i tried using string formatter as shown in below code .But with that it didn't worked in both cases.Where am i going wrong and how can i resolve the issue?
The text was updated successfully, but these errors were encountered: