Skip to content

Conversation

@gulabsanaparveen
Copy link

FIX FILE CREATION

System: Ubuntu

In write_video_ffmpeg method when file name contains : which is given in representation of time example: _Mci9oyb5V2E-00:00:06.000-00:00:06.589.mp4, the output video file doesn't get created

The following command will run but will not be able to create file

cmd = [ffmpeg, "-f", "concat", "-safe", "0", "-i", list_fn, "-q:v", "1", "-r", str(fps), '-y', '-crf', '20', '-pix_fmt', 'yuv420p', target_path] pipe = subprocess.run(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)

This fix will enable the file creation

FIX FILE CREATION

System: Ubuntu

In write_video_ffmpeg method when file name contains : which is given in representation of time example: _Mci9oyb5V2E-00:00:06.000-00:00:06.589.mp4, the output video file doesn't get created

The following command will run but will not be able to create file

cmd = [ffmpeg, "-f", "concat", "-safe", "0", "-i", list_fn, "-q:v", "1", "-r", str(fps), '-y', '-crf', '20', '-pix_fmt', 'yuv420p', target_path]
pipe = subprocess.run(cmd, stdout = subprocess.PIPE, stderr = subprocess.STDOUT)

This fix will enable the file creation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant