You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+51-5Lines changed: 51 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,48 @@
1
1
# avTranscoder
2
2
3
-
C++ API for LibAV / FFMpeg
3
+
C++ API for Libav / FFmpeg
4
4
5
-
Based on LibAV/FFMpeg libraries to support various video formats, avTranscoder provides the high level API to re-wrap or transcode media easily.
5
+
Based on Libav/FFmpeg libraries to support various video and audio formats, avTranscoder provides the high level API to re-wrap or transcode media easily.
6
6
7
-
You can also use its Java & Python bindings for simpler integration in your own projects.
7
+
#### What you need to know
8
+
* C++ library
9
+
* Java and Python bindings generated with SWIG
10
+
* multiplateform (Linux, MAC, Windows)
11
+
* your call to be based on Libav, FFmpeg, or your custom fork of one of these librairies
12
+
13
+
#### How to use
14
+
Check out applications contained in the project to see examples of how to use the library in C++, Java or Python.
15
+
16
+
To encode, avTranscoder manipulates profiles.
17
+
A profile is a text file which discribes, with a set of key-value, what we want as output for the format, the video, or the audio.
18
+
You can create your own profiles and export a variable called ```AVPROFILES``` to indicate the path to them.
19
+
20
+
The minimum format profile is:
21
+
```
22
+
avProfileName=profileName
23
+
avProfileLongName=profileLongName
24
+
avProfileType=avProfileTypeFormat
25
+
format=formatName
26
+
```
27
+
28
+
The minimum video profile is:
29
+
```
30
+
avProfileName=profileName
31
+
avProfileLongName=profileLongName
32
+
avProfileType=avProfileTypeVideo
33
+
codec=codecName
34
+
pix_fmt=pixelFormat
35
+
r=frameRate
36
+
```
37
+
38
+
The minimum audio profile is:
39
+
```
40
+
avProfileName=profileName
41
+
avProfileLongName=profileLongName
42
+
avProfileType=avProfileTypeAudio
43
+
codec=codecName
44
+
sample_fmt=sampleFormat
45
+
```
8
46
9
47
#### Continuous Integration
10
48
@@ -26,8 +64,16 @@ You can also use its Java & Python bindings for simpler integration in your own
26
64
Python tests using nosetests.
27
65
28
66
Create environment variables to use your files in tests.
29
-
* AVTRANSCODER_TEST_AUDIO_FILE
30
-
* AVTRANSCODER_TEST_VIDEO_FILE
67
+
*```AVTRANSCODER_TEST_AUDIO_FILE```
68
+
*```AVTRANSCODER_TEST_VIDEO_FILE```
69
+
70
+
Note: for continuous integration, we launch tests with media files contained in ```avTranscoder-data``` repository.
0 commit comments