Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-10examples/avio_reading: fix null dereference on errorMichael Niedermayer
Fixed CID1197052 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 419800acc46afc0c3b7319d6e216d0da207ebbb7) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-25Merge commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a'Michael Niedermayer
* commit 'e7dfaf16a403972eb6aed5ce8f84c0085bd2fb5a': libavfilter: example audio filtering program Conflicts: .gitignore configure doc/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-25libavfilter: example audio filtering programAnton Khirnov
Based on a patch by Andrew Kelley <superjoe30@gmail.com> Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-02-17doc/examples: remove pathes from doxy examplesMichael Niedermayer
This makes the examples page less cluttered Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-17Merge commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90'Michael Niedermayer
* commit 'b339182eba34f28de5f1a477cdd2c84f1ef35d90': Move all example programs to doc/examples Conflicts: configure doc/Makefile doc/doxy-wrapper.sh doc/examples/avcodec.c doc/examples/decoding_encoding.c doc/examples/metadata.c doc/examples/muxing.c doc/examples/transcode_aac.c libavcodec/Makefile libavcodec/api-example.c libavformat/Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-17Move all example programs to doc/examplesDiego Biurrun
Also drop support for building examples in library directories.
2014-02-14Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: doc/examples: misc Doxygen markup improvements Conflicts: doc/examples/muxing.c doc/examples/transcode_aac.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-02-14doc/examples: misc Doxygen markup improvementsDiego Biurrun
Add properly formatted @example tag and fix Doxygen syntax.
2014-02-02examples/avio_reading: remove stray empty lineStefano Sabatini
2014-02-02examples: add avio_reading.c exampleStefano Sabatini
2014-01-31doc/examples/decoding_encoding: Check all av_samples_get_buffer_size() returnsMichael Niedermayer
Fixed CID1135755 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-24examples/filtering_audio,video: do not call avcodec_register_all()Stefano Sabatini
It is implied by av_register_all(). Simplify.
2014-01-23examples/muxing: reindent after previous commitStefano Sabatini
2014-01-23examples/muxing: flush encoders at the endStefano Sabatini
2014-01-21examples/filtering_audio,video: drop call to avcodec_get_frame_defaults()Stefano Sabatini
The avcodec_get_frame_defaults() function is deprecated and its use doesn't seem required.
2014-01-21examples/muxing: reduce duration, remove wrong and misleading commentStefano Sabatini
Set duration to 10 seconds, after it was increased from 5 to 200 seconds in 8d80f3cb877b890889b1673029387229648901ed. 200 seconds will generate too much data which is annoying especially when testing.
2014-01-20examples/muxing: remove redundant {}Stefano Sabatini
2014-01-20examples/muxing: change error checks, from "ret != 0" to "ret < 0"Stefano Sabatini
More consistent and more future-proof.
2014-01-20examples/muxing: factorize write_interleave codeStefano Sabatini
Also log output packet information.
2014-01-20examples: add remuxing exampleStefano Sabatini
Show how to perform streamcopy from one container to another.
2014-01-12examples/muxing: simplify video PTS settingStefano Sabatini
Rely on frame_count. Also more consistent with audio path.
2014-01-09doc/examples/muxing: Fixes frame initialization.Andre Anjos
Fixes use of the example with encoders which use tha AVFrame w/h/pix_fmt fields FFV1 is one of these codecs We cannot easily workaround the not set fields in common code because the API has AVFrame constant for the encoders. Alternatives would be to fix the API or to duplicate the struct and fill in missing fields. Or as is to require all user apps to set this correctly and maybe simplify for that case Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-01-09examples/muxing: set timestamps in output audio packetStefano Sabatini
In particular, fix trac ticket #3231.
2014-01-09examples/muxing: use av_frame_free() in place of av_free()Stefano Sabatini
2014-01-09examples/muxing: reuse global audio frameStefano Sabatini
Simplify logic, avoid multiple unnecessary alloc/free operations.
2014-01-09examples/muxing: honour distinction between encoder PTS timebase and stream ↵Stefano Sabatini
timebase Fix PTS set on the frame when encoding, which must be specified in the encoder timebase or this will confuse the encoder. When muxing the packet, the PTS/DTS generated by the encoder is then rescaled to the stream timebase.
2014-01-09examples/muxing: set sample formats from list of codec supported sample formatsStefano Sabatini
Avoid the need of tweaking, also show how to get list of supported sample formats.
2014-01-07examples/decoding_encoding: fix style nitsStefano Sabatini
2013-12-21examples/muxing: fix memleaks in resamplerIlya Basin
- do not allocate resample dst buffer when resample is off - free sample buffers in addition to freeing data pointer arrays Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-21examples/muxing: use S16 sample_fmt for resample src regardless of codec ↵Ilya Basin
sample_fmt We generate S16 samples and we should allocate the right buffer Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-21examples/muxing: fix av_frame_free() not called when got_packet is falseIlya Basin
Hi list! Since my last patch (fix 2 memleaks in doc/examples/muxing.c) I found more problems to fix. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-15examples/decoding_encoding: check av_samples_get_buffer_size() for a ↵Stefano Sabatini
negative value Fix broken != 0 check.
2013-12-14examples/decoding_encoding: check av_samples_get_buffer_size() return codeTimothy Gu
Fixes CID1135756. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-12-14examples/resample_audio: check av_samples_get_buffer_size() return codeTimothy Gu
Fixes CID1135757. Signed-off-by: Timothy Gu <timothygu99@gmail.com>
2013-12-13examples/demuxing_decoding: print the decoding error when it happens.Clément Bœsch
2013-12-13examples/demuxing_decoding: return error when no codec foundEven Wiik Thomassen
The open_codec_context function, when it fails to find a codec, now return AVERROR(EINVAL) to signal an error. Before it would return the stream index, which was always >= 0, and continue as if a codec was found. This change make it fail faster, instead of repeated failed tries to decode frames with no codec. Signed-off-by: Even Wiik Thomassen <e.thomassen@sportradar.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
2013-12-12Merge commit '48d17ee6dc2b2a552f645484f200c2946bf24607'Michael Niedermayer
* commit '48d17ee6dc2b2a552f645484f200c2946bf24607': api-example: remove an unneeded call to avcodec_get_frame_defaults(). Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-12Merge commit 'eb891b3114f499e96b9faddd0b0ae856345dfbd9'Michael Niedermayer
* commit 'eb891b3114f499e96b9faddd0b0ae856345dfbd9': Replace all uses of avcodec_free_frame with av_frame_free(). Conflicts: doc/examples/decoding_encoding.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-11Replace all uses of avcodec_free_frame with av_frame_free().Anton Khirnov
2013-12-03doc/examples/filtering_audio: init packet0.dataMichael Niedermayer
Fixes use of uinitialized data and crash Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-12-02doc/examples/filtering_audio: fix chunked audio decodingStefano Sabatini
Support the case when multiple frames are contained in a single packet. In particular, fix fate-samples/lossless-audio/luckynight-partial.shn sample decoding.
2013-12-02doc/examples/filtering_audio: fix styleStefano Sabatini
2013-12-02doc/examples/filtering_video: do not make use of AVBufferSinkParamsStefano Sabatini
Set the value on the filter context instead. Simplify.
2013-12-02doc/examples/filtering_video: add some error handling in init_filters()Stefano Sabatini
2013-12-02doc/examples/README: fix typoStefano Sabatini
2013-12-02doc/examples/filtering_audio: add more error checksStefano Sabatini
2013-12-02doc/examples/filtering: make use of av_err2str()Stefano Sabatini
Simplify.
2013-11-28doc/examples: update README.Clément Bœsch
2013-11-28doc/examples: make fill_samples static.Clément Bœsch
This is required to build with FFmpeg compilation options.
2013-11-28doc/examples: add transcode_aac to local Makefile.Clément Bœsch