21:58
I am writing a python script for producing audio and video podcasts. There are a bunch of recorded media files (audio and video) and text files containing the meta information.
Now I want to program a function which shall add the information from the meta data text files to all media files (the original and the converted ones). Because I have to handle many different file formats (wav, flac, mp3, mp4, ogg, ogv...) it would be great to have a tool which add meta data to arbitrary formats.
My Question:
How can I change the metadata of a file with ffmpeg/avconv (...)
15:58
I've been attempting to figure this out for forever now (I'm new to programming) and I can't figure it out.
I'm attempting to build a script that will test the file, and give me output from which I can get information like "Audio Format" that I can then put into the filename. However, I can't even get the script to return any file info. I've hit a wall at inserting an input file...
So at this point I just need help getting it to spit out info based on the argvs I've thrown in. Hopefully I'll be able to figure out how to parse the (...)
15:39
If you use a YT media downloading app then it downloads the YT media without asking for ffmpeg. I am making a python streamlit app using yt-dlp and when I click on download button then it shows that *ffmpeg *is not installed and the other YT media downloading websites don't ask for any software, they just want us to paste the YT link and then selection the resolution without any need of installing ffmpeg.
How to make setreamlit apps like these websites?
python version: 3.12.3
These libraries I have imported in my code:
import os
import streamlit as st
import (...)
11:38
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 (...)
11:05
I have a bin and a cue file (CD image) and I am making a website to be able to listen to my music. I managed to split the tracks and make a (44 bytes) wav header so my browser can read the audio but the wav files are too big to be read on an unstable connection (it's 1411kbps where an mp3 would be 320kbps or lower!).
At first, is there a way to convert the audio to mp3 without making a temporary file in php? Maybe ffmpeg or sox could help?
Secondly, I would like to be able to satisfy partial content requests (so I can skip without loading the whole file). I have already (...)