Skip to content

Manage "rewrap" of stream in case of demultiplexing #126

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Nov 12, 2014

Conversation

cchampet
Copy link
Member

@cchampet cchampet commented Nov 7, 2014

  • Manage the case like ffmpeg application: impossible to demultiplexing and rewrap a stream. So if the user wants to extract a channel from an audio stream, but does not give an output profile, we create a profile from the input, and we transcode. The output file has the same encoder as input (but only one channel), and the process has been transparent for the user.
  • Transcoder: throw exception when user add an invalid stream (silent stream with no profile for example).

Clement Champetier added 6 commits November 6, 2014 17:17
* Update verbose: upper case when start new sentences.
* Throw exception if invalid operation (instead of print something in
verbose on just return without doing nothing).
* Add comments.
* Can't demultiplexing and re-wrap a stream.
* Check if 'avProfileIdentificator' key exist in map.
* Do nothing if profile already exists.
… a stream

* Same behavior as ffmpeg: transcode with the same "profile" as input.
* Need to update 'sampleFormat' of AudioStreamProperty: use
av_get_sample_fmt_name (ffmpeg function insted of creating our specific
strings).
Because now we get string which correspond to sampleFormat from
av_get_sample_fmt_name (ffmpeg function).
* Keep in the stucture the sample format name from FFmpeg
(sampleFormatName), and the more user friendly name
(sampleFormatLongName).
* Update pyTest consequently.
MarcAntoine-Arnaud added a commit that referenced this pull request Nov 12, 2014
Manage "rewrap" of stream in case of demultiplexing
@MarcAntoine-Arnaud MarcAntoine-Arnaud merged commit 6daa64c into avTranscoder:master Nov 12, 2014
@cchampet cchampet deleted the dev_demux_rewrap branch January 30, 2015 16:35
cchampet pushed a commit to cchampet/avTranscoder that referenced this pull request Mar 17, 2015
…tructors

Add private copy constructors for some classes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants