07:52
I'm recording my screen on Windows using the command: ./ffmpeg -f gdigrab -framerate 30 -i desktop -c:v libx264 -crf 20 -preset ultrafast -max_muxing_queue_size 1024 -hls_time 5 -hls_list_size 10 -hls_flags delete_segments -hls_segment_filename "d:\\\\1\\\\file%03d.ts" "d:\\\\1\\\\playlist.m3u8"
Then I use the function avformat_open_input to open this m3u8 file, but after calling this function, the m3u8 file stops updating. When I use the command ./ffmpeg -i D:\\1\\video.m3u8 -c copy -f mpegts "srt://xxxxx?streamid=#!::h=live/qyt,m=publish", the test results are the same. However, when I (...)
07:46
I'm trying to write software to edit audio files. One aspect of this software is a normalization function.
Until now, I have been normalizing audio with Audacity. Now, I want to normalize them using FFmpeg from a C# application. I looked into the documentation of FFmpeg and saw that there are different types of normalization. Additionally, FFmpeg has a lot of settings, which I find overwhelming.
For Python, I found a nice library that makes it easy to normalize audio:
from pydub import AudioSegment
from pydub.effects import normalize
def (...)
07:33
I am working on a project to stream an H.264 video file using RabbitMQ (AMQP protocol) and display it in a web application. The setup involves capturing video frames, encoding them, sending them to RabbitMQ, and then consuming and decoding them on the web application side using Flask and Flask-SocketIO.
However, I am encountering performance issues with the publishing and subscribing rates in RabbitMQ. I cannot seem to achieve more than 10 messages per second. This is not sufficient for smooth video streaming.
I need help to diagnose and resolve these performance (...)