Discussion:
[MPlayer-users] Extracting VOB Subtitles from MPG
Ergos
2011-05-17 10:19:45 UTC
Permalink
Hi guys,
I can try to extract subtitles from MPEG video file, but i don't ..
I (see and) follow the documentation: 6.9. Extracting DVD subtitles to
VOBsub file.
But i could no get it.
which would be the right way?
Best Regards.
Ron Johnson
2011-05-17 12:40:59 UTC
Permalink
Post by Ergos
Hi guys,
I can try to extract subtitles from MPEG video file, but i don't ..
I (see and) follow the documentation: 6.9. Extracting DVD subtitles to
VOBsub file.
But i could no get it.
which would be the right way?
How can one know what you're doing wrong when you don't show what you're
doing and what errors you get?
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
Ergos
2011-05-18 07:00:03 UTC
Permalink
Hi,

I do:

Source:
http://www2.mplayerhq.hu/DOCS/HTML/en/menc-feat-extractsub.html


mencoder *movie.mpg* -vobsubout *subtitles_file* -vobsuboutindex 0 \
-vobsuboutid es -sid 1 -nosound -ovc copy


I execute this command:

C:\Archivos de programa\Mplayer>mencoder c:\compartida\Cherry1_5.mpg
-vobsubout c:\compartida\subtitles_files -vobsubout index 0 -vobsuboutid es
-sid 1 -nosound -ovc copy

The error:

Exiting... (No output file specified, please see the -o option.)

Then, this other

C:\Archivos de programa\Mplayer>mencoder c:\compartida\Cherry1_5.mpg
-vobsubout c:\compartida\subtitles_files -vobsubout index 0 -vobsuboutid es
-sid 1 -nosound -ovc copy \
-o c:\compartida\out.avi

Output command:

162 audio & 365 video codecs
success: format: 0 data: 0x0 - 0x1a6db48
TS file format detected.
VIDEO MPEG2(pid=1001) NO AUDIO! NO SUBS (yet)! PROGRAM N. 1
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 1500.0 kbps (187.5 kbyte/s)
[V] filefmt:29 fourcc:0x10000002 size:720x576 fps:25.000 ftime:=0.0400
videocodec: framecopy (720x576 24bpp fourcc=10000002)
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.
Pos: 119.0s 2975f (99%) 2790.81fps Trem: 0min 15mb A-V:0.000 [1099:0]
TS_PARSE: COULDN'T SYNC
Writing index...
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing
vprp header.

Video stream: 1098.635 kbit/s (137329 B/s) size: 16342192 bytes 119.000
secs 2975 frames

____________________

Then, the subtitles files are empty.
Post by Ron Johnson
Post by Ergos
Hi guys,
I can try to extract subtitles from MPEG video file, but i don't ..
I (see and) follow the documentation: 6.9. Extracting DVD subtitles to
VOBsub file.
But i could no get it.
which would be the right way?
How can one know what you're doing wrong when you don't show what you're
doing and what errors you get?
--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
--
Saludos, José Miguel Valenzuela.
Mike Castle
2011-05-18 14:21:59 UTC
Permalink
How did you get movies.mpg?

Normally I'd expect to see a .vob file or something you pass in using
-dvd-device.

mrc
Ergos
2011-05-18 14:53:30 UTC
Permalink
I work for a broadcast channel and they have a thousands of mpg videos with
the subtitles enbedded into mpg format. This videos have many years and the
subtitles source are missing. I need to extract the subtitles from mpeg to
.SRT or other time and text format.

Thanx for your interest.

Note: I can run the MediaInfo application, and it's show:

Text #1
ID/String : 1004 (0x3EC)
MenuID/String : 1 (0x1)
Format : DVB Subtitle
CodecID : 6
Language/String : Spanish

Text #2
ID/String : 2080 (0x820)-100
MenuID/String : 1 (0x1)
Format : Teletext
Language/String : Spanish

Text #3
ID/String : 2080 (0x820)-888
MenuID/String : 1 (0x1)
Format : Teletext Subtitle
Language/String : Spanish
Post by Mike Castle
How did you get movies.mpg?
Normally I'd expect to see a .vob file or something you pass in using
-dvd-device.
mrc
_______________________________________________
MPlayer-users mailing list
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
--
Saludos, José Miguel Valenzuela.
Mike Castle
2011-05-18 15:02:02 UTC
Permalink
I'm not sure, but I don't think DVB is the same as DVD, so you're
trying to use to wrong tool for the job here.


You might give CCextractor a try: http://ccextractor.sf.net/

Continue reading on narkive:
Loading...