Skip to content

Instantly share code, notes, and snippets.

@Megawats777
Created March 30, 2020 01:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Megawats777/34c3aaf875af6fa44417c90db0f61e1f to your computer and use it in GitHub Desktop.
Save Megawats777/34c3aaf875af6fa44417c90db0f61e1f to your computer and use it in GitHub Desktop.
An attempt to get a longer video decoded in order to represent a more realistic use case
A third attempt at testing
This was done with a 6 minute long .264 file
Testing was to simply decode this file twice per optimization level
However during the decoding process I came across numerious warning and error messages.
As of which I am highly unlikely going to use this method.
Some of my logged results:
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459805) in frame: 12 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 13 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459806) in frame: 6 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459807) in frame: 8 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv -7552
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 0 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459807) in frame: 7 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459805) in frame: 9 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 11 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv 4094
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 2 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 4 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459806) in frame: 7 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 12 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (459781) in frame: 7 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:MMCO_SHORT2UNUSED: delete an empty entry from short term list
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv -6325
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv -6328
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv -6328
[OpenH264] this = 0x0x2ca6cea0, Warning:invalid syntax vertical mv -6327
[OpenH264] this = 0x0x2ca6cea0, Warning:referencing pictures lost due frame gaps exist, prev_frame_num: 0, curr_frame_num: 2
[OpenH264] this = 0x0x2ca6cea0, Error:Ref Picture for B-Slice is lost, B-Slice decoding cannot be continued!
[OpenH264] this = 0x0x2ca6cea0, Warning:DecodeCurrentAccessUnit() failed (394291) in frame: 2 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x2ca6cea0, Warning:parse_nal(), no exist Sequence Parameter Sets ahead of sequence when try to decode NAL(type:1).
-------------------------------------------------------
iWidth: 1920
height: 1080
Frames: 1848
decode time: 267.238496 sec
FPS: 6.915171 fps
-------------------------------------------------------
real 4m52.487s
user 4m30.858s
sys 0m20.123s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment