Peter Keresztes Schmidt
|
e09fa1bebf
|
Remove includes of <cinttypes>
Instead of including <cinttypes> directly, zm_define.h should be used
to get the typedef'ed types as well.
|
2021-02-02 21:37:26 +01:00 |
|
Isaac Connor
|
9ef9fe81fa
|
Don't log error when flushing queues
|
2021-01-30 14:05:19 -05:00 |
|
Isaac Connor
|
95d2b1518e
|
Don't treat send_frame null as errors. We are ni flushing mode
|
2021-01-29 17:07:58 -05:00 |
|
Isaac Connor
|
d16a7b98eb
|
fix send_packet_receive_frame. Can't just resend the same packet until we get a frame!
|
2021-01-28 10:04:02 -05:00 |
|
Isaac Connor
|
d64745a5da
|
Add debug in zm_send_packet_receive_frame
|
2021-01-28 09:08:33 -05:00 |
|
Isaac Connor
|
08165c06df
|
Add audio details to zm_dump_codecpar
|
2021-01-22 19:24:15 -05:00 |
|
Isaac Connor
|
430d64ba67
|
create fix_deprecated_pix_fmt function to adjust deprecated pixfmts
|
2021-01-15 17:01:59 -05:00 |
|
Isaac Connor
|
6c696f4025
|
Return avcodec errors codes instead of 0/1
|
2020-12-30 21:22:55 -05:00 |
|
Isaac Connor
|
a39a656373
|
Merge branch 'master' into zma_to_thread
|
2020-09-29 11:02:40 -04:00 |
|
Peter Keresztes Schmidt
|
8f980a1168
|
Convert NULL/0 to nullptr
The 0 -> nullptr changes should definitely improve readability.
|
2020-08-26 22:03:40 +02:00 |
|
Andrew Bauer
|
a0bc60ceda
|
change not enabling ffmpeg msg to debug
|
2020-08-18 10:34:07 -05:00 |
|
Isaac Connor
|
869860bb26
|
Merge branch 'master' into zma_to_thread
|
2020-07-21 17:49:39 -04:00 |
|
Isaac Connor
|
7575afc8d5
|
Merge branch 'master' into zma_to_thread
|
2020-07-21 17:38:32 -04:00 |
|
Isaac Connor
|
9f73a55087
|
Make params to is_video_* a const because we don
't alter it
|
2020-05-07 13:39:32 -04:00 |
|
Isaac Connor
|
4ff341a0f5
|
Merge branch 'master' into zma_to_thread
|
2020-05-02 18:03:42 -04:00 |
|
Isaac Connor
|
7a7f366eb1
|
Change semantics of zm_send_packetreceive_frame to return the # of bytes consumed. This is inline with how to old deprecated api used to work. The new api consumes the packet, so just return packet size.
|
2020-04-24 19:05:17 -04:00 |
|
Isaac Connor
|
bbcd1846e7
|
Fix hang caused by using %d instead of PRIu64 in formatting string
|
2019-12-29 12:44:30 -05:00 |
|
Andrew Bauer
|
00cedc92d2
|
fix typo
|
2019-12-28 08:37:16 -06:00 |
|
Isaac Connor
|
09fcbad666
|
Merge branch 'master' into zma_to_thread
|
2019-11-30 14:59:39 -05:00 |
|
Isaac Connor
|
a0f021ee12
|
Handle the case of flushing resampler by sending NULL
|
2019-10-17 17:37:36 -04:00 |
|
Isaac Connor
|
d03de98317
|
remove carriage returns in ffmpeg log lines
|
2019-10-16 09:00:39 -04:00 |
|
Isaac Connor
|
6925a75831
|
codec not ready is not an error. Make it a debug
|
2019-09-15 18:01:38 -04:00 |
|
Isaac Connor
|
306bda86c2
|
fix sws_get_delay
|
2019-09-13 21:28:43 -04:00 |
|
Isaac Connor
|
eafa0da06f
|
fixes, handle when audio codec isn't open in ffmpeg_camera
|
2019-09-13 16:06:25 -04:00 |
|
Isaac Connor
|
3a5d1ff3ca
|
Hack in missing bits for ubuntu trusty/libav/avresample
|
2019-09-13 15:51:35 -04:00 |
|
Isaac Connor
|
5ddd20ed1a
|
refactor code. Handle resample buffering during encoding instead of when closing file
|
2019-09-13 14:34:53 -04:00 |
|
Isaac Connor
|
701aa8d924
|
add flushing the resample buffer to get the remaining samples encoded
|
2019-09-13 10:55:30 -04:00 |
|
Isaac Connor
|
8fb55cdbff
|
Add codec name to zm_dump_codec and zm_dump_codecpar add new functions zm_receive_packet
|
2019-09-12 16:51:33 -04:00 |
|
Isaac Connor
|
c80ef0e0ab
|
spacing
|
2019-08-28 12:20:03 -04:00 |
|
Isaac Connor
|
396be10d6f
|
Merge branch 'master' into zma_to_thread
|
2019-08-22 12:57:00 -04:00 |
|
Isaac Connor
|
01e988ffba
|
remove some redundant debugs. Improve some messages
|
2019-08-20 14:09:47 -04:00 |
|
Isaac Connor
|
0cdb43e165
|
make dump_video_frame a define instead of a function, fix linesize
|
2019-08-10 14:45:45 -04:00 |
|
Pliable Pixels
|
2b7610a5ac
|
fixed ffmpeg log association to zm log levels (#2664)
|
2019-07-17 20:37:27 -04:00 |
|
Isaac Connor
|
288f2f3e8f
|
Convert zm_dump_frame from a function to a define, this way we get line #'s from where we call zm_dump_frame instead of from the line in zm_ffmpeg where the function was.
|
2019-07-11 17:56:22 -04:00 |
|
Isaac Connor
|
0f35d86efb
|
implement zm_send_frame which sends a frame and receives a packet
|
2019-07-07 08:56:39 -04:00 |
|
Isaac Connor
|
0a9ae1d4f9
|
Include pixdesc.h to get av_get_pix_fmt_name(AVPixelFormat)
|
2019-06-11 13:55:57 -04:00 |
|
Isaac Connor
|
6a87d9a875
|
change zm_receive_frame to return AVERROR instead of boolean
|
2019-06-25 15:32:47 -04:00 |
|
Isaac Connor
|
2cbcaeebbc
|
clean out old hwdecode stuff. refactor common code out
|
2019-06-25 14:11:59 -04:00 |
|
Isaac Connor
|
246b4cb9d1
|
working hwdecode
|
2019-06-24 17:22:59 -04:00 |
|
Isaac Connor
|
aec8311deb
|
implement sorting incoming packets in the packetqueue
|
2019-05-03 13:48:05 -04:00 |
|
Isaac Connor
|
077ad75516
|
Merge branch 'storageareas' into origin/zma_to_thread
|
2019-04-25 12:41:48 -04:00 |
|
Isaac Connor
|
e81c216b4a
|
add more fields in dump_codec.
|
2019-04-08 13:51:13 -04:00 |
|
Isaac Connor
|
9ae6acf532
|
Fix for opening audio_in_codec
|
2019-04-04 17:20:21 -04:00 |
|
Isaac Connor
|
7955a1c9b2
|
fix version check to get rid of deprecated av_register_all
|
2019-04-04 12:56:00 -04:00 |
|
Isaac Connor
|
12631abd46
|
when copying a packet (for old ffmpeg) copy pts, dts and duration too
|
2019-04-03 16:51:27 -04:00 |
|
Isaac Connor
|
2e7fd7c9a2
|
handle really old ffmpeg not having pkt_duration
|
2019-04-03 14:55:29 -04:00 |
|
Isaac Connor
|
f78e95f5d4
|
add is_video_context and is_audio_context and use them in zm_revceive_frame to add audio decoding support
|
2019-04-03 13:21:52 -04:00 |
|
Isaac Connor
|
c9985107ee
|
Add a deinit function to handle avformat_network_deinit
|
2019-04-01 13:38:13 -04:00 |
|
Isaac Connor
|
05976b3227
|
Add pts to zm_dump_frame
|
2019-03-20 16:06:31 -04:00 |
|
Isaac Connor
|
6c8eac1ac8
|
Merge branch 'storageareas' into h265
|
2019-03-06 11:10:01 -05:00 |
|