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.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd November 2013, 11:42   #201  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
there hasn't been an update for 7 month, see: https://github.com/amichaelt/BDSup2SubPlusPlus .
So yes, at least for the moment the project seems to have stopped. (latest version is still a lot newer than BDSup2Sub)
Sorry, never tried DVB-Sub subtitle which BDSub2Sup++.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 11:58   #202  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
Ok, so I guess he still hadn't added DVB-Sub support because he hadn't last time he answered me (on previous page).
Music Fan is offline   Reply With Quote
Old 23rd November 2013, 12:02   #203  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
yup, his replay was from may and since the last update was from "Apr 17, 2013" (see: https://github.com/amichaelt/BDSup2SubPlusPlus/commits/master) I think you are right.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 13:02   #204  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
Actually ProjectX can demux DVB subtitles ;
http://www.iphonelife.com/blog/87/ho...-mp4-subtitles

http://www.videohelp.com/tools/ProjectX

It seems to work but I get very special colors when I open the sup in SubtitleCreator, I still have to understand how to correct these subtitles.
ProjectX creates sup, sub, idx, ifo and txt.
SubtitleCreator can open sup, sub, idx and ifo, I don't know what is better.
And it seems to be converted in 720.576 while my TS is in 1920.1080.

Last edited by Music Fan; 23rd November 2013 at 13:10.
Music Fan is offline   Reply With Quote
Old 23rd November 2013, 13:11   #205  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
ffmpeg might also able to extract them. I thought the main goal was to convert them,...
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 13:29   #206  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
Yes, I wanna convert them to make an AVCHD with multiAVCHD (so actually not really an AVCHD but a bastard format between AVCHD and Blu-ray), and I need a sup file compatible with multiAVCHD (blu-ray type sup). I'd like also to change colors and position and I believe it can be done without OCR.
How does it work with ffmpeg ?

I'm talking about bit-map subtitles, not teletext sub.
I believe it's the norm ETSI EN 300 743.

Last edited by Music Fan; 23rd November 2013 at 13:39.
Music Fan is offline   Reply With Quote
Old 23rd November 2013, 13:38   #207  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
probably something like:
Code:
ffmpeg  -i 00038.m2ts -c:s copy "track_05 - Subtitles.sub"
could be used, never really played with DVB subtitles, so can't say for sure.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 15:32   #208  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
I tried but it didn't work, I got several error messages and a 0 KB file was created.
I also tried sup extension instead of sub, no file was created.
Music Fan is offline   Reply With Quote
Old 23rd November 2013, 15:40   #209  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
-> google a bit and maybe you can find a solution
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 15:52   #210  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
I found several topics about DVB-sub muxing and de-muxing with ffmpeg but no one is clear, I still didn't find any command I could use.
I don't know ffmpeg, it doesn't look easy to use.
Music Fan is offline   Reply With Quote
Old 23rd November 2013, 15:54   #211  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 5,880
then you are lost -> best ask inside another thread and may be someone with ffmpeg and dvb-sub experience can help you further good luck!
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 23rd November 2013, 16:09   #212  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,666
Ok, I created a topic in the subtitle part of the forum ;
http://forum.doom9.org/showthread.php?t=169795
Music Fan is offline   Reply With Quote
Old 8th December 2013, 21:33   #213  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 903
Quote:
Originally Posted by paradoxical View Post
Ok, looking into it.
Anyone know what happened to paradoxical?

Looking at his GitHub profile, I can see a couple new forks he created but very little contribution for this year.
__________________
Win10 (x64) build 18362| GPU Caps Viewer 1.42.4.0
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
Intel Xeon X5660 @2.80GHz
Sparktank is offline   Reply With Quote
Old 25th December 2013, 15:34   #214  |  Link
Chetwood
Registered User
 
Chetwood's Avatar
 
Join Date: Nov 2001
Posts: 1,103
I'd also like to know that. I was wondering if he could shed some light on how to identify forced subs on BDs.
__________________

MultiMakeMKV: MakeMKV batch processing (Win)
MultiShrink
: DVD Shrink batch processing
Offizieller Übersetzer von DVD Shrink deutsch
Chetwood is offline   Reply With Quote
Old 2nd April 2015, 19:37   #215  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Chamber 36
Posts: 5,846
Does anybody know how to contact the author? I have a sample clip where sup to sub conversion fails.
stax76 is offline   Reply With Quote
Old 22nd July 2015, 21:23   #216  |  Link
cdlvcdlv
Registered User
 
Join Date: Jun 2015
Posts: 3
How to compile bdsup2sub++

Does anyone how to compile the source code in Windows?
I have tried with qt-opensource-windows-x86-mingw492-5.5.0.exe (958 MB) and qt-opensource-windows-x86-mingw482-4.8.6-1.exe (328 MB) + i686-4.8.2-release-posix-dwarf-rt_v3-rev3.7z (44 MB) but I get the same error. (I would prefer not to download/install such huge compiler.)

Code:
> qmake "bdsup2sub++.pro"
This creates Makefile and another files. No errors.

Code:
> mingw32-make
g++ -c -pipe -fno-keep-inline-dllexport -std=c++11 -g -frtti -fexceptions -mthre
ads -Wall -Wextra -DUNICODE -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQ
T_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"
f:\Subtitulos\Qt\4.8.6\include\QtCore" -I"f:\Subtitulos\Qt\4.8.6\include\QtGui"
-I"f:\Subtitulos\Qt\4.8.6\include\QtXml" -I"f:\Subtitulos\Qt\4.8.6\include" -I"f
:\Subtitulos\Qt\4.8.6\include\ActiveQt" -I"debug" -I"." -I"f:\Subtitulos\Qt\4.8.
6\mkspecs\win32-g++-4.6" -o debug\bdsup2sub.o bdsup2sub.cpp
bdsup2sub.cpp:52:37: fatal error: QxtCore/QxtCommandOptions: No such file or dir
ectory
 #include <QxtCore/QxtCommandOptions>
                                     ^
compilation terminated.
If this is not the place to ask this question, maybe someone might tell me where it would be.

Last edited by cdlvcdlv; 22nd July 2015 at 21:33.
cdlvcdlv is offline   Reply With Quote
Old 22nd July 2015, 21:55   #217  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 448
is a Qt4 program. make sure you use qmake from qt4 instead of qt5
sl1pkn07 is offline   Reply With Quote
Old 23rd July 2015, 17:11   #218  |  Link
cdlvcdlv
Registered User
 
Join Date: Jun 2015
Posts: 3
Quote:
Originally Posted by sl1pkn07 View Post
make sure you use qmake from qt4 instead of qt5
If I understand the version numbers then the first attempt was doomed to failure. But maybe I had a chance in second one.
Quote:
Originally Posted by cdlvcdlv View Post
I have tried with qt-opensource-windows-x86-mingw492-5.5.0.exe (958 MB) and qt-opensource-windows-x86-mingw482-4.8.6-1.exe (328 MB) + i686-4.8.2-release-posix-dwarf-rt_v3-rev3.7z (44 MB) but I get the same error.
The numbers in bold are the relevant ones, aren't they? Strangely enough, the two attempts stopped with the same error message:

Code:
#include <QxtCore/QxtCommandOptions>
                                   ^
compilation terminated.
So I think there is something more I'm missing.

By the way. What would be the minimal environment needed to compile bdsup2sub++? This is around half a GiB to generate a 4 MB exe... And even so without success.

Is relevant the compiler? In qt4, three choices exist. Namely - qt-opensource-windows-x86-mingw482-4.8.6-1.exe, qt-opensource-windows-x86-vs2008-4.8.6.exe and qt-opensource-windows-x86-vs2010-4.8.6.exe.

Saludos, compañero espanishtaní.
cdlvcdlv is offline   Reply With Quote
Old 23rd July 2015, 17:17   #219  |  Link
sl1pkn07
Pajas Mentales...
 
Join Date: Dec 2004
Location: Spanishtán
Posts: 448
yes, Qt4 is a 4.8.X series, Qt5 is a 5.x.x series

ok, i see, you need install qxt https://bitbucket.org/libqxt/libqxt/wiki/Home
sl1pkn07 is offline   Reply With Quote
Old 24th July 2015, 19:54   #220  |  Link
cdlvcdlv
Registered User
 
Join Date: Jun 2015
Posts: 3
Dl and installed libqxt-0.6.2.zip from the link you posted, unzipped, run configure.bat, make and make install. Lots of warnings about vars declared but not used, but it generated the files and copied them to their folders.

Then go to bdsup2sub++ source folder, run qmake && make... lots of warnings again and in the end...
Code:
windres -i bdsup2sub.rc -o debug\bdsup2sub_res.o --include-dir=. -DUNICODE -DQXT
_CORE_LIB -DQT_DLL -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HA
VE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
g++ -Wl,-subsystem,console -mthreads -o debug\bdsup2sub++.exe object_script.bdsu
p2sub++.Debug  -L"f:\Subtitulos\Qt\4.8.6\lib" debug\bdsup2sub_res.o -LC:/Qxt/lib
 -lQxtCored -lQtXmld4 -lQtGuid4 -lQtCored4
F:/Subtitulos/mingw32/bin/../lib/gcc/i686-w64-mingw32/4.8.2/../../../../i686-w64
-mingw32/bin/ld.exe: cannot find -lQxtCored
collect2.exe: error: ld returned 1 exit status
Makefile.Debug:197: recipe for target 'debug\bdsup2sub++.exe' failed
mingw32-make[1]: *** [debug\bdsup2sub++.exe] Error 1
mingw32-make[1]: Leaving directory 'D:/Datos/Subtitulos/Programas/BDSUP2SUB/BDSu
p2SubPlusPlus-master/src'
Makefile:34: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 2
After some searching, I found out that I should have configured libqxt with -debug (configure -debug), what I did. Then, the "qmake && make" runs OK. It's a 14 MB debug exe, with dynamic linking, so it needs 231 additional MB to run (libgcc_s_dw2-1.dll, libstdc++-6.dll, libwinpthread-1.dll, QtCored4.dll, QtGuid4.dll, QtXmld4.dll, QxtCored.dll). But placing the dlls in the .exe folder it works. If I manage to do something useful, I would find out how to make static linking to create the neat 4 MB of the usual bdsup2sub++ releases. It would be useful to know what compiler was used (mingw, VS2008 or VS2010). There may be differences regarding to final size and performance.

The code is well-structured, but not much documented about how the conversions are done so that you can understand clearly why it does what it does.

@Chetwood: Some warnings in the code are related to forced subtitles. I hope they shed some light on the question.
Code:
In file included from Subtitles\suphd.cpp:20:0:
Subtitles\suphd.h:55:10: warning: unused parameter 'index' [-Wunused-parameter]
     bool isForced(int index) { return false; }
In file included from Subtitles\supbd.cpp:25:0:
Subtitles\subpicturebd.h:171:10: warning: unused parameter 'isForced' [-Wunused-
parameter]
     void setForced(bool isForced)
In file included from Subtitles\subpicturebd.cpp:20:0:
Subtitles\subpicturebd.h:171:10: warning: unused parameter 'isForced' [-Wunused-
parameter]
     void setForced(bool isForced)
In file included from debug\moc_suphd.cpp:9:0:
debug\../Subtitles/suphd.h:55:10: warning: unused parameter 'index' [-Wunused-pa
rameter]
     bool isForced(int index) { return false; }

Last edited by cdlvcdlv; 24th July 2015 at 19:57. Reason: Minor correction
cdlvcdlv is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 13:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.