Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ffmpeg K510 coding exception #35

Merged
merged 27 commits into from
May 16, 2022
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
ad4293b
Add coding parameters and advanced functions
gh-sxp May 12, 2022
e803998
tcperror
gh-sxp May 12, 2022
73d897c
Network transmission data error
gh-sxp May 12, 2022
b2f2935
Modify the network card driver cache
gh-sxp May 12, 2022
7d736d3
tcp error
gh-sxp May 13, 2022
b3dcf3c
tcp error
gh-sxp May 13, 2022
9450568
tcp error
gh-sxp May 13, 2022
d14fa2b
Merge remote-tracking branch 'upstream/dev' into dev
gh-sxp May 13, 2022
0590440
add function: ffmpeg push RTMP stream
gh-sxp May 14, 2022
3c4deb1
Modify ffmpeg compilation parameters: remove enable alsa
gh-sxp May 14, 2022
cfa6b12
Add configuration items of RTMP package
gh-sxp May 15, 2022
cc253c3
Add ffmpeg dependency configuration
gh-sxp May 15, 2022
28826cf
rebuild again
gh-sxp May 15, 2022
42bb9eb
Modify rtmpdump download address
gh-sxp May 15, 2022
11467f2
Modify rtmpdump download address
gh-sxp May 15, 2022
251cdac
Modify librtmp package hash verification
gh-sxp May 15, 2022
5455342
modify librtmp hash
gh-sxp May 15, 2022
4d002e1
modify librtmp hash
gh-sxp May 15, 2022
71deb8e
modify librtmp hash
gh-sxp May 15, 2022
3ac7fe5
modify librtmp hash
gh-sxp May 15, 2022
64673af
Modify librtmp decompression name
gh-sxp May 15, 2022
d401aba
modify librtmp config
gh-sxp May 15, 2022
4526df2
modify librtmp patch
gh-sxp May 16, 2022
5e1641f
remove buildroot-2020.02.11 cache dir
wuwentao May 16, 2022
785ba71
Merge remote-tracking branch 'upstream/dev' into dev
gh-sxp May 16, 2022
f02f3d0
Merge branch 'dev' of github.com:gh-sxp/k510_buildroot into dev
gh-sxp May 16, 2022
77f1543
Modify ffmpeg K510 encode: initialization encoding configuration
gh-sxp May 16, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions package/ffmpeg_canaan/0020-buildroot-ffmpeg.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Index: b/libavcodec/libk510_h264.c
===================================================================
--- a/libavcodec/libk510_h264.c
+++ b/libavcodec/libk510_h264.c
@@ -116,6 +116,7 @@ static av_cold int k510_h264_encode_init
{
libk510_h264Context *pCtx = avctx->priv_data;
EncSettings Cfg;
+ memset(&Cfg,0,sizeof(Cfg));

pCtx->fd_share_memory = open(SHARE_MEMORY_DEV,O_RDWR | O_SYNC);
if(pCtx->fd_share_memory < 0)
Index: b/libavcodec/libk510_jpeg.c
===================================================================
--- a/libavcodec/libk510_jpeg.c
+++ b/libavcodec/libk510_jpeg.c
@@ -105,6 +105,7 @@ static av_cold int k510_jpeg_encode_init
{
libk510_jpegContext *pCtx = avctx->priv_data;
EncSettings Cfg;
+ memset(&Cfg,0,sizeof(Cfg));

pCtx->fd_share_memory = open(SHARE_MEMORY_DEV,O_RDWR | O_SYNC);
if(pCtx->fd_share_memory < 0)