source: src/io/source_avcodec.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(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   6 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   7 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   8 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   10 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   10 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   10 years Paul Brossier src/io/source*: add _close function feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @029bf4e   10 years Paul Brossier src/: build with -Wmissing-declarations feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
(edit) @5c6acbb2   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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   10 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.