Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
60 lines (50 loc) · 1.89 KB

File metadata and controls

60 lines (50 loc) · 1.89 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

FFmpeg-example

FFmpeg 0.11-4.0 or Libav 0.8-11 example application with byte exact reading

FFmpeg/Libav example program

This program is example how to use FFmpeg or Libav library with Byte exact reading (Audio only!). Tested with 'gcc'. Currently it only outputs 'out-for.pcm' and 'out-rev.pcm' files that are in Stereo 16-bit raw audio files (s16) that can be opened with Audacity audio editor or similar which imports raw PCM audio.

Compiling with CMake

You need to have FFmpeg or Libav installed. You need CMake and pkg-config.

cmake .

If everything goes fine

make

Compiling with autotools

You need to have FFmpeg or Libav installed. You need have GNU autotools, pkg-config and libtools installed.

./autogen.sh
./configure

If everything goes fine

make

Compiling with scons

You need to have FFmpeg or Libav installed. You need have SCons and pkg-config.

scons

Compiling with script

You need to have FFmpeg or Libav installed. You need have pkg-config.

./compile-pkgconfig.sh

Running application

Currently tested files are OGG/Vorbis,MP3 and MP4 (also acc).

./FFmpeg-example-bin audio-file

You get as output 'out-for.pcm' and 'out-rev.pcm' files that contains played forward byte exact and reverse played file (as audio is normal!)

Morty Proxy This is a proxified and sanitized view of the page, visit original site.