Commit graph

42 commits

Author SHA1 Message Date
Adrian Shum
a2eabf0b6e
build: imagor 1.5.9, libvips 8.17.0, vipsgen 1.1.1 (#98)
* build: imagor 1.5.9, libvips 8.17.0, vipsgen 1.1.1

* build: imagor 1.5.9, libvips 8.17.0, vipsgen 1.1.1

* build tweak

* test: reset golden

* test: update golden files

* fix compiler warnings
2025-06-11 23:01:14 +08:00
Adrian Shum
2450ec39bd
build: imagor v1.5.0, go 1.24.3 (#95)
* build: imagor v1.5.0, go 1.24.3

* build: imagor v1.5.0, go 1.24.3

* build: imagor v1.5.0, go 1.24.3

* build: imagor v1.5.0, go 1.24.3

* build: imagor v1.5.0, go 1.24.3

* build: imagor v1.5.0, go 1.24.3

* test: update golden files
2025-05-25 14:06:19 +08:00
Adrian Shum
c8024af62f
fix(ffmpeg): fix SIGSEGV on seek duration for invalid coded (#70)
* fix(ffmpeg): fix SIGSEGV on seek duration for invalid coded

* test: update golden files
2023-07-26 21:46:57 +08:00
Adrian Shum
2cbefdee7c docs: improve documentations 2022-12-09 15:55:36 +08:00
Adrian Shum
9ccfbe5a08 fix(ffmpeg): 0s frame handling 2022-10-24 16:28:09 +08:00
Adrian Shum
77554f272f
fix(ffmpeg): 0s frame handling
* handle 0 duration

* test: update golden files
2022-10-24 16:07:51 +08:00
Adrian Shum
38b1b200ff
feat: seek() filter and ffmpeg.SeekPosition, ffmpeg.SeekDuration
* feat: seek() filter and ffmpeg.SeekPosition, ffmpeg.SeekDuration
2022-10-23 14:47:09 +08:00
Adrian Shum
654251e693
refactor(ffmpeg): use r_frame_rate for FPS (#41)
* refactor(ffmepg): use r_frame_rate for FPS

* reset golden

* fix

* test: update golden files
2022-10-22 11:32:09 +08:00
Adrian Shum
fe92e79efc feat(ffmpeg): select frame by duration and float position 2022-10-22 09:53:42 +08:00
Adrian Shum
3b02ab7458 feat(ffmpeg): select frame by duration and float position 2022-10-22 02:46:19 +08:00
Adrian Shum
7c18dcda7a
feat(ffmpeg): select frame by duration and float position (#40)
* seek duration private

* feat(ffmpeg): select frame by duration and float position
2022-10-22 02:14:49 +08:00
Adrian Shum
d6b3ec4bdc
feat(ffmpeg): seek and select frame by duration and float position (#39)
* feat(ffmpeg): seek by duration

* remove selected_frame

* test: update golden files

* remove selected_frame

* feat(ffmpeg): seek by duration

* feat(ffmpeg): seek by duration

* feat(ffmpeg): seek by duration

* feat(ffmpeg): seek by duration

* feat(ffmpeg): seek by duration

* test: update golden files

* feat(ffmpeg): seek by duration

* test: update golden files
2022-10-21 23:19:04 +08:00
Adrian Shum
6f9a3d085a
refactor(ffmpeg): selected_frame and frame(n) starts from 1
* refactor(ffmpeg): selected_frame and frame(n) starts from 1

* test: update golden files
2022-10-21 10:42:51 +08:00
Adrian Shum
33c1d38a21 refactor(ffmpeg): handles EOF with buf exists 2022-10-18 12:38:18 +08:00
Adrian Shum
12f9a13c06 refactor: cleanup unused code 2022-10-16 12:44:28 +08:00
Adrian Shum
941ceaed31 refactor: cleanup unused functions 2022-10-16 12:34:57 +08:00
Adrian Shum
7367cc4750
refactor(ffmpeg): cleanup callbacks and increased coverage 2022-10-15 14:07:55 +08:00
Adrian Shum
5ff3407305
refactor(ffmpeg): use float for FPS
* refactor(ffmpeg): use float for FPS

* test: update golden files
2022-10-14 14:26:47 +08:00
Adrian Shum
b2539b58e6
test(ffmpeg): mp3 cover art tests
* test(ffmpeg): no codec mp3 tests

* test: update golden files
2022-10-13 22:24:06 +08:00
Adrian Shum
66b74a271f
fix(ffmpeg): no codec handling 2022-10-13 20:56:43 +08:00
Adrian Shum
17b50dea3c
refactor(ffmpeg): skip histogram if frame selected
* use availableIndex

* refactor(ffmpeg): skip histogram if frame selected
2022-10-13 20:23:15 +08:00
Adrian Shum
da15744b3d
refactor(ffmpeg): process on select frame
* refactor(ffmpeg): process on select frame

* reset golden

* test: update golden files
2022-10-13 18:26:14 +08:00
Adrian Shum
2ce9e97d3c
feat(imagvideo): max_frames(n) filter
* feat: ffmpeg max_frames option in process_frames

* test: update golden files
2022-10-13 18:04:00 +08:00
Adrian Shum
f1b58fd8da
test: ffmpeg select frame and frame(n) filter 2022-10-13 17:29:24 +08:00
Adrian Shum
a4f23c6560
feat: ffmpeg select specific frame and frame(n) filter
* select frame after process

* restrict frame selected

* selected frame meta

* test: update golden files

* available index
2022-10-13 16:52:59 +08:00
Adrian Shum
4d71837fb8
refactor(ffmpeg): refactor process frames
* refactor best frame process

* refactor best frame process, remove alpha

* move thumb context to export

* process_frames() filter

* test: update golden files

* process_frames() filter

* test: update golden files

* tweak fps

* test: update golden files

* cleanup
2022-10-13 15:23:23 +08:00
Adrian Shum
c86b39430d
feat(ffmpeg): add fps metadata (#26)
* refactor ffmpeg

* cleanup

* feat(ffmpeg): add fps metadata

* reset golden

* test: update golden files
2022-10-13 11:08:18 +08:00
Adrian Shum
f103bd4d01
refactor: duration metadata in millisecond (#25)
* refactor: duration metadata in millisecond

* test: update golden files
2022-10-12 20:50:16 +08:00
Adrian Shum
2101be5158 refactor: imagor seek stream implementation 2022-10-11 17:04:45 +08:00
Adrian Shum
41133360fd
fix(ffmpeg): ffmpeg reader callback buffer fix (#16)
* fix(ffmpeg): ffmpeg reader callback buffer fix
2022-10-07 15:10:32 +08:00
Adrian Shum
69b69d342c
refactor(ffmpeg): refactor pointer and read stream 2022-09-30 12:32:39 +08:00
Adrian Shum
035cf78b96
test(imagorvideo): fallback image tests 2022-09-16 21:56:09 +08:00
Adrian Shum
d9c697a0b2
test: ffmpeg processor tests 2022-09-16 14:21:56 +08:00
Adrian Shum
bb48a1e717
test: ffmpeg meta and export golden tests 2022-09-16 01:37:55 +08:00
Adrian Shum
56847d375d test: ffmpeg meta and export golden tests 2022-09-15 23:46:31 +08:00
Adrian Shum
33b76d536d test: ffmpeg meta and export golden tests 2022-09-15 23:43:18 +08:00
Adrian Shum
ce911eaf8a
feat(ffmpeg): speed optimization and export memory buffer 2022-09-13 21:15:16 +08:00
Adrian Shum
01ad70e46c
fix(ffmpeg): free memory on close 2022-09-11 15:37:25 +08:00
Adrian Shum
57541418b9
feat(ffmpeg): logging callback handler 2022-09-11 11:04:08 +08:00
Adrian Shum
f11d2b351c fix(ffmpeg): AVSEEK_SIZE callback 2022-09-09 23:21:55 +08:00
Adrian Shum
1493db09b2 fix(ffmpeg): copy C allocated buffer to Go memory 2022-09-09 17:52:36 +08:00
Adrian Shum
2451fa1b5a feat: imagorvideo init 2022-09-08 20:44:10 +08:00