09:15
I made a python script to install FFmpeg and add it to path in Windows, but it seemed to have no effect at all. It doesn't give me any errors or anything. It literally just does nothing at all.
This was the code I used:
os.environ["Path"] += f"os.getcwd()/ffmpeg-7.0-essentials_build/bin"
os.environ.update()
and I tried several iterations of "path" including "PATH", "Path", "path" and none of them made a difference.
I also tried making a new variable:
new_environ = os.environ["Path"] + (...)
09:43
i am using "ffmpeg_kit_flutter" to merge two videos with code
import 'dart:io';
import 'package:ffmpeg_kit_flutter/ffmpeg_kit.dart';
import 'package:ffmpeg_kit_flutter/abstract_session.dart';
import 'package:ffmpeg_kit_flutter/return_code.dart';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:wechat_assets_picker/wechat_assets_picker.dart';
import (...)
06:11
Example code:
from moviepy.editor import *
clip = VideoFileClip('video.mp4')
clip.write_videofile('video2.mp4', fps=30)
After showing the following messages, showing that the video is being built and written,
Moviepy - Building video video2.mp4.
Moviepy - Writing video video2.mp4
The following error message occurs:
Traceback (most recent call last):
File "", line 1, in
File "C:\\Users\\User\\Anaconda3\\lib\\site-packages\\decorator.py", line 232, in fun
return caller(func, *(extras + args), **kw)
File (...)