Bigmack3000 84 Posted December 1, 2019 Share Posted December 1, 2019 Every now and then when I convert a file, Emby makes the final file 1200 minutes long. I can cut off the excess and the file is then fine, but it's an odd problem to run into. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 1, 2019 Share Posted December 1, 2019 Hi there, what is the length of the source? What kind of source file? Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 1, 2019 Author Share Posted December 1, 2019 Various lengths. from 20 minute shorts to 3 hour films. They are mkv rips of blurays and/or dvds. It seems to be random too. I could convert a season of a show, and two thirds of the episodes are fine but then the other 3rd have this problem. But it's also seems to just be the timecode that's incorrect. There's nothing actually playable after the end of the film's normal runtime. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 1, 2019 Share Posted December 1, 2019 How are you determining that its' 1200 minutes? Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 1, 2019 Author Share Posted December 1, 2019 (edited) It shows up with that length when opened in VLC. But if I scroll past the normal runtime, the file closes. Which makes me think there's no actual data added, just the wrong length being put in the file conversion. But every time it happens, it's the same wrong length. Also, I don't know why the screenshot uploaded like that, but the actual video looks fine after the conversion. It's just the length. Edited December 1, 2019 by Bigmack3000 Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 1, 2019 Share Posted December 1, 2019 What length does the new file show in Emby? Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 1, 2019 Author Share Posted December 1, 2019 Same length. The uploaded looks odd, but again that part looks fine on my computer. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 2, 2019 Author Share Posted December 2, 2019 I'm not positive, but as I go through all the ones that have this happen, It seems to be far more common in files that had subtitles auto burned in during conversion. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 2, 2019 Share Posted December 2, 2019 Can you provide a source file for testing? Thanks. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 2, 2019 Author Share Posted December 2, 2019 Sure, but how would I do this? Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 2, 2019 Share Posted December 2, 2019 dropbox or google drive would be great. before you do that, can you provide an ffmpeg conversion log in case we might be able to spot something there? thanks. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 3, 2019 Author Share Posted December 3, 2019 Ok, I attempted the file again and got the same error. Attached is the log for that conversion. Emby Transcode Log.txt Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 3, 2019 Share Posted December 3, 2019 So just to confirm, you haven't yet seen this when not burning in subtitles, right? Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 3, 2019 Author Share Posted December 3, 2019 I don't believe so, but I have about 5 converting tonight that shouldn't have subtitles burned in. I'll check them when they're done. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 3, 2019 Share Posted December 3, 2019 Ok thanks. I was actually just able to reproduce this on an input file with pgs subtitles. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 4, 2019 Author Share Posted December 4, 2019 You think the type of subtitle is the problem? Also, none of the conversions last night or today had burned in subtitles and none had the error either. Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 4, 2019 Share Posted December 4, 2019 We're looking into it. Thanks. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 5, 2019 Author Share Posted December 5, 2019 Would it be possible to just make burning in subtitles optional? Link to comment Share on other sites More sharing options...
Luke 37064 Posted December 6, 2019 Share Posted December 6, 2019 Yes more subtitle conversion options are planned for the future. Thanks. Link to comment Share on other sites More sharing options...
softworkz 3335 Posted December 6, 2019 Share Posted December 6, 2019 (edited) You think the type of subtitle is the problem? Also, none of the conversions last night or today had burned in subtitles and none had the error either. So, here's what's happening: Sometimes (or maybe even always in case of PGS subs), the subtitle frames not have valid values for start_display_time and end_display_time. Like above: 4294967295 is just the maximum for 32 bit uint, but ffmpeg seems to interpret that value. That is no problem as long as there's another subtitle frame following which indicates the end of the previous one (that next one might even be empty just to invalidate the previous one). But when it comes to the very last subtitle graphic the end_display time is considered to be a frame event. Ffmpeg considers the 4294967295 to be valid and "waits" for that to happen. Meanwhile. the video main has ended as well, but by default configuration, the overlay filter repeats a stream's image when it has reached its end. And that causes one additional frame to be added to the output file with an insanely high timestamp value: That one additional frame is in turn causing the high and incorrect container duration. This is fixed in the upcoming beta (4.4.0.1) Edited December 6, 2019 by softworkz 1 Link to comment Share on other sites More sharing options...
pwhodges 1529 Posted December 6, 2019 Share Posted December 6, 2019 What's the program generating those windows? Link to comment Share on other sites More sharing options...
softworkz 3335 Posted December 6, 2019 Share Posted December 6, 2019 It's an internal tool. Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 6, 2019 Author Share Posted December 6, 2019 That's interesting. Thank you for the in-depth explanation! Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 6, 2019 Author Share Posted December 6, 2019 Also, how would I get in on the beta? Link to comment Share on other sites More sharing options...
Bigmack3000 84 Posted December 23, 2019 Author Share Posted December 23, 2019 I'm not sure if the update was supposed to fix the problem. But just incase, it's still happening for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now