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

Mp4ReaderSource module - version 2 #268

Merged
merged 20 commits into from
Jul 28, 2023
Merged

Mp4ReaderSource module - version 2 #268

merged 20 commits into from
Jul 28, 2023

Conversation

mohammedzakikochargi
Copy link
Collaborator

@mohammedzakikochargi mohammedzakikochargi commented Jul 19, 2023

IMPORTANT: All PRs must be linked to an issue (except for extremely trivial and straightforward changes).

Fixes[#229], [#226]

Description
The new version of Mp4Reader has the following upgrades -
Ordered cache of files integration - jpeg and h264
Seek refactoring - jpeg and h264
Reverse play - jpeg

Alternative(s) considered

Have you considered any alternatives? And if so, why have you chosen the approach in this PR?

Type

Type Choose one: (Bug fix | Feature | Documentation | Testing | Other)

Screenshots (if applicable)

Checklist

  • I have read the Contribution Guidelines
  • I have written Unit Tests
  • I have discussed my proposed solution with code owners in the linked issue(s) and we have agreed upon the general approach

@github-actions
Copy link

github-actions bot commented Jul 19, 2023

Test Results Linux

    1 files  ±  0      1 suites  ±0   10m 20s ⏱️ +56s
271 tests +72  219 ✔️ +69  52 💤 +3  0 ±0 
219 runs  +69  167 ✔️ +66  52 💤 +3  0 ±0 

Results for commit 12b655c. ± Comparison against base commit 00c23b9.

This pull request removes 14 and adds 86 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
mp4_dts_strategy ‑ eof_seek_step
mp4_dts_strategy ‑ read_mul_write_one_as_recorded
mp4_dts_strategy ‑ read_mul_write_one_fixed_rate
mp4_getlivevideots_tests ‑ seek_read_loop
mp4_reverse_play ‑ fwd
mp4_reverse_play ‑ seek_dir_change_trig_fresh_parse
mp4_reverse_play ‑ seek_in_revPlay_fail_to_seek_infile_restore
mp4_reverse_play ‑ seek_in_revPlay_prev_hr
mp4_reverse_play ‑ seek_in_revPlayback_prev_day
mp4_reverse_play ‑ seek_in_revPlayback_prev_hr
…
This pull request removes 2 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
mp4_simul_read_write_tests ‑ basic_chunking
mp4_simul_read_write_tests ‑ basic_parseFS_disabled
mp4_simul_read_write_tests ‑ loop_no_chunking
mp4_simul_read_write_tests ‑ reader_only
mp4_simul_read_write_tests ‑ writer_only

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 19, 2023

Test Results Linux-CudaT

    1 files  ±  0      1 suites  ±0   10m 22s ⏱️ +55s
362 tests +72  221 ✔️ +69  141 💤 +3  0 ±0 
221 runs  +69    80 ✔️ +66  141 💤 +3  0 ±0 

Results for commit 12b655c. ± Comparison against base commit 00c23b9.

This pull request removes 14 and adds 86 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
mp4_dts_strategy ‑ eof_seek_step
mp4_dts_strategy ‑ read_mul_write_one_as_recorded
mp4_dts_strategy ‑ read_mul_write_one_fixed_rate
mp4_getlivevideots_tests ‑ seek_read_loop
mp4_reverse_play ‑ fwd
mp4_reverse_play ‑ seek_dir_change_trig_fresh_parse
mp4_reverse_play ‑ seek_in_revPlay_fail_to_seek_infile_restore
mp4_reverse_play ‑ seek_in_revPlay_prev_hr
mp4_reverse_play ‑ seek_in_revPlayback_prev_day
mp4_reverse_play ‑ seek_in_revPlayback_prev_hr
…
This pull request removes 2 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
mp4_simul_read_write_tests ‑ basic_chunking
mp4_simul_read_write_tests ‑ basic_parseFS_disabled
mp4_simul_read_write_tests ‑ loop_no_chunking
mp4_simul_read_write_tests ‑ reader_only
mp4_simul_read_write_tests ‑ writer_only

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 24, 2023

Test Results Linux_ARM64

    1 files  ±  0      1 suites  ±0   10m 59s ⏱️ +56s
385 tests +72  248 ✔️ +69  137 💤 +3  0 ±0 
248 runs  +69  111 ✔️ +66  137 💤 +3  0 ±0 

Results for commit 12b655c. ± Comparison against base commit 00c23b9.

This pull request removes 14 and adds 86 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
mp4_dts_strategy ‑ eof_seek_step
mp4_dts_strategy ‑ read_mul_write_one_as_recorded
mp4_dts_strategy ‑ read_mul_write_one_fixed_rate
mp4_getlivevideots_tests ‑ seek_read_loop
mp4_reverse_play ‑ fwd
mp4_reverse_play ‑ seek_dir_change_trig_fresh_parse
mp4_reverse_play ‑ seek_in_revPlay_fail_to_seek_infile_restore
mp4_reverse_play ‑ seek_in_revPlay_prev_hr
mp4_reverse_play ‑ seek_in_revPlayback_prev_day
mp4_reverse_play ‑ seek_in_revPlayback_prev_hr
…
This pull request removes 2 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
mp4_simul_read_write_tests ‑ basic_chunking
mp4_simul_read_write_tests ‑ basic_parseFS_disabled
mp4_simul_read_write_tests ‑ loop_no_chunking
mp4_simul_read_write_tests ‑ reader_only
mp4_simul_read_write_tests ‑ writer_only

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 24, 2023

Test Results Windows-cuda

    1 files  ±  0      1 suites  ±0   12m 18s ⏱️ +57s
358 tests +72  280 ✔️ +69  78 💤 +3  0 ±0 
280 runs  +69  202 ✔️ +66  78 💤 +3  0 ±0 

Results for commit 12b655c. ± Comparison against base commit 00c23b9.

This pull request removes 14 and adds 86 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
mp4_dts_strategy ‑ eof_seek_step
mp4_dts_strategy ‑ read_mul_write_one_as_recorded
mp4_dts_strategy ‑ read_mul_write_one_fixed_rate
mp4_getlivevideots_tests ‑ seek_read_loop
mp4_reverse_play ‑ fwd
mp4_reverse_play ‑ seek_dir_change_trig_fresh_parse
mp4_reverse_play ‑ seek_in_revPlay_fail_to_seek_infile_restore
mp4_reverse_play ‑ seek_in_revPlay_prev_hr
mp4_reverse_play ‑ seek_in_revPlayback_prev_day
mp4_reverse_play ‑ seek_in_revPlayback_prev_hr
…
This pull request removes 2 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
mp4_simul_read_write_tests ‑ basic_chunking
mp4_simul_read_write_tests ‑ basic_parseFS_disabled
mp4_simul_read_write_tests ‑ loop_no_chunking
mp4_simul_read_write_tests ‑ reader_only
mp4_simul_read_write_tests ‑ writer_only

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Jul 24, 2023

Test Results Win-nocuda

    1 files  ±  0      1 suites  ±0   10m 39s ⏱️ + 1m 1s
267 tests +72  219 ✔️ +69  48 💤 +3  0 ±0 
219 runs  +69  171 ✔️ +66  48 💤 +3  0 ±0 

Results for commit 12b655c. ± Comparison against base commit 00c23b9.

This pull request removes 14 and adds 86 tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ fs_parsing_jpg
Mp4ReaderSource_tests ‑ getSetProps
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
Mp4ReaderSource_tests ‑ mp4v_read_metadata_jpg
Mp4ReaderSource_tests ‑ mp4v_to_h264frames
Mp4ReaderSource_tests ‑ mp4v_to_h264frames_metadata
Mp4ReaderSource_tests ‑ mp4v_to_mono_8_jpg
Mp4ReaderSource_tests ‑ mp4v_to_rgb_24_jpg
Mp4ReaderSource_tests ‑ parse_root_dir_and_find_the_video
…
mp4_dts_strategy ‑ eof_seek_step
mp4_dts_strategy ‑ read_mul_write_one_as_recorded
mp4_dts_strategy ‑ read_mul_write_one_fixed_rate
mp4_getlivevideots_tests ‑ seek_read_loop
mp4_reverse_play ‑ fwd
mp4_reverse_play ‑ seek_dir_change_trig_fresh_parse
mp4_reverse_play ‑ seek_in_revPlay_fail_to_seek_infile_restore
mp4_reverse_play ‑ seek_in_revPlay_prev_hr
mp4_reverse_play ‑ seek_in_revPlayback_prev_day
mp4_reverse_play ‑ seek_in_revPlayback_prev_hr
…
This pull request removes 2 skipped tests and adds 5 skipped tests. Note that renamed tests count towards both.
Mp4ReaderSource_tests ‑ fs_parsing_h264
Mp4ReaderSource_tests ‑ mp4reader_waits_when_no_video_and_reads_whenever_video_is_written
mp4_simul_read_write_tests ‑ basic_chunking
mp4_simul_read_write_tests ‑ basic_parseFS_disabled
mp4_simul_read_write_tests ‑ loop_no_chunking
mp4_simul_read_write_tests ‑ reader_only
mp4_simul_read_write_tests ‑ writer_only

♻️ This comment has been updated with latest results.

base/src/OrderedCacheOfFiles.cpp Outdated Show resolved Hide resolved
base/src/OrderedCacheOfFiles.cpp Outdated Show resolved Hide resolved
base/src/OrderedCacheOfFiles.cpp Outdated Show resolved Hide resolved
1. Added tests for mp4_getLiveVideoTs, mp4_dts_strategy, mp4_simul_read_write
Copy link
Collaborator

@mraduldubey mraduldubey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recheck all the files & address comments

base/include/OrderedCacheOfFiles.h Outdated Show resolved Hide resolved
base/include/Command.h Outdated Show resolved Hide resolved
@kumaakh kumaakh merged commit c2f230e into main Jul 28, 2023
17 of 19 checks passed
@kumaakh kumaakh deleted the reverseplayandseek branch July 28, 2023 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants