Hi!
I'm trying to make a DVD with subtitles using spumux and dvdauthor. It is just a small test clip (30 seconds) with 4 subtitles to speed things up while I'm learning. The DVD does not have to have any menus or anything. I muxed the subtitles in the mpeg using spumux with the following xml file:
and then ran the spumux command. That went like this:Code:<subpictures> <stream> <textsub filename="mummy1.srt" characterset="UTF-8" fontsize="24.0" font="devedesans.ttf" horizontal-alignment="center" vertical-alignment="bottom" left-margin="60" right-margin="60" top-margin="20" bottom-margin="30" subtitle-fps="25" movie-fps="25" movie-width="720" movie-height="576" force="yes"/> </stream> </subpictures>
Now, when I spuunmux the resulting file (mummy1_SUBBED.mpg), I get the subtitles in png format, so I know they're in there. But after using dvdauthor to create the dvd, when I play it, no subtitle options are available in either mplayer or vlc (both would usually handle subs fine).Code:[~/DVDTEST] $ spumux -s0 mummy1.xml < mummy1.mpg > mummy1_SUBBED.mpg DVDAuthor::spumux, version 0.6.14. Build options: gnugetopt iconv freetype fribidi Send bugs to <dvdauthor-users@lists.sourceforge.net> INFO: Locale=en_US.UTF-8 INFO: Converting filenames to UTF-8 INFO: Detected subtitle file format: subviewer INFO: Opened iconv descriptor. *UTF-8* *UTF-8* INFO: Read 4 subtitles INFO: Adjusted 2 subtitle(s). INFO: Unicode font: 2802 glyphs. INFO: Found EOF in .sub file. INFO: 4 subtitles added, 0 subtitles skipped, stream: 32, offset: 0.16 Statistics: - Processed 4 subtitles. - The longest display line had 45 characters. - The maximum number of displayed lines was 2. - The normal display height of the font devedesans.ttf was 26. - The bottom display height of the font devedesans.ttf was 48. - The biggest subtitle box had 2150 bytes. [~/DVDTEST] $
The dvdauthor commands I tried went like this:
but I also tried it with -s "en" added to the first command. Also I tried with a simple xml file:Code:[~/DVDTEST] $ dvdauthor -t mummy1_SUBBED.mpg -o TEST DVDAuthor::dvdauthor, version 0.6.14. Build options: gnugetopt iconv freetype fribidi Send bugs to <dvdauthor-users@lists.sourceforge.net> INFO: dvdauthor creating VTS STAT: Picking VTS 02 STAT: Processing mummy1_SUBBED.mpg... STAT: VOBU 64 at 19MB, 1 PGCS INFO: Video pts = 0.160 .. 32.120 INFO: Audio[0] pts = 0.160 .. 31.968 INFO: Audio[32] pts = 3.960 .. 18.961 STAT: VOBU 68 at 20MB, 1 PGCS INFO: Generating VTS with the following video attributes: INFO: MPEG version: mpeg2 INFO: TV standard: pal INFO: Aspect ratio: 4:3 INFO: Resolution: 720x576 INFO: Audio ch 0 format: ac3/6ch, 48khz drc STAT: fixed 68 VOBUS [~/DVDTEST] $ dvdauthor -T -o TEST DVDAuthor::dvdauthor, version 0.6.14. Build options: gnugetopt iconv freetype fribidi Send bugs to <dvdauthor-users@lists.sourceforge.net> INFO: dvdauthor creating table of contents INFO: Scanning TEST/VIDEO_TS/VTS_01_0.IFO INFO: Scanning TEST/VIDEO_TS/VTS_02_0.IFO [~/DVDTEST] $
All produce the same result. No subtitles. What am I doing wrong?Code:<dvdauthor dest="TEST"> <vmgm /> <titleset> <titles> <video format="pal" aspect="4:3"/> <subpicture lang="en" /> <pgc> <vob file="mummy1_SUBBED.mpg"/> </pgc> </titles> </titleset> </dvdauthor>
thanks,
bepaald
+ Reply to Thread
Results 1 to 6 of 6
-
-
Why is dvdauthor creating 2 VTS's if there is only one title?
Make sure your directory is empty, running dvdauthor with the -t option just adds another title to the next available VTS. If there is already a dvd structure in the output directory, dvdauthor adds to it.
Run mplayer from the command line with mplayer -dvd-device /path/VIDEO_TS dvd://1
Watch the output on the command line, it gives good info. Could try lsdvd -s /path/to/dvd/folders
Since spumux and spuunmux completed without error, it sounds like perhaps an authoring issue, or player issue. The xml and output of dvdauthor looks correct other than INFO: dvdauthor creating VTS STAT: Picking VTS 02Linux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly. -
First of all thanks for replying!
The VTS 02 was my fault I'm afraid. To get the output to copy in my first post I ran the commands again without first deleting the TEST directory. But the results are the same. I'd post the output again, but it's nearly identical (it says 'STAT: Picking VTS 01' now).
mplayer's output:
Code:[~/DVDTEST] $ mplayer -dvd-device TEST/VIDEO_TS/ dvd://1 MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz (Family: 6, Model: 15, Stepping: 2) CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1 Compiled with runtime CPU detection. Playing dvd://1. There are 1 titles on this DVD. There are 1 chapters in this DVD title. There are 1 angles in this DVD title. number of audio channels on disk: 0. number of subtitles on disk: 0 MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9800.0 kbps (1225.0 kbyte/s) ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) ========================================================================== ========================================================================== Opening audio decoder: [liba52] AC3 decoding with liba52 Using SSE optimized IMDCT transform Using MMX optimized resampler AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [a52] afm: liba52 (AC3-liba52) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 720x576 => 768x576 Planar YV12 A: 11.0 V: 11.0 A-V: -0.006 ct: 0.094 275/275 7% 0% 1.1% 1 0 Exiting... (Quit) [~/DVDTEST] $
Code:[~/DVDTEST] $ lsdvd TEST/ Couldn't read enough bytes for title. Disc Title: unknown Title: 01, Length: 00:00:31.180 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 01 Longest track: 01 [~/DVDTEST] $
bepaald
*EDIT*
I just mkisofs'd the output directory, mounted the iso and then I could select the subtitles in videolan. Not in mplayer though, and in videolan the subs weren't forced like I'd wanted. -
I figured it was a player issue. Mplayer can be picky with many things that aren't simple *.avi, *.mpg.... The bug list is long on it, but what it does do, it does well.
You can put this in $HOME/.gnome2/nautalis-scripts Any folder you right click on and choose to do so, will play as a dvd. Beats mkisofs, mount ...
Code:#!/bin/sh #vlc.dvd play vlc dvd://$1
Read this for forced subs.
http://www.floatinginspace.za.org/spumux/subtitles.htmlLinux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly. -
Hi!
I have no more problems now, I added several more subs and made a nice menu to be able to choose between them. Everything is working great, I just wanted to say thanks for the help.
So thanks!
bepaald -
Originally Posted by bepaald
You did all the work. I just posted lsdvdLinux _is_ user-friendly. It is not ignorant-friendly and idiot-friendly.
Similar Threads
-
Too many PCGs? DVDAuthor errors
By lefty.crupps in forum Authoring (DVD)Replies: 4Last Post: 26th Nov 2008, 02:45 -
svcd preview errors & vob file errors
By kiwi76 in forum SVCD2DVD & VOB2MPGReplies: 3Last Post: 10th Nov 2008, 16:02 -
Full conversion MKV subs to avi subs & fonts intact.
By ashidosai in forum Video ConversionReplies: 28Last Post: 18th Oct 2008, 16:36 -
Strange (IMHO) errors with GUI for dvdauthor
By Ego Tripper in forum Authoring (DVD)Replies: 1Last Post: 4th Feb 2008, 16:33 -
Creating my own subs for avi & editing subs of ogm & mkv
By retroborg in forum SubtitleReplies: 1Last Post: 1st Jan 2008, 14:33