Closed stillempty closed 3 years ago
A sample to reproduce is necessary.
I am fairly new to github. The video file is about 2.8 GB, if you need the whole file, how is the best way to get it to you?
I'm not sure, maybe MEGA?
I have downloaded the file, thanks.
I had no problem parsing the file with version 0.5.0. What exact command line are you getting the error with?
ffmpeg.exe -i S01E07.mkv -c:v copy -vbsf hevc_mp4toannexb -f hevc - | hdr10plus_parser -o metadata.json -
The other 7 episodes processed properly
Huh this is kinda weird, it doesn't always fail for me.
I can test the metadata file you were able to extract if you like. So reading your comment it did fail for you also?
Yes it fails but not always.
This was interesting to fix. The problem only happened for stdin input (ffmpeg piping).
Since HDR10+ metadata is contained in SEI prefix NALs, the metadata was decoded before the actual frame slices. However because using stdin is unpredictable, sometimes the read data would end up decoding all the metadata, but skipping the very last slice, which is necessary for presentation order info.
Now the parsing should not skip any data. Thanks!
[34mReading parsed dynamic metadata... [0m[32mDone.[0m [34mReordering metadata... [0mthread 'main' panicked at 'called
1: 0x7ff74e63752a -
2: 0x7ff74e61f4b8 -
3: 0x7ff74e624bc6 -
4: 0x7ff74e6246a9 -
5: 0x7ff74e625225 -
6: 0x7ff74e624de3 -
7: 0x7ff74e622acf -
8: 0x7ff74e624d69 -
9: 0x7ff74e643ef0 -
10: 0x7ff74e643e3c -
11: 0x7ff74e4f9197 -
12: 0x7ff74e506883 -
13: 0x7ff74e4f8691 -
14: 0x7ff74e4f1fd6 -
15: 0x7ff74e4f244c -
16: 0x7ff74e62563a -
17: 0x7ff74e4f90b7 -
18: 0x7ff74e63e080 -
19: 0x7ffab4297974 - BaseThreadInitThunk
20: 0x7ffab6b6a2f1 - RtlUserThreadStart
Option::unwrap()
on aNone
value', src\hdr10plus\parser.rs:341:18 stack backtrace: 0: 0x7ff74e62217f -If there is any other data you need please let me know.