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

Encode fails for RP2047-1 Profile Settings #42

Closed
GalenReich opened this issue Sep 18, 2020 · 1 comment · Fixed by #46
Closed

Encode fails for RP2047-1 Profile Settings #42

GalenReich opened this issue Sep 18, 2020 · 1 comment · Fixed by #46
Assignees
Labels

Comments

@GalenReich
Copy link
Contributor

When using the Low Delay mode and settings specified in SMPTE RP 2047-1:2009, the encode fails with the following error message:

Error: Attempt to write beyond end of bounded write

The incantation used to generate this error is as follows, which corresponds to a compression ratio of 4:1.

EncodeStream --mode LD --width 1920 --height 1080 --format 4:2:2 --bitDepth 10 --framerate 6 --kernel Haar1 --waveletDepth 2 --hSlice 4 --vSlice 1 --compressedBytes 2073600 ./color_bars_1920_1080.16p2 ./color_bars_1920_1080_0.vc2 --verbose

@GalenReich GalenReich added the bug label Sep 18, 2020
@GalenReich GalenReich self-assigned this Sep 18, 2020
@GalenReich
Copy link
Contributor Author

As a note, the sequence header appears correct.

| | | | +- sequence_header:
| | | | | +- parse_parameters:
| | | | | | +- major_version: 1
| | | | | | +- minor_version: 0
| | | | | | +- profile: low_delay (0)
| | | | | | +- level: hd (3)
| | | | | +- base_video_format: hd1080p_50 (14)
| | | | | +- video_parameters:
| | | | | | +- frame_size:
| | | | | | | +- custom_dimensions_flag: False
| | | | | | +- color_diff_sampling_format:
| | | | | | | +- custom_color_diff_format_flag: False
| | | | | | +- scan_format:
| | | | | | | +- custom_scan_format_flag: False
| | | | | | +- frame_rate:
| | | | | | | +- custom_frame_rate_flag: False
| | | | | | +- pixel_aspect_ratio:
| | | | | | | +- custom_pixel_aspect_ratio_flag: False
| | | | | | +- clean_area:
| | | | | | | +- custom_clean_area_flag: False
| | | | | | +- signal_range:
| | | | | | | +- custom_signal_range_flag: False
| | | | | | +- color_spec:
| | | | | | | +- custom_color_spec_flag: False
| | | | | +- picture_coding_mode: pictures_are_frames (0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant