20:24
I'm trying to convert a video to mp3 using ffmpeg library but ffmpeg command is not working, it is returning the code 1
Video conversion to MP3 failed with return code: 1
try
final session = await FFmpegKit.execute('-i $videoFilePath -vn -ar 44100 -ac 2 -b:a 192k -f mp3 $audioFilePath');
final returnCode = await session.getReturnCode();
if (ReturnCode.isSuccess(returnCode))
print('Video conversion to MP3 successful!');
else
print('Video conversion to MP3 failed with return code: $returnCode');
(...)
18:59
I'm trying to play some videos from my external hard drive onto my TV. However, it seems Planar 4:2:0 YUV 10 bit LE is too demanding for my TV. The video codec for my videos are h264. I have some other videos that are h264 and are able to run on my TV. When I open them on VLC, their decoded format is blank. The problem just occurs when the decoded format is YUV 10-bit.
I'm not too familiar with ffmpeg and I'm not sure what commands I need or if it's possible to change the decoded (...)
18:13
I know how to change tempo with atempo, but the audio file becomes distorted a bit, and I can't find a reliable way to change pitch. (say, increase tempo and pitch together 140%)
Sox has a speed option, but truncates the volume AND isn't as widely available as ffmpeg. mplayer has a speed option which works perfectly, but I can't output without additional libraries.
I seem to understand ffmpeg doesn't have a way to change pitch (maybe it does recently?) but is there a way to change frequency or some other flags to emulate changing pitch? Looked quite (...)
16:45
I am in the process of developing an app that will allow users to trim and merge recorded videos similar to Snapchat and Instagram stories. Currently, I am using FFmpeg for video processing, but it is taking too long to complete. I have come up with an idea to use ExoPlayer to minimize processing time. My plan is to store the trimmed duration of multiple videos and only play the trimmed part when the video is played. ExoPlayer allows playing multiple videos seamlessly, so it will appear as if the videos have been trimmed and merged. However, I am uncertain about how to handle video (...)
15:42
I save the last frame to image when I create a video, then I convert image to 10 seconds video and put countdown on it, at last, merge this two videos. I can also use video to countdown but that start from first frame, how can I countdown at last frame?
countdown.bat
ffmpeg -hide_banner ^
-i "C:\\myvideos\\video.mp4" ^
-filter_complex_script countdown.txt ^
-t 30 -y %2.mp4
countdown.txt
[0:v]scale=864:504:force_original_aspect_ratio=decrease,pad=864:504:-1:-1,setsar=1[s0];
[s0]drawtext=fontfile='/WINDOWS/Fonts/Arial.ttf':text='%eif\\:10-t\\:
16:30
Users are trying to convert images to SVG image on my website, Below I've given a link to the site, more detail on error and code that handles the conversion of media files.
You can check out the live site Here.
Steps to reproduce the error.
Upload the png file,
Select SVG as output file
Click convert.
It is throwing error.
Below is the code for that converts users input and gives input based on user preference.
// imports
import createCanvas, loadImage from "canvas";
import Action from "ⓐ/types";
import FFmpeg (...)
06:56
I am in the process of developing an app that will allow users to trim and merge recorded videos similar to Snapchat and Instagram stories. Currently, I am using FFmpeg for video processing, but it is taking too long to complete. I have come up with an idea to use ExoPlayer to minimize processing time. My plan is to store the trimmed duration of multiple videos and only play the trimmed part when the video is played. ExoPlayer allows playing multiple videos seamlessly, so it will appear as if the videos have been trimmed and merged. However, I am uncertain about how to handle video (...)
03:50
I'm trying to allow the user to export the scene as an mp4 (video format), the items of the scene consists of QGraphicsVideoItem and multiple QGraphicsTextItem, I need to export the scene as it will allow the user to save the video with the text items. I've found one of the ways to do this but the issue is that it will take hours for a simple 5 seconds videos as it saves every image to a byte to create a video, every image is a millisecond. If I change from millisecond to seconds it could speed up but the video will not look as smooth, is there a more efficient way of doing (...)