Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#21 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
--palette-mode keep --resolution 720 --fps-target keep --filter mitchell Last edited by mini-moose; 30th January 2013 at 01:29. |
|
![]() |
![]() |
![]() |
#22 | Link |
Guest
Posts: n/a
|
So it seems I was subtracting time wrong using my clock so I did one more test run after warming up the JVM so it can hotspot things:
Java version 5.1.1: 4 minutes 55 seconds. Current 1.0.1 build of ++: 4 minutes 35 seconds. So it's about a 7-8% difference once I warmed up the JVM. And again, this is on a 2.3ghz quad core i7 Ivy Bridge. So, I don't know why you got nearly 29 minutes. That's pretty insane. Maybe the difference is running it via CLI. I did my runs via the GUI. I can test that. |
![]() |
![]() |
#23 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
takes any cpu cycles. I did try the gui too for a bit and it reached about 15% after 5 mins so pretty much on track to the same processing time. |
|
![]() |
![]() |
![]() |
#24 | Link |
Guest
Posts: n/a
|
Okay, so there is something weird going on on your end especially if you aren't running anything else. Just to give you an idea of my system at the moment, I'm playing CounterStrike: Global Offensive and running a Windows VM in Parallels that is doing some BD Reauthoring. So it's not a lightly tasked system while doing the tests.
Also, via CLI gave me a time about 5 seconds off from the GUI in the ++ version. |
![]() |
![]() |
#26 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
also the gui shows a very erratic behaviour for me. It's not unique to the latest version - maybe the 3rd one described below is, others were happening before too. I usually don't use the gui. upon launch, console window flashes for a sec but I think that was discussed before. when I try to load a sup I get this several times: http://i.imgur.com/y5jIYos.jpg and when I try to save/export this pops up several times: http://i.imgur.com/zNT4cmj.jpg I have to close this window and try save again quite a few times till I manage to get it working. Last edited by mini-moose; 30th January 2013 at 14:10. |
|
![]() |
![]() |
![]() |
#28 | Link | |||
Guest
Posts: n/a
|
Quote:
Quote:
Quote:
I opened it 20 times in a row and none of the times it crashed. Comparable link paths as I said yesterday. As I said, the application does nothing but pass the file path on to the QFile constructor. Any path length issues would come down to OS limits and on Windows that is 260 characters IIRC. Last edited by paradoxical; 30th January 2013 at 16:36. Reason: Add more information about console flash |
|||
![]() |
![]() |
#29 | Link |
Guest
Posts: n/a
|
So good news for you mini-moose. After more investigation, I've isolated the speed issue and it's a total facepalm moment on my part. That Windows binary was compiled with -O0, no optimization, and debug symbols and I forgot to revert these when I compiled it for posting. The binary has now been replaced with the proper release build. That was why you saw vastly different results than when I was testing on my Mac Mini. Now, it's still slower to output since neither the Java or ++ is not detecting the image area properly, it's saying the entire 1920x1080 area is the "image area" which is not right, which accounts for why it takes longer than other BDSups to convert and output that I've tested. That I will investigate and try to track down.
Edited to add: mini-moose where did you get that file from? Last edited by paradoxical; 30th January 2013 at 17:31. |
![]() |
![]() |
#30 | Link |
Guest
Posts: n/a
|
So I have a fix that will find the image area in the case of a pathological subtitle file like you sent me mini-moose. To find the image area doesn't increase processing time much more than not doing it. The best you can do with subtitles such as that is to load it, resave it without scaling, then scale. Or just accept that the time it takes to do the bounds checking and scaling.
Last edited by paradoxical; 30th January 2013 at 20:24. |
![]() |
![]() |
#31 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
what file? the sup or the binary I used? |
|
![]() |
![]() |
![]() |
#32 | Link |
Guest
Posts: n/a
|
That "english.sup" file that you posted in the other thread. That thing is something pathological. Looks like it was output incorrectly. It's got no data for image offset, etc so both the ++ version and Java see each subtitle image as the full 1920x1080 frame. That's why processing it is sooo slow.
And actually my post right above you was incorrect. Finding the image area before scaling reduces the time to save to about 24.5 seconds rather than it taking a couple of minutes. If you wait a few mins I'll post a new test version for you with the fix for that case in it. |
![]() |
![]() |
#33 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
Ran the sup again with the new version and it took around 4mins (resized to 1280x720 with Mitchel). I'm quite relieved to see it wasn't my system to blame ![]() thanks! edit: tried the gui now too and at least on first try it didn't display the symptoms I described earlier. Last edited by mini-moose; 30th January 2013 at 20:45. |
|
![]() |
![]() |
![]() |
#35 | Link |
Guest
Posts: n/a
|
Here is a test version with that fix. I checked some other BDSups to make sure nothing got regressed with the fix and I didn't see anything, but if you see that it broke anything please let me know. Won't compile another "official" version till I finish the other issues slated for 1.0.2 release on the issue tracker.
Last edited by paradoxical; 30th January 2013 at 21:56. |
![]() |
![]() |
#36 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
![]() one thing I want to ask - the last lines on cmd output is Decoding frame 1145/1269 at offset 01ad769b There were 144 warnings There were 1048 warnings As I said before I have 0 understanding but shouldn't it end with 1269/1269 ? also a small request if possible. Can you tag the archive and binary with some sort of version number? It can get a little messy when there are several versions around. |
|
![]() |
![]() |
![]() |
#37 | Link | |
Guest
Posts: n/a
|
Quote:
Yeah with 1.0.2 I'll put version in the archive name. The application itself always has the version number in the title. |
|
![]() |
![]() |
#38 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
another small note: the 101 fixed .sub is 6.2mb (like the java output) and the test version .sub is 4.4mb. Whether it means anything..I have no idea ![]() |
|
![]() |
![]() |
![]() |
#40 | Link | |
Registered User
Join Date: Oct 2007
Posts: 385
|
Quote:
At the time it was discussed the ++ version will be able to eventually generate 3D subs too from 3D sourced sups. Is that something you're planning to look into ? Last edited by mini-moose; 30th January 2013 at 21:24. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|