Alfred Gutierrez
9f10bd335e
clippy: fix warnings from latest stable rust 1.67.0 ( #93 )
2023-01-30 20:33:32 -08:00
rolleifx
c26bdcab59
fix "mdat size too large" ( #80 )
...
* fix "mdat size too large"
* fix clippy
* Fix clippy::derive-partial-eq-without-eq
2023-01-05 18:19:47 -08:00
Data Retriever
3ecfd0cc9d
Cargo fmt and clippy ( #73 )
...
* Run cargo clippy --fix
* Run cargo fmt --all
2022-05-31 20:50:49 -07:00
Jun, Byungwan
8af11652f1
Fix the playback bug in QuickTime and Safari ( #34 )
...
* Add dinf box
* Fix desc size bug
* Default value of track flag is TrackEnabled
* Set optional UrlBox in DrefBox
2020-11-23 13:38:05 -08:00
Alf
dd2eae6eed
Skip serializing vmhd/smhd if Option::is_none.
2020-09-09 20:04:06 -07:00
Alfred Gutierrez
0f373b03db
Box summary and to_json traits. ( #29 )
...
* Add Mp4Box traits for getting json or text summary for each box.
* fix test and serde version.
* skip serializing entries
* skip serializing sample_sizes
* Add custom serializer for FixedPoint types.
2020-09-08 22:24:34 -07:00
Alf
71f0f78ae6
remove duplicated code.
2020-08-24 22:00:48 -07:00
Alf
4df1097948
Update mp4dump example and update box_size to method in all boxes.
2020-08-24 21:49:58 -07:00
Alf
d51a193272
Add mp4dump example and update all mp4boxes with get_type and get_size methods.
2020-08-23 22:11:59 -07:00
Ian Jun
0abb242037
Refactoring ( #17 )
...
* Add ReadBox trait
* Add boxtype macro
* Remove offset in BoxHeader
* Fix parsing error when box has largesize
* Remove duplicated codes reading version and flags
* Update examples
* Fix test failure
* Rename I/O position moving functions
* skip_read() to skip_bytes()
* skip_read_to() to skip_bytes_to()
* skip_write() to write_zeros()
* Rename I/O position moving functions
* skip_read() to skip_bytes()
* skip_read_to() to skip_bytes_to()
* Ensure skip_bytes() does not go back.
Co-authored-by: Byungwan Jun <unipro.kr@gmail.com>
2020-08-06 20:35:08 -07:00
Ian Jun
3104a2d95b
Feature/mp4copy ( #14 )
...
* Add ReadBox trait
* Add boxtype macro
* Remove offset in BoxHeader
* Fix parsing error when box has largesize
* Remove duplicated codes reading version and flags
* Add avc1 box
* Add mp4a box
* Add mp4a box
* Add DecoderSpecificDescriptor in esds box
* Add necessary sub-boxes to stbl box
* Improve ReadBox::read_box()
* Add smhd box
* Refactor BoxHeader
* Refactor BMFF
* Refactor
* Add some functions to get offset and size of sample
* Add Mp4Reader::read_sample() that read media samples
* Move Mp4Reader to reader.rs
* Add mandatory check when reading boxes
Add some methods to Mp4Reader, TrackReader
Format codes
* Update mp4info
* Refactor common types
* Add FixedPointX types
* Add media configuration, profile, ...
* Add initial Mp4Writer
* Run cargo fmt
* Add Mp4Writer and examples/mp4copy
* Add test codes for Avc1Box and Mp4aBox
* Remove prefix "get_" from method names
* Rename atoms to mp4box
* Fix some bugs
Co-authored-by: Byungwan Jun <unipro.kr@gmail.com>
2020-08-04 16:56:59 -07:00