Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | examples/muxing: add support to audio resampling | Stefano Sabatini | 2013-07-06 | 1 | -28/+93 |
| | | | | | Allows to encode to output in case the destination sample format is different from AV_SAMPLE_FMT_S16. | ||||
* | lavfi: create Libav-API compatibility layer for avfilter_graph_parse() at ↵ | Stefano Sabatini | 2013-07-03 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | | the next bump Add function avfilter_graph_parse_ptr() and favor it in place of avfilter_graph_parse(), which will be restored with the old/Libav signature at the next bump. If HAVE_INCOMPATIBLE_LIBAV_API is enabled it will use the Libav-compatible signature for avfilter_graph_parse(). At the next major bump the current implementation of avfilter_graph_parse() should be dropped in favor of the Libav/old implementation. Should address trac ticket #2672. | ||||
* | examples/muxing: make more compact audio/video_time computation | Stefano Sabatini | 2013-07-03 | 1 | -9/+2 |
| | |||||
* | examples/muxing: rename audio/video_pts to audio/video_time | Stefano Sabatini | 2013-06-26 | 1 | -8/+8 |
| | | | | | The new name is less confusing, since the variables represent times rather than timestamps. | ||||
* | examples/Makefile: disable -O2 optimizations | Stefano Sabatini | 2013-06-26 | 1 | -1/+1 |
| | | | | | There is no much point in optimizing example code, and the -O2 flag is annoying when debugging. | ||||
* | examples/muxing: remove useless instruction | Stefano Sabatini | 2013-06-26 | 1 | -1/+0 |
| | | | | Simpler and less confusing. | ||||
* | examples/muxing: vertically align | Stefano Sabatini | 2013-06-25 | 1 | -2/+1 |
| | |||||
* | examples/filtering_audio: fix frame leak. | Nicolas George | 2013-04-18 | 1 | -1/+1 |
| | | | | | The frame is not used after being added to the filter graph, there is no need to keep the reference. | ||||
* | examples/filtering_audio: get rid of AVABufferSinkParams | Pavel Koshevoy | 2013-04-17 | 1 | -6/+26 |
| | | | | | | | | AVABufferSinkParams are ignored by avfilter_graph_create_filter, therefore the example is misleading. Use av_opt_set_int_list to configure abuffersink directly. Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples/filtering_audio: enable ref counted frames | Michael Niedermayer | 2013-04-17 | 1 | -0/+1 |
| | | | | | | Fixes accessing freed memory Signe-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | lavfi: deprecate aconvert. | Clément Bœsch | 2013-04-11 | 1 | -1/+1 |
| | | | | This filter is not required anymore with aformat. Drop it at next bump. | ||||
* | Merge commit 'bcc94328980e6c56546792ab08b0756abdce310b' | Michael Niedermayer | 2013-04-04 | 1 | -3/+3 |
| | | | | | | | | | | | | * commit 'bcc94328980e6c56546792ab08b0756abdce310b': opt: check the return values of av_get_token for ENOMEM. doc: Fix best_nb_channells typo matroska: pass the lace size to the matroska_parse_rm_audio Conflicts: libavformat/matroskadec.c Merged-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples/resampling_audio: make use of av_samples_alloc_array_and_samples() | Stefano Sabatini | 2013-03-31 | 1 | -16/+4 |
| | | | | Simplify. | ||||
* | examples/filtering_*: constify AVFrame * for print_frame() and ↵ | Stefano Sabatini | 2013-03-14 | 2 | -2/+2 |
| | | | | display_frame() functions | ||||
* | examples/filtering_audio: update to new API | Stefano Sabatini | 2013-03-14 | 1 | -14/+12 |
| | | | | In particular, fix crash. | ||||
* | examples/filtering_video: update to new API | Stefano Sabatini | 2013-03-14 | 1 | -20/+18 |
| | | | | In particular, fix crash. | ||||
* | Remove references to the "ff" variant of buffersink. | Nicolas George | 2013-03-12 | 2 | -2/+2 |
| | |||||
* | Merge commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38' | Michael Niedermayer | 2013-03-12 | 1 | -11/+5 |
| | | | | | | | | | | | | | | * commit '9d3009c6c4b9b6734f07df7c88f6a42ded6cdf38': avconv: print an error on applying options of the wrong type. atomic: Check for __sync_val_compare_and_swap instead of __sync_synchronize output-example: Update to use encode_video2 instead of the now dropped encode_video Conflicts: doc/examples/muxing.c ffmpeg_opt.c libavutil/atomic.h Merged-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | doc: fix examples. | Clément Bœsch | 2013-03-10 | 2 | -2/+2 |
| | |||||
* | examples/muxing: fix memory leak. | Nicolas George | 2013-03-05 | 1 | -9/+2 |
| | | | | | | | | | | | Do not re-call avcodec_get_context_defaults3(), it is already called by avformat_new_stream() and it leaks the codec priv_data that was already allocated. Use avformat_free_context() instead of freeing (not) everything manually. Fix trac ticket #2322. | ||||
* | doc/examples/demuxing: use AVFrame accessor functions | Michael Niedermayer | 2013-03-01 | 1 | -3/+3 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | doc/examples: do not allocate AVFrame directly. | Nicolas George | 2013-02-17 | 2 | -9/+19 |
| | | | | | | | The size of the AVFrame structure is not part of the ABI; it can grow with later versions. Therefore, applications are not supposed to allocate AVFrame directly, they are supposed to use avcodec_alloc_frame() instead. | ||||
* | examples/scaling_video: fix typo | Stefano Sabatini | 2013-02-15 | 1 | -1/+1 |
| | |||||
* | examples/demuxing: free AVPacket after usage | Angelo Haller | 2013-01-15 | 1 | -1/+3 |
| | | | | Fix leak. | ||||
* | doc/examples: fix assignments in if() | Michael Niedermayer | 2013-01-14 | 2 | -2/+2 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples/muxing: improve error messages. | Nicolas George | 2013-01-02 | 1 | -17/+28 |
| | | | | | Illustrate the use of return values, av_err2str and avcodec_get_name. | ||||
* | doc/examples/resampling_audio.c: fix path | Michael Niedermayer | 2012-12-16 | 1 | -1/+1 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples: add resampling_audio.c file | Stefano Sabatini | 2012-12-06 | 2 | -0/+224 |
| | |||||
* | Merge commit '97bf7c03b1338a867da52c159a2afecbdedcfa88' | Michael Niedermayer | 2012-11-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '97bf7c03b1338a867da52c159a2afecbdedcfa88': doc: git-howto: Leave reviewers time to react before pushing patches Include libavutil/channel_layout.h instead of libavutil/audioconvert.h lavu: rename audioconvert.* to channel_layout.* and deprecate audioconvert.h Conflicts: doc/APIchanges doc/examples/decoding_encoding.c doc/git-howto.texi ffmpeg_filter.c libavcodec/flacdec.c libavcodec/imc.c libavcodec/mpegaudiodec.c libavcodec/utils.c libavfilter/asrc_anullsrc.c libavfilter/audio.c libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/buffer.c libavutil/Makefile libavutil/audioconvert.h libavutil/channel_layout.c libavutil/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples/muxing: fix typo: allocated -> allocate | Stefano Sabatini | 2012-11-06 | 1 | -1/+1 |
| | |||||
* | examples/demuxing: fix braino | Stefano Sabatini | 2012-11-06 | 1 | -1/+1 |
| | | | | s/video/audio/ in a log message. | ||||
* | examples/demuxing: dump input information *after* trying to open audio stream | Stefano Sabatini | 2012-11-06 | 1 | -3/+3 |
| | | | | Implement more logical code flow. | ||||
* | examples: fix doxy so they appear on the example page | Michael Niedermayer | 2012-10-26 | 7 | -0/+7 |
| | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples/decoding_encoding: add and use the decode_write_frame function | Stefano Sabatini | 2012-10-24 | 1 | -33/+32 |
| | | | | Allow to factorize code in video_decode_example(), simplify. | ||||
* | examples/decoding_encoding: prefer 'frame' over 'picture' for an AVFrame | Stefano Sabatini | 2012-10-20 | 1 | -19/+19 |
| | | | | Decrease confusion. | ||||
* | examples/scaling_video: remove unnecessary intermediary variable in ↵ | Stefano Sabatini | 2012-10-20 | 1 | -6/+4 |
| | | | | fill_yuv_frame() | ||||
* | examples/decoding_encoding: fix misc typos in the usage text | Stefano Sabatini | 2012-10-20 | 1 | -2/+2 |
| | |||||
* | examples/decoding_encoding: remove misplaced and confusing comment | Stefano Sabatini | 2012-10-20 | 1 | -2/+0 |
| | |||||
* | examples/decoding_encoding: add missing checks on avcodec_alloc_context3() | Stefano Sabatini | 2012-10-20 | 1 | -0/+17 |
| | |||||
* | examples/muxing: merge add_audio_stream() and add_video_stream() | Stefano Sabatini | 2012-10-17 | 1 | -70/+55 |
| | | | | Factorize. | ||||
* | examples/muxing: check on frame | Stefano Sabatini | 2012-10-17 | 1 | -1/+2 |
| | | | | Fix crash in case frame is not defined (e.g. with muxing out.wav). | ||||
* | examples/muxing: fix bogus setting of st->id | Stefano Sabatini | 2012-10-17 | 1 | -3/+2 |
| | |||||
* | examples/muxing: remove misleading comment about pending API change | Stefano Sabatini | 2012-10-17 | 1 | -2/+1 |
| | | | | | The API was never changed since 2003. Replace with a comment about the performed operation. | ||||
* | examples/muxing: remove video_outbuf unused and useless code | Stefano Sabatini | 2012-10-17 | 1 | -15/+1 |
| | |||||
* | examples/muxing: fix video pts | Michael Niedermayer | 2012-10-17 | 1 | -4/+1 |
| | | | | | | Fixes Ticket1801 Based on suggestion from AztecC Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||||
* | examples: add README file with simple compilation instructions | Stefano Sabatini | 2012-10-16 | 1 | -0/+18 |
| | |||||
* | examples/muxing: extend usage notice | Stefano Sabatini | 2012-10-15 | 1 | -1/+3 |
| | |||||
* | examples/muxing: provide more information in case of avcodec_open2 failure | Stefano Sabatini | 2012-10-15 | 1 | -2/+2 |
| | |||||
* | examples/muxing: add missing error checks | Stefano Sabatini | 2012-10-15 | 1 | -2/+11 |
| | |||||
* | examples/muxing: fix case inconsistency in message | Stefano Sabatini | 2012-10-15 | 1 | -1/+1 |
| |