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: USAGE.md
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
# How to use avTranscoder
2
2
3
3
## When to use avTranscoder
4
-
* when you need to access the API of ffmpeg, but you want to avoid the head-hurting part of AVPacket, AV_TIME_BASE and all the stuff deep inside ffmpeg.
5
-
* when you would like to access the ffmpeg features in your language (currently Java and python, tomorrow what you want!).
4
+
* when you need to access the API of ffmpeg, but you want to avoid the head-hurting part of AVPacket, AV_TIME_BASE and all the deep ffmpeg components.
5
+
* when you would like to access the ffmpeg features in your language (currently Java and Python, tomorrow what you want!).
6
6
7
7
8
8
## API
9
-
The original code is in C++, but almost all the methods are translated into python/java without any changes.
10
-
So a good way to start is to have a look at the [C++ code](src/AvTranscoder) (since the generated python/java code is ugly).
9
+
The original code is in C++, but almost all the methods are translated into Java/Python without any changes.
10
+
So you should start having a look at the [C++ code](src/AvTranscoder) (since the generated Java/Python code is ugly).
11
11
12
12
In the sake of brevity, the example code of the following section is written in python.
13
13
@@ -48,7 +48,7 @@ Some properties could have a value of _null_ because:
48
48
* the property is not accessible in the header.
49
49
50
50
For the second point, you can launch a deeper analysis.
51
-
This is the case if you would like to have access to the GOP structure of a video stream:
51
+
For instance, you might like to access to the GOP structure:
Check out [__avmeta__](app/avMeta/avMeta.cpp) application to see a C++ example of this use case.
68
68
69
69
#### Process media
70
-
An important part of the API concerns media processing. The general overview of the workflow could be separate in 2 main cases:
70
+
An important part of the API concerns media processing. The general overview of the workflow could be separated into two main cases:
71
71
*_transcoding_: demuxing, decoding, transform, encoding and muxing. Here we can update all parts of the media, from the container to the codec used to encode data.
72
72
See the [transcoding process](https://ffmpeg.org/ffmpeg.html#toc-Detailed-description) in ffmpeg documentation.
73
73
*_rewrap_: omit the decoding, transform and encoding steps. It is useful for changing the container format or modifying container-level metadata.
@@ -191,4 +191,4 @@ PADdef / Slingshot uses avTranscoder in one of its application to transcode medi
191
191
192
192
#### Ploud
193
193
A set of applications developed by [Mikros Image](http://www.mikrosimage.eu/) to analyse, visualize and correct the loudness.
194
-
PADdef / Slingshot uses avTranscoder in [one of its application](https://github.com/mikrosimage/loudness_validator/tree/develop/app/mediaAnalyser) to give decoded data to the loudness analyser.
194
+
Ploud uses avTranscoder in [one of its application](https://github.com/mikrosimage/loudness_validator/tree/develop/app/mediaAnalyser) to give decoded data to the loudness analyser.
0 commit comments