Commit Graph

3741 Commits

Author SHA1 Message Date
Martin Pulec
1a85b030d5 main: name video capture thread 2019-10-11 10:21:30 +02:00
Martin Pulec
b46178da0a Finalized gpujpeg module rename 2019-10-11 10:21:10 +02:00
Martin Pulec
a495ac2dc7 Makefile: target for cscope 2019-10-10 10:08:10 +02:00
Martin Pulec
0edbb9d712 RTP video dec.: query dec corr propert after reconf
Query decoder corrupted frames acceptance property after reconfiguration
because the ability may differ according to the properties (namely codec
for libavcodec).
2019-10-10 09:20:39 +02:00
Martin Pulec
2b80be1071 Libavcodec: suppress warnings 2019-10-10 09:20:39 +02:00
Martin Pulec
55232b50ea RTP PTs: added ref to RFC in comment 2019-10-10 09:20:39 +02:00
Martin Pulec
c8233ece1c GPUJPEG: added optional key/val setting
+ use formatting macros
2019-10-10 09:20:39 +02:00
Martin Pulec
eb551e4262 color_out: added some macros for rang.hpp
Added BOLD and RED macro to make the code more readable.
2019-10-10 09:20:38 +02:00
Martin Pulec
22c88e049d GPUJPEG: updates
- rename UYVY option to YUV
- extended help
- use MOD_NAME instead of [JPEG]
2019-10-10 09:20:38 +02:00
Martin Pulec
f9c03e7ac3 Lib: macOS compile fix 2019-10-10 09:20:11 +02:00
Martin Pulec
99f4ca6377 Lavd: fixed a NULL-pointer dereference 2019-10-09 13:19:28 +02:00
Martin Pulec
47a8a08a47 Rename JPEG compress to GPUJPEG to users 2019-10-08 17:01:08 +02:00
Martin Pulec
aa33fc5f9c Lib: added REGISTER_HIDDEN_MODULE 2019-10-08 15:35:16 +02:00
Martin Pulec
4ca93100cf DeckLink audio play.: updates
- print explicitly in probe that the module is audio only (+warning when
  used)
- pretty print help
- minor code cleanup
2019-10-08 15:35:15 +02:00
Martin Pulec
545f2241b8 Audio: fixed inverted -r/-s help meaning 2019-10-08 15:35:15 +02:00
Martin Pulec
ad6ea541e6 Audio codec: improved help
+ mention that the bitrate is per channel
2019-10-08 15:35:15 +02:00
Martin Pulec
bc25e1bc0e Configure: do not depend on pkg-config
GPUJPEG cmake doesn't currently install the pkg-config file.
2019-10-08 15:35:15 +02:00
Martin Pulec
7fcaa2d2ea Bump to new GPUJPEG 2019-10-08 15:35:12 +02:00
Martin Pulec
9f507bfb3c Configure: rename jpeg to gpujpeg
Using jpeg for gpujpeg doesn't make much sense now so fixed this rather
legacy behavior.
2019-10-08 14:21:28 +02:00
Martin Pulec
72f0f59582 Libavcodec: fixed gbrp12le compat
The condition was reversed.

+ compile the conversions only if used (i. e. when the pixfmt is
  supported by FFMPEG)
2019-10-07 18:28:54 +02:00
Martin Pulec
9e9e77e135 Libavcodec common: do not export API of convs
Mark conversion functions as static and remove from header.
2019-10-07 18:28:51 +02:00
Milos Liska
a7381ef339 Initial Bash and Zsh completion definitions 2019-10-04 16:47:57 +02:00
Martin Pulec
b8bed99fc9 Text: added options to specify font size and pos 2019-10-03 17:08:54 +02:00
Martin Pulec
ea88a1b65d Fixed few warnings 2019-10-03 17:01:39 +02:00
Martin Pulec
294041f60b Libavcodec common: don't include conv list in header
Do not include conversion lists in header - it adds dependency on the
libavcodec_common.c file to every module that (transitively) includes
the header (eg. GL) which results in undefined references with modular
build.
2019-10-03 16:57:54 +02:00
Martin Pulec
aaa00dbe8c Moved replace_all() to utils 2019-10-03 14:43:52 +02:00
Martin Pulec
99be68580b Lavd: accept corrupted frames for "h264" decoder
This provides better error resiliency (less corruption).

+ option to enable manually also for other decoders
2019-10-02 17:39:01 +02:00
Martin Pulec
5117570b34 Lavc: be more verbose when no pixfmt conversion found 2019-10-02 09:50:41 +02:00
Martin Pulec
c691bd2858 Text vo pp: text properties proportional to size 2019-09-27 19:18:11 +02:00
Martin Pulec
737e9df850 Pass incomplete FEC decoded frame
Allow further processing of not entirely corrected video frame (eg. when
uncompressed or when decoder is able to handle broken streams).
2019-09-27 15:29:59 +02:00
Martin Pulec
f705331806 RTP video dec.: zero buffer where missing data
Zero parts of the framebuffer for compressed streams. This should be
safer for decoder when trying to decompress an incomplete frame.
2019-09-27 13:18:58 +02:00
Martin Pulec
9c7b18f117 Traffic shaper: use adapive capped bitrate
Use adaptive capped bitrate if a limit bitrate value is specified.
Previously packets were emitted exactly at the specified bitrate which
is now an optional. Now, by default, the shapper shapes equally to
a frame time or capped bitrate (if the packet rate would be lower).
2019-09-27 12:10:12 +02:00
Martin Pulec
137a7013ba Traffic shaper: parsing to function + help 2019-09-26 18:37:50 +02:00
Martin Pulec
cff978a082 Do not convert AV_PIX_FMT_* to AV_PIX_FMT_NONE
This partially corrects commit f83230c2 which converts the pix format to
0 if not found (old FFMPEG) whereas on some places non-0 is expected
(see previous commit).
2019-09-26 18:37:28 +02:00
Martin Pulec
d0c288e850 Lavc: do not dereference NULL pointer for AV_CODEC_ID_NONE 2019-09-26 18:37:20 +02:00
Martin Pulec
06e3f6b708 Bump to new GPUJPEG 2019-09-25 11:06:56 +02:00
Martin Pulec
bd2b4178aa AJA disp.: check result value of some more calls 2019-09-25 11:05:57 +02:00
Martin Pulec
f83230c208 Libavcodec common: compat macros improvments
* reodered
* correctly found out some exact API numbers
* use lavu instead of lavc for some macros that are for lavu functions'
  compatibility
2019-09-25 08:49:07 +02:00
Martin Pulec
8a6674d516 Libavcodec common: fixed version check 2019-09-25 08:36:13 +02:00
Martin Pulec
592d27a3d8 Bump to new GPUJPEG 2019-09-25 08:33:09 +02:00
Martin Pulec
d0787b7b27 Removed build_gpujpeg.sh 2019-09-25 08:33:08 +02:00
Martin Pulec
7d23049906 Print muted status in words 2019-09-25 08:33:08 +02:00
Martin Pulec
08350f9d04 AJA disp.: output RGB SDI for RGB signal
* added options to force either YCbCr or RGB output
2019-09-24 14:09:23 +02:00
Martin Pulec
921e92c770 AJA cap.: NTV2 bug workaround 2019-09-24 10:30:07 +02:00
Martin Pulec
843c9cc2ae AJA cap.: option to specify YUV on input
Change behavior slightly - derive input signal color space from color
option. This can be overriden by setting RGB or YUV explicitly.
2019-09-24 08:12:15 +02:00
Martin Pulec
4538299eda AJA cap.: option to capture RGB over SDI 2019-09-23 16:55:16 +02:00
Martin Pulec
de00f170eb Added r10k_to_bgr0 2019-09-23 14:23:31 +02:00
Martin Pulec
cebcde7a63 JACK transport fixes 2019-09-23 10:06:26 +02:00
Martin Pulec
c49a137301 Lavc: allow backslash preceeding colon
Allow backslash preceeding colons where needed (eg. for x264opts, that
may contain colons).
2019-09-20 16:54:09 +02:00
Martin Pulec
41150ef2bb Lavc: parse_fmt - outdent a block 2019-09-20 16:42:09 +02:00