[Libav-user] need advice on new player

Deron deron at pagestream.org
Mon Feb 20 01:16:21 CET 2012


Thanks for you input. This is giving me a better sense of direction.

On 2/19/12 4:05 PM, Nicolas George wrote:
> Le primidi 1er ventôse, an CCXX, Deron a écrit :
>> So, I presume then that avformat_open_input (or?) does the interpreting
>> in the background and amends the stream list etc so that packet info is
>> basically the output from the filtergraph? How would I implement that in
>> some other app? Pass "lavfi" to avformat_open_input as the input format?
> Exactly, and the filtergraph as the file name. But if you write your own
> application, you can also use audio filters directly.

Ok, let me understand this part first before I dive into a libavdevice.

If I want to reduce the volume by 10db, what would be the command line 
be in ffmpeg (using libavi of course)?

ffmpeg -f libavi -i "amovie=movie.avi, volume=-10db"

??

How would I reproduce that with the audio filters directly? Any example 
out there?


I think it will take me much time to get a libavdevice working from the 
sounds of it, but I'm willing to try.

Deron



More information about the Libav-user mailing list