16:44
I would like to merge all the *.png* images into a single .mp4 video file. But the file does not read on windows.11 Media Player
I tried this command
ffmpeg -y -i "screenshots/*.png" "screenshots/merged/video.mp4"
21:59
I have a bash script that executes whisper on all sound files in a directory. Whisper uses ffmpeg to decode sound files to a format it can handle. One of the files in the directory was corrupt and caused ffmpeg to fail. The first time I executed my script it returned 1 when it hit that file but when I try to reproduce the error it always returns 0.
Here is the log from the first run when 1 was returned:
Traceback (most recent call last):
File "/Users/db/Library/Python/3.11/lib/python/site-packages/whisper/audio.py", line 48, in load_audio
.run(cmd=["ffmpeg", (...)
17:38
I am practicing UDP socket programming. My code's functions are below.
Connect Server-Client and send "hello" message each other (it is working).
Then Server is sending video file to client (problem).
Transfer video file to client is working. But it is written in binary so I can't open the video.
So I try to use ffmpeg to convert the video, but it doesn't work.
Is there something wrong in my code? How can I transfer a received file to a video file?
My environment is MacOs.
Server.c (Server Code):
#include
#include (...)
16:42
I have thousands of videos that are written by a device (RP116) in structured subfolders:
device > date > hour > minute.mp4
Every folder has up to 60 minute-long videos.
I would like to combine them into a single .mp4 file with ffmpeg in windows command prompt.
I can do this within a single folder with the following:
C:\\Users\\mjroa\\Desktop\\RP116\\20220513\\20>(for %i in (*.mp4) do ⓐecho file '%i') > mylist.txt
ffmpeg -acodec aac -hide_banner -f concat -i mylist.txt -c copy test.video.concat.mp4
The text file is in the format:
file (...)
15:47
I have an RTSP server running, and when im calling ffplay and streaming a video from that server, there's a specific title for this window.
i know i have the -window_title param for ffplay, but i want to know if its possible to change that name from the RTSP server side?
when running the RTSP server is there anyway to set the "name" that would be shown whenever someone is streaming using ffmpeg?
15:06
I have a bash script that executes whisper on all sound files in a directory. Whisper uses ffmpeg to decode sound files to a format it can handle. One of the files in the directory was corrupt and caused ffmpeg to fail. The first time I executed my script it returned 1 when it hit that file but when I try to reproduce the error it always returns 0.
Here is the log from the first run when 1 was returned:
Traceback (most recent call last):
File "/Users/db/Library/Python/3.11/lib/python/site-packages/whisper/audio.py", line 48, in load_audio
.run(cmd=["ffmpeg", (...)
13:36
I am currently using ffmpeg and attempting to convert multiple PNG files to MP4 video.
My command is:
ffmpeg -y -r 10 -i "videos-reporter/MC4xMzg3NDI1MTY2Mjg1MTk=/b8a7ee17d8ecfd199edbc5edc9691698/screenshots/%04d.png" -vcodec libx264 -pix_fmt yuv420p -vf "scale=1200:trunc(ow/a/2)*2","setpts=3.0*PTS" "videos-reporter/MC4xMzg3NDI1MTY2Mjg1MTk=/b8a7ee17d8ecfd199edbc5edc9691698/video.mp4"
Sometimes, I'm unsure when the ffmpeg creates a 1kb empty video file that cannot be played.
[0-1] stderr: ffmpeg version N-47683-g0e8eb07980-static (...)