Questions tagged [libav]

libav (or libav*) is the collective name of the FFmpeg libraries: libavcodec, libavformat, libavfilter, libavutil, etc. The name has also been appropriated by the Libav project–a fork of FFmpeg.

591 questions
12
votes
1 answer

Decode MP3, then increase the audio volume, and then encode the new audio

I want to first decode a MP3 audio file, and then increase the volume of the audio, and then encode it again into a new MP3 file. I want to use libavformat or libavcodec for this. Can you help me how I can do this? Any example?
Blue Sky
  • 293
  • 1
  • 5
  • 14
11
votes
5 answers

How to obtain titles and chapters information in DVD?

I found many question about creating DVD menu using ffmpeg but i did not find any one about programmically access to DVD structure information. When i using libav (or FFmpeg) library i can open DVD image (iso file) and access to video, audio and…
Tarhan
  • 536
  • 1
  • 7
  • 15
10
votes
1 answer

fedora 21 javafx not creating mediaplayer

I recently upgraded to fedora 21. I really like it, however, javafx MediaPlayer doesn't work. As per the JavaFX System Requirements Site, for a Linux distro to create A MediaPlayer I need: libavcodec53 libavformat53 I couldn't find any of these…
randomlinuxmod
  • 327
  • 4
  • 12
10
votes
1 answer

FFMPEG audio transcoding using libav* libraries

I am writing an audio transcoding application using ffmpeg libraries. Here is my code /* * File: main.cpp * Author: vinod * Compile with "g++ -std=c++11 -o audiotranscode main.cpp -lavformat -lavcodec -lavutil -lavfilter" …
vinvinod
  • 541
  • 5
  • 13
10
votes
1 answer

ffmpeg exit status -1094995529

I'm developing an application that makes calls to ffprobe that return the unorthodox exit status of -1094995529 for certain files when on Windows. This exit status is given consistently, and there is some minor discussion of this. Why is this value…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
9
votes
1 answer

Decode audio using libavcodec and play using libAO?

I use following code snippet to decode audio files (tested with MP3,WAV,WMV). But when it plays the audio , it just gives static sounds and crashes time to time. Any hints on what i am doing wrong here ? #include #include…
Ashika Umanga Umagiliya
  • 8,988
  • 28
  • 102
  • 185
9
votes
1 answer

iPhone SDK 4.3 libav compiling problem

I faced with strange problem. I installed iPhone SDK 4.3 and xCode 4 and now I can't compile libav from ffmpeg for ARMv6 architecture. This is my script to compile it (it works fine for iPhone SDK 4.2): ./configure \ --disable-doc --disable-ffmpeg…
VictorT
  • 783
  • 10
  • 20
9
votes
1 answer

How to control key-frame generation of ffmpeg?

I'm making a segmenter that intervene ffmpeg's write_frame function and write output data to separate files. Each segmented file contains segment of about 3 seconds video. The code does following: 1 - Get transcoded packet 2 - Check if it…
jAckOdE
  • 2,402
  • 8
  • 37
  • 67
8
votes
0 answers

Libav build for Android

Does anyone succeed compiling Libav for Android. I currently looking for documentation. Thanks!
Showpath
  • 678
  • 1
  • 8
  • 18
8
votes
1 answer

How to Convert CMSampleBuffer/UIImage into ffmpeg's AVPicture?

I'm trying to encode iPhone's camera frames into a H.264 video using ffmpeg's libav* libraries. I found in this Apple's article how to convert CMSampleBuffer to UIImage, but how can I convert it to ffmpeg's AVPicture? Thanks.
Alexandre OS
  • 687
  • 6
  • 17
8
votes
1 answer

FFMpeg - How to copy codec ( video and audio ) from 'mp4' container to 'ts' container

i have this ffmpeg command ffmpeg -i c:\input.mp4 -vcodec copy -acodec copy -vbsf h264_mp4toannexb c:\output.ts. The above command successfully converts input.mp4 to output.ts. I need to implement the same functionality via code (using the ffmpeg…
Febin
  • 105
  • 1
  • 2
  • 7
8
votes
1 answer

Decode a video file from memory using libav

Supose I have an entire video file in memory and I want to use libav to decode the whole frames. How should I do it? The point is that I can do it reading directly from a file using avformat_open_input() function but I do need to do it from a file…
Didac Perez Parera
  • 3,734
  • 3
  • 52
  • 87
7
votes
2 answers

Set RTSP/UDP buffer size in FFmpeg/LibAV

Note: I'm aware ffmpeg and libav are different libraries. This is a problem common to both. Disclaimer: Duplicate of SO question marked as answered but actually didn't give a proper solution. Insufficient UDP buffer size causes broken streams for…
Sergio Basurco
  • 3,488
  • 2
  • 22
  • 40
7
votes
2 answers

LIBAV - avprobe

Coming from a linux background. I was just wondering that the best way to install avprobe on OSX is? I tried installing libav: http://libav.org/download.html but this seems to use avconf. I have a script that was written by someone else that depends…
user2272391
  • 103
  • 1
  • 7
7
votes
1 answer

Extremely high bit rate when encoding video with libavcodec

I am trying to capture the camera output and make a video using libavcodec. As an example on how to accomplish this i have used ffmpeg muxing example. The problem is that a 4 seconds video has a size of ~15mb and a bitrate of ~30000 kb/s, although I…
niculare
  • 3,629
  • 1
  • 25
  • 39
1
2
3
39 40