source: src/io/source_avcodec.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @cc3f129   6 years Paul Brossier Merge branch 'feature/wrapavcodec' feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @138cb1f   6 years Paul Brossier [io] emit a warning if avutil < 53 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @de9178e   6 years Paul Brossier [io] wrap long lines in source avcodec feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @d62fb90   6 years Paul Brossier src/io/source_avcodec.c: avoid deprecated call for ffmpeg >= 4.0 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @58fe197   6 years Paul Brossier src/io/source_avcodec.c: make sure libavutil > 52 before checking … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @265fe9a   6 years Paul Brossier src/io/source_avcodec.c: give up reading file if number of channel … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @a81b12a   6 years Paul Brossier src/io/source_avcodec.c: give up if resampling context failed opening … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @5690daf   7 years jcowgill Fix build with FFmpeg 4.0 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @c3e98d7   7 years Paul Brossier src/io/source_avcodec.c: improve error message, prevent un-opened bracket feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @9956027   8 years Paul Brossier src/io/source_avcodec.c: avoid unused variable feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
(edit) @1a6f2de   8 years Paul Brossier src/io/source_avcodec.c: more fixes for declaration before assignment feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @808c8525   8 years Paul Brossier src/io/source_avcodec.c: more fixes for declaration before assignment feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @5bd9a2b   8 years Paul Brossier src/io/source_avcodec.c: more fixes for declaration before assignment feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @de23e58   8 years Paul Brossier src/io/source_avcodec.c: more fixes to declare before assigning feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @50f39f5   8 years Paul Brossier src/io/source_avcodec.c: fix for windows vc9 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @8250214   8 years Paul Brossier src/io/source_avcodec.c: avoid double free with libavformat56 Note: … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @3e944fe4   8 years Paul Brossier src/io/source_avcodec.c: hide EAGAIN warning, skip to next frame … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @91fa88d   8 years Paul Brossier src/io/source_avcodec.c: use avcodec_free_context for newer ffmpeg feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @bdf7caf   8 years Paul Brossier src/io/source_avcodec.c: always mark eof on error feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @ba67cb6   8 years Paul Brossier src/io/source_avcodec.c: add libswresample feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @4d44531   8 years Paul Brossier src/io/source_avcodec.c: make sure seek position is >= 0 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @41b4421   8 years Paul Brossier src/io/source_avcodec.c: avoid seeking in closed file feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampler
(edit) @b6bb265   8 years Paul Brossier src/io/source_avcodec.c: make sure s->path is set to null feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @33d0242   8 years Paul Brossier src/aubio_priv.h: move include config.h here feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @1504b7c   8 years Paul Brossier src/io/source_avcodec.c: fix for old libavcodec54 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @dcde285   8 years Paul Brossier src/io/source_avcodec.c: includes first feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @a2d628b   8 years Paul Brossier src/io/source_avcodec.c: add backward compatibility for libavcodec55 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @261836d   8 years Paul Brossier src/io/source_avcodec.c: keep a reference to packet to remove it when … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @41ebc91   8 years Paul Brossier src/io/source_avcodec.c: call avformat_free_context after … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @8b210a9   8 years Paul Brossier src/io/source_avcodec.c: avoid function calls before declarations feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @e0ad269   8 years Paul Brossier src/io/source_avcodec.c: improve error messages feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @2b3c438   8 years Paul Brossier src/io/source_avcodec.c: avoid deprecation warnings with ffmpeg 3.2 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @877b3b8   8 years Paul Brossier src/io/source_avcodec.c: use aubio samples feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @7cc80b6   8 years Paul Brossier src/io/source_avcodec.c: replace with new context before closing old one feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @2f89ef4   8 years Paul Brossier src/io/source_avcodec.c: use AV_SAMPLE_FMT_DBL when compiling with … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @8d41c1d   8 years Paul Brossier src/io/source_avcodec.c: improve error message feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @eacc55c   8 years Paul Brossier src/io/source_avcodec.c: fix missing samples in eof block feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5sampleryinfft+
(edit) @6769586   9 years Paul Brossier src/io/source_avcodec.c: check if the uri is a network stream using … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @9ac77ac   9 years Paul Brossier src/io/source_avcodec.c: really fix #53 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @a9c33a2   9 years Paul Brossier src/io/source_avcodec.c: check if we still need max_analyze_duration2 … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @2d071ad   9 years Paul Brossier src/io/source_avcodec.h: add _get_duration feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @d2be104   9 years Paul Brossier src/io/: also copy null ending char feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @26a6af7   9 years Paul Brossier src/io/source_{avcodec,sndfile}.c: avoid modifying input param feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @b643a33   9 years Paul Brossier src/io/*.c: take a copy of const char* path feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @ae5d58a   9 years Paul Brossier src/io/*.{c,h}: added const qualifiers to unmodified pointers feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @2a32644   9 years Paul Brossier src/io/source_avcodec.c: avoid deprecation warning, detect if we use … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @cd4c997   11 years Paul Brossier src/io/source_avcodec.c: update to libav10, libavcodec 55.34.1 feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @491e6ea   11 years Paul Brossier src/io/: add missing error strings prefixes feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @422452b   11 years Paul Brossier src/io/source*: add _close function feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @029bf4e   11 years Paul Brossier src/: build with -Wmissing-declarations feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @5c6acbb2   11 years Paul Brossier src/io/source_avcodec.c: no errors if not sample given, may happen in … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @50bb325   11 years Paul Brossier src/io/source_avcodec.c: add _seek feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @eeda761   11 years Paul Brossier src/io/source_avcodec.c: remove useless include Signed-off-by: Paul … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @549928e   11 years Paul Brossier wscript: make sure all libav libraries are installed to build … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @018e511   11 years Paul Brossier src/io/source_{avcodec,sndfile}.c: add and improve warnings about … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @251da3b   11 years Paul Brossier src/io/source_avcodec.c: remove duplicated line feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @61ecd1a   11 years Paul Brossier src/io/source_avcodec.c: rename hack to _reset_resampler, move up for … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @fcd963a   11 years Paul Brossier src/io/source_avcodec.c: add _multi, building AVAudioResampleContext … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @b294b3e   11 years Paul Brossier src/io/source_avcodec.c: check new_ arguments are valid feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @0af9003   11 years Paul Brossier src/io/source_avcodec.c: simplify error parsing, compute line size feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @1fe3ac2   11 years Paul Brossier src/io/source_avcodec.c: wrap lines, remove old comments feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @3d5cddf   11 years Paul Brossier src/io/source_avcodec.c: let avresample do the conversion to float feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @0044b43   11 years Paul Brossier src/io/source_avcodec.c: out_samples is an int feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @eadd8d5   11 years Paul Brossier src/io/source_avcodec.c: rewrite _do, add eof, remove debug output feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @7760b40   11 years Paul Brossier src/io/source_avcodec.c: only read packets from selected stream, get … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @f3b93c6   11 years Paul Brossier src/io/source_avcodec.c: do not reuse AVPacket for now, avoiding … feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @d75e2d5   11 years Paul Brossier src/io/source_avcodec.c: simplify, improve comments feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @6abb4de   11 years Paul Brossier src/io/source_avcodec.c: increase max_analyze_duration feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @d3b9fe4   11 years Paul Brossier src/io/source_avcodec.c: tidying up feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(add) @ba0ba10   11 years Paul Brossier src/io/source_avcodec.c: added first draft feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Note: See TracRevisionLog for help on using the revision log.