10:16
I'm running my code on a VM, so I can't add it to my path. I want to do:
audio = AudioSegment.from_mp3(path_mp3)
audio.export(path_wav, format="wav")
I keep getting:
FileNotFoundError: [WinError 2] The system cannot find the file specified
I tried GPT (and Claude, and Deepseek, etc....) and looking at other questions here posted, without sucess. I know I must have ffpmeg. I have download it and added the .exe at both my script folder (such as suggested elsewhere) and also tried adding the option directly to AudioSegmenter, as (...)
10:12
I'm trying to configure ffmpeg to do a real-time video streaming using a webcam. The ffmpeg encoder command I use is as follows.
ffmpeg -f v4l2 -input_format yuyv422 -s 640x480 -i /dev/video0 -c:v libx264 -profile:v baseline -trellis 0 -subq 1 -level 32 -preset superfast -tune zerolatency -me_method epzs -crf 30 -threads 0 -bufsize 1 -refs 4 -coder 0 -b_strategy 0 -bf 0 -sc_threshold 0 -x264-params vbv-maxrate=2000:slice-max-size=1500:keyint=30:min-keyint=10: -pix_fmt yuv420p -an -f mpegts udp://192.168.1.8:5001
The ffplay command used to display the video (...)
14:16
I just burned a CD to my macbook pro. The files are in AIFF. I would like them in a "websafe" format.
07:17
I have to convert an MP4 Video File into FLV format using FFMPEG which I received from different mobile device. I found most of the stuff to convert flv video into mp4 and all.
Can any body help me out to convert mp4 format into flv using FFMPEG. I am using a Windows 7 64bit machine.
10:10
Recently been playing with FFmpeg and it's powerful abilities. Working on a cool project where I'm trying to create a live video stream using FFmpeg. The client (reactJs) and server (nodeJS) are connected via web-socket. The client sends the byte packets to server and the server then spawns an FFmpeg process and serve it to an nginx server.
Client(live-stream.js):
const stream = await navigator.mediaDevices.getUserMedia(
video: true,
audio: true,
);
videoRef.current.srcObject = stream;
const ingestUrl = `ws://localhost:8081/ws`
const (...)
10:06
I want to realize an application that firstly decode a multi-media file(such as test.mp4 file, video codec id is H264), get a video stream and an audio stream, then make some different in the audio stream, at last encode the video stream (use libx264) and audio stream into a result file (result.mp4). To promote the efficiency, I omitted the decode and encode of video stream, i get the video packet via function av_read_frame, then output it directly into the result file via function av_write_frame. But there is no picture in the output file, and the size of output file is fairly (...)