Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
How does ffmpeg remove QT and X11
9 octobre 2016, par tonyyeSince my application is just a server program,no x11 and no qt. I checked the options of ffmpeg's configure,and use --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --disable-libxcb-shape --disable-x11grab to remove x11 support. but it doesn't work. The result library still needs x11 and qt library. So how should I do?
-
video normalization with ffmpeg
9 octobre 2016, par Alan_AIIs there anyway to use ffmpeg script to normalize a video luma to its complete dynamic range? I have been trying to do this with lutyuv like this:
ffmpeg -i input.mp4 -vf lutyuv=y='((val - minval)*255)/(maxval - minval)' output.mp4
but the output video is just exactly the same as the input. (I am sure the input does not use it's complete dynamic range)
Can anyone help me please?
Thank you a lot
-
Streaming .mp4 File to http server
8 octobre 2016, par NoshiiI'm trying to stream a mp4 file to my http-server written in python. I'm using ffmpeg to stream it from the client with the following command:
ffmpeg -s 640x480 -i video.mp4 -f mpeg1video -b 800k -r 30 http://localhost:9999
Whenever i execute this command, i get the following warning / error:
Option video_size not found.
Tried googling it, but wasn't able to found a working solution, most of them said I need to include the -s tag, which i already did, still getting the error tho. Does anyone know a fix for that problem?
-
ffmpeg command line to manipulate audio track with multi language m2ts file
8 octobre 2016, par user1320370I like to manipulate an audio track inside an m2ts file with some ffmpeg command line.
In short I need to manipulate the audio track with ID 2 of an m2ts file that is AC3 format (dolby digital 5.1 or 2.0).
The modifications are:
- add equalizer filter: 60 Hz + 3dB, 80Hz +2 dB, 100 Hz +1 dB
- increase the volume: +2 dB
The m2ts file is multilingual for this reason I need to change a specific ID track.
The AC3 file is lossy, I hope that eventual audio modifications don’t add more compression like for example with Photoshop when re-saving a jpeg file. On lossless file (wav or flac) I’m sure I can save and re-save without loss of quality but on AC3 I'm not sure.
Someone can please post the command line to do it without loss of quality?
-
opencv opencv camera and ffmpeg open Microphone
8 octobre 2016, par H S TI use opencv open camera and obtain video and push stream. Then I want add audio and push it. When I use ffmpeg function
avformat_open_input(&ifmt_ctx, psDevName, ifmt, NULL), program break.
So can I use opencv open camera and use ffmepg open Microphone?
I want to write anchor push streaming client and must use opencv open camera.