Guest User

Broken video sample duration on Hauppauge HDPVR-2

a guest
Jun 17th, 2016
66
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. > mp4dump -verbosity 3 "original.mp4"
  2. -------------------------------------
  3. [stts]
  4. entry 16052 = sample_count=1, sample_duration=1198
  5. entry 16053 = sample_count=4, sample_duration=1199
  6. entry 16054 = sample_count=1, sample_duration=1198
  7. entry 16055 = sample_count=4, sample_duration=1199
  8. entry 16056 = sample_count=1, sample_duration=1198
  9. entry 16057 = sample_count=2, sample_duration=1199
  10. entry 16058 = sample_count=1, sample_duration=5994 # <- troken sample length
  11. entry 16059 = sample_count=1, sample_duration=-3595 # <- tries to make up for lost time?
  12. entry 16060 = sample_count=1, sample_duration=1198
  13. entry 16061 = sample_count=5, sample_duration=1199
  14. entry 16062 = sample_count=1, sample_duration=1198
  15. entry 16063 = sample_count=4, sample_duration=1199
  16. entry 16064 = sample_count=1, sample_duration=1198
  17. entry 16065 = sample_count=4, sample_duration=1199
  18.  
  19. > ffmpeg -i "original.mp4" -vcodec copy -bsf:v h264_mp4toannexb -acodec copy "out.mp4"
  20.  
  21. > mp4dump --verbosity 3 "out.mp4"
  22. ---------------------------------
  23. [stts]
  24. entry 16052 = sample_count=1, sample_duration=1198
  25. entry 16053 = sample_count=4, sample_duration=1199
  26. entry 16054 = sample_count=1, sample_duration=1198
  27. entry 16055 = sample_count=4, sample_duration=1199
  28. entry 16056 = sample_count=1, sample_duration=1198
  29. entry 16057 = sample_count=2, sample_duration=1199
  30. entry 16058 = sample_count=1, sample_duration=5994 # <- still broken. how to fix this?
  31. entry 16059 = sample_count=4, sample_duration=1 # <- effectively skip 4 samples, let the above sample stay on screen for 5 times the length (image freeze is notable during playback). at least no time travel anymore.
  32. entry 16060 = sample_count=1, sample_duration=1196
  33. entry 16061 = sample_count=2, sample_duration=1199
  34. entry 16062 = sample_count=1, sample_duration=1198
  35. entry 16063 = sample_count=4, sample_duration=1199
  36. entry 16064 = sample_count=1, sample_duration=1198
  37. entry 16065 = sample_count=4, sample_duration=1199
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×