- Notifications
You must be signed in to change notification settings - Fork50
MIK fork: up to v0.5.7#141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
MarcAntoine-Arnaud merged 68 commits intoavTranscoder:developfrommikrosimage:release/v0.5.7Jul 28, 2015
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes fromall commits
Commits
Show all changes
68 commits Select commitHold shift + click to select a range
2596a4e
Travis: deploy on tag
f76b9bd
Merge branch 'develop' of https://github.com/mikrosimage/avTranscoder…
b526dd3
Travis: deploy ffmpeg/libav dependency
6a62af4
ICodec: suppress swig warning with open method
2297872
Frame: hide methods to SWIG
a9b634c
SWIG: add avOperator.i to suppress swig warnings
0173f83
SWIG: add flags when compile bindings
4e75c0c
Travis: deploy only if linux build
fc442c2
Travis: clean
2fa03db
Profiles: remove 'g' option from dnxhd profiles
4194390
Travis: add documentation
473d438
Travis: rename the archives deployed
7f7147b
Merge pull request #186 from cchampet/fix_dnxhdProfiles
valnoel67eb60a
Merge remote-tracking branch 'mikrosimage/release/v0.5.6' into develop
valnoel6e77563
FileProperties: StreamProperties pointers stored by streamIndex into …
valnoel2e7d791
FileProperties: add exception documentation about the getStreamProper…
valnoel2b68780
Travis: clean build optimization
6b53ed1
hotfix: unset decoder (generator) after codec latency processing on r…
valnoel5fb1558
hotfix: fix to generator switch on BasedOnDuration process method
valnoela35585f
hotfix: InputFile::seek at the exact frame
6b4373c
hotfix: encoders/decoders - by default set threads to the value expec…
5d74dc7
Merge pull request #187 from mikrosimage/dev_fileProperties_streams_map
cchampet848460e
Merge pull request #177 from mikrosimage/travis_deploy
valnoelc59b98b
Merge pull request #185 from cchampet/dev_SWIG_flags
valnoeldb08b2f
CMake: the install rule does not depend on all
81e811f
hotfix: store first AVCodecContext::timecode_frame_start
valnoelb92c2b0
Transcoder: log number of frame processed in debug
9f75cb9
Merge pull request #192 from cchampet/fix_logNbFrameProcessedInDebug
valnoel16b3377
Add USAGE.md
0b7fbdc
InputFile/OutputFile: can get format name/long name/mime type
ae287ba
Merge pull request #197 from cchampet/add_USAGE
valnoel166d24b
pythumbnail app: use optparse if argparse module cannot be imported
80e971c
pyprocessor app: clean script
daeeefc
c++ apps: declare targets as optional
7187589
util: remove getFormat() function
992c45e
OutputFile: add getFilename function
cae95e4
InputFile: add documentation
c5fcc68
OutputFile: add documentation
f18ebae
InputFile: fix build of getFormatMimeType() when libavformat <= 55
1b0f75f
InputFile/OutputFile: add log and return empty if format parameters a…
0e73a68
Transcoder: do not delete array of stream at the end of process
4bb8f78
Decoder/Encoder: refactor setup and setProfile
0450ffe
profile: add 'avProfileProcessStat' to trigger stats during the process
e35d620
IOutputStream: add getNbFrames function
9d475b8
transcoder: add ProcessStat class, returned by Transcoder::process me…
808a9e7
ProcessStat: fix build with libav
c5e936f
Merge pull request #198 from cchampet/dev_mimeType
valnoel1668097
Merge pull request #199 from cchampet/fix_pythonAppsPython2.6
valnoel94bf8fc
Add stat folder
c496d63
stat: split ProcessStat by adding VideoStat files
a16929b
stat: export classes
7339f50
stat: add AudioStat class
e3944f4
stat: add SWIG interface
0b4ef30
StreamTranscoder: refactor how to get the current process case
2c9198f
Merge pull request #200 from cchampet/dev_ProcessStat
valnoel9b9005b
Merge pull request #201 from cchampet/dev_StreamTranscoderGetProcessCase
valnoelf44f3c3
Merge pull request #188 from cchampet/cmake_installDoesNotDependOnAll
valnoel9635e02
Merge branch 'release/v0.5.6' of https://github.com/mikrosimage/avTra…
6cfee84
VideoProperties: fix warning when compile with gcc
a827ec6
Up to v0.5.7
2e5d6a2
StreamTranscoder: fix offset support on waiting for data to wrap
valnoel74423d5
FileProperties: clean extractStreamProperties
7ccfb72
CMake: clean indentation
aad1bbf
VideoStat: use log10 C++ function
cda8459
transcoder: manage offset with a float type
c619856
VideoProperties: return fps as a float type
eaf480e
Manage duration as a float
35e8681
InputFile: add parameter to seek with a specific flag
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
41 changes: 30 additions & 11 deletions.travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletionCMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
30 changes: 1 addition & 29 deletionsREADME.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletionsUSAGE.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# How to use avTranscoder | ||
Check out applications contained in the project to see examples of how to use the library in C++, Java or Python. | ||
#### In C++ | ||
Set environment: | ||
``` | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/ffmpeg/lib:/path/to/avtranscoder/lib | ||
export PATH=$PATH:/path/to/avtranscoder/bin | ||
``` | ||
#### In Java | ||
Add argument to the JVM: | ||
``` | ||
-Djava.library.path=/path/to/avtranscoder/lib/java | ||
``` | ||
Set environment: | ||
``` | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/ffmpeg/lib | ||
``` | ||
#### In Python | ||
Set environment: | ||
``` | ||
export PYTHONPATH=$PYTHONPATH:/path/to/avtranscoder/lib/python<version>/site-packages/ | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/ffmpeg/lib | ||
``` | ||
#### Use profiles | ||
To wrap/unwrap/encode/decode, avTranscoder manipulates profiles. | ||
A profile is a set of key-value given as parameters to the InputFile(unwrap), the OutputFile(wrap), the Video/AudioDecoder(decode) or the Video/AudioEncoder(encode). | ||
There are two ways to manipulate profiles: | ||
* create profiles inside your code, by instanciate ```Map``` structures. | ||
* create profiles outside your code, by create text files. | ||
To indicate the path to the text files, export environment variable: | ||
``` | ||
export AVPROFILES=/path/to/profiles | ||
``` | ||
The minimum format profile (wrap/unwrap) is: | ||
``` | ||
avProfileName=profileName | ||
avProfileLongName=profileLongName | ||
avProfileType=avProfileTypeFormat | ||
format=formatName | ||
``` | ||
The minimum video profile (encode/decode) is: | ||
``` | ||
avProfileName=profileName | ||
avProfileLongName=profileLongName | ||
avProfileType=avProfileTypeVideo | ||
codec=codecName | ||
``` | ||
The minimum audio profile (encode/decode) is: | ||
``` | ||
avProfileName=profileName | ||
avProfileLongName=profileLongName | ||
avProfileType=avProfileTypeAudio | ||
codec=codecName | ||
``` |
1 change: 1 addition & 0 deletionsapp/avInfo/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionsapp/avMeta/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionapp/avPlay/AvReader.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionsapp/avPlay/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletionsapp/avProcessor/CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletionapp/pyProcessor/pyprocessor.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/usr/bin/env python | ||
import argparse # python2.7+ | ||
from pyAvTranscoder import avtranscoder as av | ||
71 changes: 52 additions & 19 deletionsapp/pyThumbnail/pythumbnail.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletionressource/v_dnxhd120.prf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,5 +6,4 @@ width=1920 | ||
height=1080 | ||
pix_fmt=yuv422p | ||
b=120M | ||
r=25 |
1 change: 0 additions & 1 deletionressource/v_dnxhd175x.prf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,5 +6,4 @@ width=1920 | ||
height=1080 | ||
pix_fmt=yuv422p10le | ||
b=175M | ||
r=25 |
1 change: 0 additions & 1 deletionressource/v_dnxhd185.prf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,5 +6,4 @@ width=1920 | ||
height=1080 | ||
pix_fmt=yuv422p | ||
b=185M | ||
r=25 |
1 change: 0 additions & 1 deletionressource/v_dnxhd185x.prf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,5 +6,4 @@ width=1920 | ||
height=1080 | ||
pix_fmt=yuv422p10le | ||
b=185M | ||
r=25 |
1 change: 0 additions & 1 deletionressource/v_dnxhd36.prf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -6,5 +6,4 @@ width=1920 | ||
height=1080 | ||
pix_fmt=yuv422p | ||
b=36M | ||
r=25 |
3 changes: 3 additions & 0 deletionssrc/AvTranscoder/avTranscoder.i
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionsrc/AvTranscoder/codec/ICodec.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletionsrc/AvTranscoder/codec/ICodec.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.