15:32
When I run it I think there is an error with the subtitle path, but I can't solve it.
The error in terminal:
[Parsed_subtitles_0 ⓐ 0000019bcc509780] Unable to parse option value
"UsersclaraDocumentsProyectosSubtitulossubtitulosDoctor Who - 1x05 The
Keys Of Marinus - Part 6 The Keys Of Marinus_track4_spa.srt" as image
size Error applying option 'original_size' to filter 'subtitles':
Invalid argument [vost#0:0/libx264 ⓐ 0000019bce220480] Error
initializing a simple filtergraph Error opening output (...)
14:12
I'm trying to send an mp4 video as a sticker but i get an error, here's my code
client.on("message", (message) =>
const media = MessageMedia.fromFilePath("./vid.mp4");
client.sendMessage(message.from, media, sendMediaAsSticker: true );
but I get this error
handleExit(new Error('ffmpeg exited with code ' + code));
^
Error: ffmpeg exited with code 1: pipe:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion (...)
12:47
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 (...)
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"] + (...)
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 (...)