Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. <FichteFoll> hi, just state your problem
  2. * Nitr0 has quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
  3. <mutsuto> ok cool.
  4. <mutsuto> so last month
  5. <mutsuto> my timer's audio was out of sync with the video + subs when viewed in aegisub.
  6. <mutsuto> we were told here to download trunk build
  7. <mutsuto> fixed it
  8. <mutsuto> this month i have the same issue. trunk. fixed
  9. <mutsuto> now when i export some subs, they're out of sync when played in a media player.
  10. <mutsuto> the play fine in aegisub.
  11. <mutsuto> but the subfile is out of sync when either opened in the media player, or when they're muzxxed into the video.
  12. <mutsuto> any idea what's going on, or a fix?
  13. <mutsuto> this month = today.
  14. <mutsuto> they're 0.5s too early. and therefor leave 0.5s too early
  15. <mutsuto> approximately
  16. <FichteFoll> how did you "export" and what media player did you use?
  17. <FichteFoll> also is the source using mkv?
  18. <FichteFoll> actually, that shouldn't matter
  19. <mutsuto> by "export" i mean just save-as a new file.
  20. <mutsuto> i've tried it in VPC and in HPC-HC
  21. <mutsuto> the video file is saved as .mkv
  22. <FichteFoll> can you confirm whether the subs are out of sync with the video, audio or both?
  23. <mutsuto> 2 secs
  24. <mutsuto> ok so video and audio a perfectly in sync with each other. the video was fine to begin with, and nothing has changed that. but thought best to check
  25. <mutsuto> thefore subs are out of sync with both
  26. <FichteFoll> ok, that's interesting. Can you share the file? if it's too big, you can extract a fragment with mkvtoolnix
  27. <FichteFoll> (although that might affect the source, so ideally don't create a segment)
  28. <mutsuto> 2 secs.
  29. <mutsuto> here is a mega link of videos im encoding from ISOs
  30. <mutsuto> the file you want is episoed 2
  31. <mutsuto> https://mega.nz/#F!qTxDzDLL!GC2Sf-fYYIqvIYjZzyXIeg
  32. <mutsuto> here is the sub file
  33. <mutsuto> https://files.catbox.moe/8tgdhw.ass
  34. <mutsuto> thank you for helping me
  35. <FichteFoll> duh, my aegisub build broke for some reason
  36. <FichteFoll> but I can confirm that the subs are out of sync when playing in mpv (and just renaming the subs)
  37. <mutsuto> " (and just renaming the subs)" sorry, what do you mean here?
  38. <FichteFoll> mpv loads subs with the same name as the video automatically, so I didn't have to mux
  39. <mutsuto> what happend when you view the sub file in aegisub?
  40. <mutsuto> for me the timing is perfect
  41. <FichteFoll> still figuring out why meson can't build
  42. <mutsuto> pardon?
  43. <FichteFoll> still installing aegisub
  44. <mutsuto> i've also make a thread on Animebytes asking for help. i've had an interesting response just now.
  45. <mutsuto> screenshot https://i.imgur.com/RXKtjMU.png
  46. <mutsuto> thoughts?
  47. <FichteFoll> quite interesting indeed. subtitles don't know anything about your video's fps. They use timecodes
  48. <FichteFoll> ah yeah, you said that as well
  49. <mutsuto> yup
  50. <mutsuto> so i take it you too have never heard of this idea?
  51. <mutsuto> i think i'll have to ask further then :shrug:?
  52. <FichteFoll> I think they're confusing things
  53. <FichteFoll> this kind of problem exists, but it's not relevant here and incorrect
  54. <FichteFoll> Delay relative to video : -591 ms
  55. <FichteFoll> this is the relevant part
  56. <FichteFoll> or bit, rather
  57. <mutsuto> wher did you get that value from?
  58. <mutsuto> "591"
  59. <mutsuto> it seems right, but too significant figures for merly an estimate
  60. <FichteFoll> from mediainfo
  61. <mutsuto> wait. so the subs just have a tag in them telling it to delay?
  62. <mutsuto> and aegisub is putting it on for an unknwon reason, that's the bug?
  63. <FichteFoll> no, that's from the audio track
  64. <FichteFoll> I'm currently unsure as to why mpv seems to un-delay the subtitles as well, however
  65. <mutsuto> why does the audio track have a delay on it :thinking:
  66. <mutsuto> ?
  67. <mutsuto> is it to sync with the video?
  68. <FichteFoll> yes, most likely. The writing application is handbrake, so it was probably used to cut out some parts at the beginning of the video
  69. <FichteFoll> but for the audio it just set the delay so it wouldn't have to cut that as well
  70. <mutsuto> I used handbreak to encode the video, yes. is that what you mean by "writing application"?
  71. <FichteFoll> yes
  72. <mutsuto> i did not cut anything from the source's beginning though.
  73. <FichteFoll> if you set the negative delay of the audio track for the subtitle track when muxing, it will look as expected https://x0.at/gbH.png
  74. <FichteFoll> I can't exactly say why this is necessary because there seems to be some not-so-obvious interdependency between the delays of the tracks (and whatever ffms does when it loads the audio into aegisub), so someone else might be able to provide a better explanation
  75. <mutsuto> how very odd. thank you for a working solution. i would have prefered to have had an .ass which could work standalone but will happily settle for this as it allows me to ship a product.
  76. <mutsuto> would i be correct or incorrect to say this is an aegisub bug?
  77. <FichteFoll> not sure tbh
  78. <mutsuto> kek. thank you very much.
  79. <FichteFoll> I say "not sure" because the subtitles clearly start after 410ms, yet the first frame in mpv shows them already (without the additional delay)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement