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", (...)
19:43
I can successfully transcode videos to multiple resolutions with ffmpeg without using hls commands in .outputOptions. However, an error titled "Error transcoding with FFmpeg: Error: Output format hls is not available" appears when I try to include HLS in that.
I updated to the most recent version of ffmpeg. verified that it possesses hls. ffmpeg static was tried. Not working at all.updated version installed. FFMpeg static was tried.
Why does it say "There is no output format available in hls"?
my ffmpeg installed in C i will provide my full code:
Note:In Mac this code (...)
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", (...)
11:32
My ffmpeg code produces 0 bytes chunks as well as 0 bytes manifest. can someone tell what may be the cause for that. AVPacket contains the data too. Whether the data is valid or not valid that's off-topic here, right? As it writes any data into the muxer right? But why I am receiving ffmpeg log like:
[hls ⓐ 0x617000084280] write_packet_common size:128 dts:192060 pts:192060
[hls ⓐ 0x617000084280] compute_muxer_pkt_fields: pts:192060 dts:192060 cur_dts:186030 b:0 size:128 st:1
[hls ⓐ 0x617000084280] av_write_frame: pts2:192060 dts2:192060
[hls ⓐ 0x617000084280] Opening (...)
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 (...)
10:57
I have an HLS stream that seems to have the audio cut out and then return randomly. This only occurs on iOS devices, and Safari on Mac OS. It works fine on Desktop VLC, but not iOS VLC (as in, the audio never cuts out).
More confusing still - if we have multiple developers listening to the same HLS stream on different devices at the same time, we all hear the audio cut out and the return at the same time. So clearly something is wrong with the stream itself.
We create a dash stream from FFMPEG, and then create an HLS manifest in parallel.
transcoder
// Right now this (...)
10:33
ffmpeg -i ./first.mp4 -i ./first.mp4 -filter_complex "xfade=transition=circlecrop:duration=1:offset=4,format=yuv420p" -y output.mp4
FFMPEG version 6.1.1, the video is generated normally without any error prompts, but the generated video does not have any transition effects.
output
ffmpeg version 6.1.1-tessus https://evermeet.cx/ffmpeg/ Copyright (c) 2000-2023 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig (...)