Commit Graph

61 Commits

Author SHA1 Message Date
openharmony_sig_ci
a323c779aa
!1 Add README.OpenSource and OAT.xml
Merge pull request !1 from chenguodong/master
2022-01-10 14:15:47 +00:00
Chen Guodong
9c4ca76e94
add README.OpenSource and OAT.xml
Signed-off-by: Chen Guodong <chenguodong@huawei.com>
2022-01-10 14:36:09 +08:00
lieff
4575afb4f6 fix typos 2021-11-04 18:31:43 +03:00
Paweł Mrocheń
72cba3a9ac Fix compilation under Visual Studio
Change fragment that does not compile under Visual Studio
2021-06-03 13:47:38 +03:00
Leo Anderson
2666e56c61 fix access unit delimiter handling 2021-04-26 12:30:02 +03:00
Paweł Mrocheń
6184e61cd6 Add tag to mp4_h26x_writer_t
A change that allows forward declaration of mp4_h26x_writer_t struct in C++
2020-08-06 15:32:45 +03:00
Aurélien Bouilland
1d2ed0fee9 add optional TFDT support 2020-06-28 13:17:53 +03:00
lieff
efbe893d8c basic audio decode support 2020-03-30 01:11:02 +03:00
lieff
c707b884d2 fix compilation as C code 2020-03-05 22:26:46 +03:00
Lion
a9b7be69a9
Merge pull request #19 from jhurliman/patch-1
Replace search for zero byte with memchr()
2020-03-05 21:57:39 +03:00
John Hurliman
e5f234c1fc
Replace search for zero byte with memchr()
While profiling minimp4 during MP4 encoding, find_start_code showed up as the most expensive function. Specifically, the first while loop searching for an initial zero byte. This is effectively what memchr() does, and glibc includes an optimized version of this method. Switching to memchr() showed a performance improvement in this method.
2020-03-05 10:22:57 -08:00
lieff
3d259a1c08 fix mp4_h26x_write_nal return values 2020-02-23 19:05:29 +03:00
lieff
8bbd1ca2bb Handle access unit delimiter NALu.
Closes https://github.com/lieff/minimp4/issues/16
2020-02-22 12:40:56 +03:00
lieff
14d452e4fa fix mp4f with multiple tracks 2020-02-17 22:09:31 +03:00
lieff
9d3fca973a fix typo MINIMP4_MAX_SPS->MINIMP4_MAX_PPS 2020-01-09 16:49:39 +03:00
lieff
8ba0c2d1fe Add const qualifier for data in MP4E_put_sample.
Closes https://github.com/lieff/minimp4/issues/9
2020-01-05 19:11:04 +03:00
lieff
ba98ad933e hevc demux bits & small corrections 2020-01-05 19:08:13 +03:00
lieff
aa66864e35 add modes description 2019-12-16 11:28:51 +03:00
lieff
e829bab439 Basic HEVC/hvcC box support,
some test files now plays.

Closes https://github.com/lieff/minimp4/issues/6
Closes https://github.com/lieff/minimp4/issues/4
2019-12-15 13:00:27 +03:00
lieff
d277356d99 add basic demux test 2019-12-14 02:03:41 +03:00
lieff
f7674be354 fix muxer test mem leak. 2019-12-13 13:51:35 +03:00
lieff
cfccae0a3d save demuxed sps/pps 2019-12-13 02:29:02 +03:00
lieff
e8e261f157 add rust bindings link 2019-12-13 01:04:38 +03:00
lieff
6cbbb85057 add basic demux sample,
read callback support
2019-12-13 00:50:23 +03:00
lieff
9e940e2be0 fix build with MINIMP4_TRANSCODE_SPS_ID=0 2019-12-12 17:53:01 +03:00
lieff
5499bb6e58 improve error handling 2019-12-12 17:38:59 +03:00
lieff
934d26c5c4 fix possible mem leaks 2019-12-12 15:56:36 +03:00
lieff
c7c15c8270 add fragmentation mode test 2019-12-12 15:35:22 +03:00
lieff
494faecde1 add sequential mode test 2019-12-12 15:24:28 +03:00
lieff
a7632d08e8 add h264 with slices test 2019-12-12 14:48:21 +03:00
lieff
c9214ded83 h264 with slices fixes 2019-12-12 14:42:07 +03:00
lieff
a23252d783 basic fragmentation mode support 2019-12-12 14:42:07 +03:00
lieff
d2f7948320 make minimp4.h usable in C++ files 2019-10-25 19:05:52 +03:00
lieff
c0652c2b93 fix warning C4098: 'mp4_h265_write_nal' : 'void' function returning a value 2019-08-09 13:34:49 +03:00
lieff
f76040ed1d fix for vs2013 2019-08-09 13:04:34 +03:00
Lion
3172107f0b
Merge pull request #7 from darkskygit/master
fix build in windows
2019-08-09 12:58:40 +03:00
DarkSky
81b6d85cce
fix build in windows 2019-08-09 14:07:04 +08:00
lieff
84c832729c add libmov link 2019-02-21 15:19:09 +03:00
lieff
e80ffa3f7b add aac mux sample 2019-01-30 21:38:15 +03:00
lieff
2cc1c2140b hevc: write BOX_hvc1 tag 2019-01-30 15:25:23 +03:00
lieff
a5a88b0089 initial HEVC support 2019-01-29 19:03:15 +03:00
lieff
c766c2c1c2 add BOX_hev1/BOX_hvc1 atoms 2019-01-29 15:25:27 +03:00
lieff
ec43c3d934 fix MP4E__close crash if no sps/pps arrived or not AVC video encoded 2019-01-29 14:32:45 +03:00
lieff
e7338b3a22 merge redundant MP4D/MP4E defines 2019-01-29 01:40:31 +03:00
lieff
70dee67381 add HEVC object type 2019-01-29 01:32:09 +03:00
lieff
ccf2c3c433 fix MINIMP4_TRANSCODE_SPS_ID=0 2019-01-29 01:07:24 +03:00
lieff
7f0f69b63b cleanup 2018-12-06 18:27:28 +03:00
lieff
48c7936faa Optimize 64bit indexes selection.
Since sample offsets grows monotonically, last sample check is enough.
2018-12-05 11:39:07 +03:00
lieff
cced14d26d 64bit indexes support 2018-12-05 00:46:08 +03:00
lieff
956b601e41 Fix minimp4_fsize() for >4Gb files 2018-12-05 00:24:09 +03:00