Ts2Dvd

Video Apps

Source (required if based on other people's work):

0
Score 77%
Description:

requirements:
- mencoder
- (mplayer)
- (replex)
- dvdauthor

This program lets you make video DVD from almost any video file.
You just have to select input video files, add subtitles file, then press Start button. After few minutes you get VIDEO_TS for burning it as DVD.

--ANIMATED TUTORIAL
Animated flash-tutorial, it shows everything, configuration, compilation, executing and encoding..
http://dev.jancerny.com/?ts2dvdflash

--HOW TO COMPILE:
./configure
cd ./src
make
that's all


--HOW TO EXECUTE Ts2Dvd
in ./src directory of this program start ./ts2dvd
if you want to make shortcut on Your Desktop, You need to set WORKING DIRECTORY for ts2dvd (without this setting it will not be fully functionall)
Last changelog:

12 years ago

version 0.3o
-fixed problem with some aspects.
-added TEST feature, if this option is checked, then any of all clips is encoded in maximal length of 30 seconds.
(you can to create and test your dvd, without waiting for encoding whole clips)

version 0.3m [updated]
- added german translation ( thanks to m0nk )
- created tutorial, ANIMATED TUTORIAL in flash is here: http://dev.jancerny.com/?ts2dvdflash
- added button, for showing hidden subpictures menu

version 0.3k
- added translation for brazilian portuguese ( thanks to Luis Marks )

version 0.3i
- cleaned code (less warnings)
- translated message after selected another language

version 0.3h
- fixed error with '\040'
- fixed subpictures error on DVD with aspect ratio 16:9
- "english" README - file added

gohanz

12 years ago

Ts2DvD still have problem to change the default language!

I correct it in my slackware

with a little script wrapper called ts2dvd in /opt/kde/bin

#!/bin/sh
cd /opt/kde/share/apps/ts2dvd

exec ./ts2dvd $@

in /opt/kde/share/apps/ts2dvd i have
the ts2dvd binary and all .qm file and the /img directory

img/
ts2dvd*
ts2dvd_cs.qm
ts2dvd_de.qm
ts2dvd_en.qm
ts2dvd_pt.qm
ts2dvdui.rc

Now i can change default language! Maybe better place for application is on MultiMedia menu, not in Utilities

Report

jairpn

12 years ago

Look...

[mencoder] the4400.avi (started)
[mencoder] the4400.avi (finished)
DVDAuthor::dvdauthor, version 0.6.11.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to

INFO: Locale=LC_CTYPE=en_US;LC_NUMERIC=en_US;LC_TIME=en_US;LC_COLLATE=C;LC_MONETARY=en_US;LC_MESSAGES=en_US;LC_PAPER=en_US;LC_NAME=en_US;LC_ADDRESS=en_US;LC_TELEPHONE=en_US;LC_MEASUREMENT=en_US;LC_IDENTIFICATION=en_US
INFO: Converting filenames to ISO-8859-1
INFO: dvdauthor creating VTS
STAT: Picking VTS 01

STAT: Processing /tmp/0the4400.avi.mpg...
STAT: VOBU 0 at 0MB, 1 PGCS


DvdAuthor finished.. continuing...

Cleaning...
Deleting temporary file /tmp/x0the4400.avi.mpg
Deleting dvdauthor's config file /tmp/ts2dvd.konf

???

Report

C

jancerny

12 years ago

hello,
i am not sure what's wrong in this case. what if you try another movie? what is full name of file you are trying to convert? is there space-character in it? in file and path name can not be spaces.
mencoder didn't started correctly..

jan

Report

khogar

12 years ago

No file in /tmp/VIDEO_TS

why?

Thank you

Report

C

jancerny

12 years ago

hello,
i don't know why...
1)do you have mencoder,mplayer and dvdauthor in your system (sytem path)?

2)if you are including subtitles into dvd, did you copied arial.ttf into ~/.spumux directory ?

3)have you enough disk space??

4)if your video file contains spaces in file name, rename it, or make symlink.

jan cerny

Report

jairpn

12 years ago

Thanks for reply.

no problem more.


Thank you
Thank you
Thank you

Report

gohanz

12 years ago

I try to Change the default Language, but it still remain in Czech maybe!
Only in the compilation directory it work!

Report

hifi25nl

12 years ago

I confirm the problem with english language, however if you start ts2dvd from a konsole you can have english as well!
I have tried to make a dvd (using replex) with a 4:3 .ts file but the result is a squeezed dvd in 16:9 format.

Piero

Report

C

jancerny

12 years ago

Hi Piero, i am using replex only with movies, which have size 720x576(PAL).. in other sizes (even 704x576) i am using mencoder.

you have to find your way to encode video. if replex give bad results to you, try to use mencoder.

-replex is much faster, but is not for every .ts streams.
-mencoder is slower, but if you specify right options, you'll get good results. i hope.. ;-)

jan

Report

Divilinux

12 years ago

no i'm shure
you told me not to launch "make install"..just make as well...and that's what i've done
in fact the application where created in the right directory..and works
but no languages memorized on restart..:(

Report

C

jancerny

12 years ago

Divilinux,
it looks, like problem is fixed now.
bitcrazy has the same problem like you, and it is ok now.

try to download version 0.3m

ps: there is right now some problem with my server, so try it bit later. i hope, that server will be ok. :o)

let me know what's new

jan

Report

luismarks

12 years ago

How can i include one subtitle for conversion with the movie ?

Report

C

jancerny

12 years ago

Hi Luis!
look here...

http://dev.jancerny.com/?ts2dvdflash

i thing, that this ilustrates everything.

jan

Report

luismarks

12 years ago

Yes, now is all perfect. Thanks.

Report

Divilinux

12 years ago

have you resolved the languages problem??..:(

Report

C

jancerny

12 years ago

Divilinux, i think, that you are doing something wrong.

you probably installed this program by typing `make install` and now you are trying to start this application from "installation directory".

Do that:
open your console, change directory where aplication's sources are. then cd to src subdirectory (yes, here is the binary build of program!) and start program by typing ./ts2dvd

it must!! work

jan

Report

luismarks

12 years ago

for me works fine !!

Report

bitcrazy

12 years ago

Hi,
have you read my comments and suggestions above?(This was for divlinux). But now something completely different:
I tell you step by step, what I've done:
1.Downloaded ts2dvd-0.3m.tar.gz
2. tar xzf ts2dvd-0.3m.tar.gz
3. cd ts2dvd-0.3m
4. configure
5. cd src
6. make
get the following warnings:
ts2dvd.cpp: In member function ‘virtual void Ts2Dvd::sloBreak()’:
ts2dvd.cpp:179: warning: format not a string literal and no format arguments
just an example.
7. ./ts2dvd
App comes up with czech Interface
8. Language-> anglicky / english
9. You must restart... -> OK
10. Soubor -> Konec
11. ./tsdvd
12. Et voila: czech interface

Greetings

m0nk

Report

debianunix

12 years ago

root@hardcore:/tmp/ts2dvd-0.3k/src# make
if g++ -DHAVE_CONFIG_H -I. -I/tmp/ts2dvd-0.3k/src -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -MT main.o -MD -MP -MF ".deps/main.Tpo" \
-c -o main.o `test -f 'main.cpp' || echo '/tmp/ts2dvd-0.3k/src/'`main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
else rm -f ".deps/main.Tpo"; exit 1; \
fi
In file included from main.cpp:22:
ts2dvd.h:24:23: error: ts2dvddlg.h: Arquivo ou diretório não encontrado
ts2dvd.h:34: error: expected class-name before '{' token
ts2dvd.h:40: error: 'WFlags' has not been declared
ts2dvd.h:75: error: 'QListBoxItem' has not been declared
ts2dvd.h:79: error: 'QListBoxItem' has not been declared
ts2dvd.h:34: warning: 'class Ts2Dvd' has virtual functions but non-virtual destructor
main.cpp: In function 'int main(int, char**)':
main.cpp:86: error: no matching function for call to 'QApplication::setMainWidget(Ts2Dvd*&)'
/usr/share/qt3/include/qapplication.h:122: note: candidates are: virtual void QApplication::setMainWidget(QWidget*)
main.cpp:87: error: 'class Ts2Dvd' has no member named 'show'
make: ** [main.o] Erro 1

Report

C

jancerny

12 years ago

i am not sure where is your problem, but , try to edit header file 'ts2dvd.h'

at line number 33 find this:

class Ts2Dvd : public Form1
{
Q_OBJECT


and change that, so look like this:

class Ts2Dvd : public Form1{
Q_OBJECT


i only guess, while your compiler needed to be class name before bracked...

Report

debianunix

12 years ago

Thanks Jancerny, but the same error apears.

In file included from main.cpp:22:
ts2dvd.h:24:23: error: ts2dvddlg.h: No such file or directory
ts2dvd.h:33: error: expected class-name before '{' token
ts2dvd.h:39: error: 'WFlags' has not been declared
ts2dvd.h:74: error: 'QListBoxItem' has not been declared
ts2dvd.h:78: error: 'QListBoxItem' has not been declared
ts2dvd.h:33: warning: 'class Ts2Dvd' has virtual functions but non-virtual destructor
main.cpp: In function 'int main(int, char**)':
main.cpp:86: error: no matching function for call to 'QApplication::setMainWidget(Ts2Dvd*&)'
/usr/share/qt3/include/qapplication.h:122: note: candidates are: virtual void QApplication::setMainWidget(QWidget*)
main.cpp:87: error: 'class Ts2Dvd' has no member named 'show'
make: *** [main.o] Error 1

Report

bitcrazy

12 years ago

Good morning,
take a look in src, if there's a file ts2dvddlg.h. If not, check that moc is in your path. This app is needed to generate ts2dvddlg.h from ts2dvddlg.ui.

Greetings

m0nk

Report

debianunix

12 years ago

Thanks! The problem is locales.
export LANG=C solved.

Report

bitcrazy

12 years ago

Hi,
compiling works here, but language can't be changed. The directory in $HOME/.ts2dvd has been created, the file lang.conf with entry en, too. But after restarting as suggested, the language is still czech. No matter if the app is started from source dir or from $PATH. The only difference is, that the flag icons are shown. make install doesn't copy any qm files to destdir, which should be $datadir/apps/ts2dvd or $datadir/ts2dvd, depending on your distro, right?
BTW. Tried to build a SuSE package, but without changing of language!?
Greetings

m0nk

Report

bitcrazy

12 years ago

Hi again,
seems, that the problem is in main.cpp at line 79:
trans.load("ts2dvd_"+qm+".qm",app.applicationDirPath());.
App can't find app.applicationDirPath(). So I've done a real dirty hack; it's 3:10am now ;-) and replaced the above with QDir::rootDirPath()+"opt/kde3/share/apps/ts2dvd". To run it from within the folder with the qm files you can use QDir::currentDirPath() instead. But please these are really ugly and temporary hacks. (But it works for SuSE at least). My prof called it "wild boar programming".
BTW: You can also copy the qm files into the $HOME/.ts2dvd folder and change the above to QDir::homeDirPath()+"/.tsdvd"

Greetings

m0nk

Report

12 years ago

version 0.3o
-fixed problem with some aspects.
-added TEST feature, if this option is checked, then any of all clips is encoded in maximal length of 30 seconds.
(you can to create and test your dvd, without waiting for encoding whole clips)

version 0.3m [updated]
- added german translation ( thanks to m0nk )
- created tutorial, ANIMATED TUTORIAL in flash is here: http://dev.jancerny.com/?ts2dvdflash
- added button, for showing hidden subpictures menu

version 0.3k
- added translation for brazilian portuguese ( thanks to Luis Marks )

version 0.3i
- cleaned code (less warnings)
- translated message after selected another language

version 0.3h
- fixed error with '\040'
- fixed subpictures error on DVD with aspect ratio 16:9
- "english" README - file added

product-maker 11 51

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.3o
updated Aug 11 2006
added May 28 2006
downloads today
0
page views today 0
System Tags app software