Atsushi Watanabe
15951b02b6
Support codec specific parameters
2020-03-07 16:51:17 -05:00
Atsushi Watanabe
cd1be2ca80
Fix race condition in codecs
...
CGO based codecs caused segmentation fault due to the race condition
of Close() and Read().
2020-02-19 19:55:21 -08:00
Atsushi Watanabe
64fe0e1759
Fix non-standard C types
...
ulong and u_char are old name and are not available on musl libc.
2020-02-17 17:37:15 -08:00
Atsushi Watanabe
29d5a80f4f
Reduce realloc in vpx codec
2020-02-17 14:55:49 +09:00
Atsushi Watanabe
ad686605e1
Support size variable encoding of vpx
2020-02-17 14:51:24 +09:00
Atsushi Watanabe
030acd8262
Fix cgo pointer usage
...
Store Go pointers in C memory by C code and unref before return.
2020-02-15 19:06:25 -08:00
Atsushi Watanabe
ad62a6a461
Fix vpx frame timestamp
...
Set frame timestamp by the system time to make encoder's bitrate
calcuation correct for variable framerate.
2020-02-13 21:40:45 -08:00
Atsushi Watanabe
00bcadc238
Add codec property
...
Add codec property, which stores general encoding parameters,
to MediaTrackConstraints.
2020-02-10 18:45:34 -08:00
Lukas Herman
152f15526b
Add ToI420 converter
...
Moved I420 converter from vpx.go, converted video.Reader in openh264.go
and created ToI420 to convert a video.Reader to a new video.Reader that
will emit images in I420 format.
2020-02-09 08:02:15 -08:00
Atsushi Watanabe
303237d2ad
Fix vpx codec error handling
2020-02-09 07:01:49 -08:00
Atsushi Watanabe
9453292b63
Convert pixel format on vpx encode
...
I444, I422 to I420
2020-02-08 22:30:21 -08:00
Atsushi Watanabe
b0f5bfdc0d
Implement vpx (VP8 and VP9) encoder
...
Requires libvpx.
2020-02-08 22:30:21 -08:00