Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Getting subtitles on mv2s?
« previous next »
  • Print
Pages: [1]

Author Topic: Getting subtitles on mv2s?  (Read 4413 times)

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Getting subtitles on mv2s?
« on: September 10, 2006, 02:18:33 PM »
Ive been trying to get subtitles working with vnc, but i cant seem to get it to work.

I use:

Quote
"C:\Progra~1\VideoLAN\VLC\vlc.exe" %1 --sub-lang=en --sout=#transcode{vcodec=mp2v,vb=600,width=176,height=128,soverlay}:es{access-video=file,mux-video=es,dst-video=d:\temp\NanoVids\vid_00.m2v}

Have also tried:

Quote
"C:\Progra~1\VideoLAN\VLC\vlc.exe" %1 --sub-autodetect-file --sub-track=0 --sout=#transcode{vcodec=mp2v,vb=600,width=176,height=128,soverlay}:es{access-video=file,mux-video=es,dst-video=d:\temp\NanoVids\vid_00.m2v}

I drag the VOB file to the bat file and it encodes video fine but no subtitles are overlaid.

Any ideas?
« Last Edit: October 31, 2006, 01:53:01 PM by ipodfoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Getting subtitles on mv2s?
« Reply #1 on: September 10, 2006, 03:32:41 PM »
You might want to try asking at the VLC site. Your problem seems to be with using the VLC program itself, rather than anything specifically Rockbox related, and so you're more likely to find someone familiar with the program there.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Getting subtitles on mv2s?
« Reply #2 on: September 10, 2006, 04:12:55 PM »
ok. will do.

Just thought someone might have the answer as theres no audio for video (yet) and subtitles would have been a neccessity.

Will post back on what I find.

Cheers.
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Getting subtitles on mv2s?
« Reply #3 on: September 10, 2006, 04:28:04 PM »
Well, I think most people just convert one or two videos to see what it looks like, then say "Alright, now I'll wait until it's done."

It's kinda silly to bother with any real conversions now, since you'll need to re-convert once audio's available anyway.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Getting subtitles on mv2s?
« Reply #4 on: September 10, 2006, 04:47:33 PM »
True.

But its nice to have that option. Something to watch during a boring meeting where headphones are too obvious!  ;D
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Getting subtitles on mv2s?
« Reply #5 on: October 26, 2006, 11:36:25 PM »
I know it's an old thread, just wondering if you ever tried...
Code: [Select]
--sub-file=LostS02E21-QuestionMark.srt --sub-track=0 
... and if you found out about anything?

The thing is that worked for me but since we're encoding to a nano screen this means that the subtitles really only show up as two lines one pixel high each.... kinda useless. 'Course unless you did found out about anything I'll just have to take Llorean's advice - or just give it a miss and wait for audio...
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Getting subtitles on mv2s?
« Reply #6 on: October 28, 2006, 08:34:12 PM »
Thought Id post my findings so far.

I have found a way to get bigger subtitles on m2vs but I cant get it right and its a bit of a long way round.

First, you need to have the subtitles in text format not image as some dvd subtitle rippers do. I used subrip_1.50_beta3a http://www.digital-digest.com/software/download.php?sid=1045&ssid=0&did=1

You need to rip the dvd subtitles to OCR text or similar. As it goes through the dvd, it will probably ask you to correct some guesses of recognising some text.

When thats done, save it as a DVDSub sub format file.

Open VLC, set the preferences under Video > Subtitles, Use freetype2 renderer, tick the freetype renderer box, choose a font size of about 50 pixels. Leave colour at white, tick Font Effect to Background, it makes the text more readable.

Save and close VLC.

In the vlc.bat file on the desktop, use:

Quote
"C:\Progra~1\VideoLAN\VLC\vlc.exe" %1 --sub-file=C:\rippeddvdfolder\yoursubfile.sub --sub-track=en --sout=#transcode{vcodec=mp2v,vb=600,fps=25,width=176,height=128,soverlay}:duplicate{dst=std{access=file,mux=raw,dst="c:\nanovideo\vid_00.m2v"}}

Change the location of the files.

Save the bat. Drag the VOB file on to the bat file. It should do its thing. When done. Open the resulting m2v in VLC Player.

Its not right though. For some reason its all justified centered and the fonts are quite blocky even though the video is nice and crisp (see pic) and it seems to be completely out of sync. But its as close as Ive got so far! Anyone else who manages to sort those problems out then let me know!  ;D

[attachment deleted by admin, too old]
« Last Edit: October 31, 2006, 01:52:01 PM by ipodfoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Getting subtitles on mv2s?
« Reply #7 on: October 29, 2006, 05:44:34 AM »
Interesting - thanks for posting that... It does however look like it will be quite a bit of work before it's actually useful... Guess I'll stick to using it just for muted porn...  ;D
Logged

Offline homielowe

  • Member
  • *
  • Posts: 34
  • Deux et machina my ass
Re: Getting subtitles on mv2s?
« Reply #8 on: October 30, 2006, 01:35:12 AM »
you could just use virtual dub to permantly burn the subs on the video , then recode using vcl
« Last Edit: October 30, 2006, 01:27:17 PM by homielowe »
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Getting subtitles on mv2s?
« Reply #9 on: October 30, 2006, 06:04:13 AM »
Do you mean this? http://www.virtualdub.org/

And I assume you mean to use the filter: http://www.virtualdub.org/virtualdub_filters ?

Does it output subtitles as a text file or image? And does VLC understand it?
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

Offline homielowe

  • Member
  • *
  • Posts: 34
  • Deux et machina my ass
Re: Getting subtitles on mv2s?
« Reply #10 on: October 30, 2006, 01:24:54 PM »
sorry about the vagueness, I use this tutorial for adding subs to foreign films from some of my exchange student friends
http://forum.videohelp.com/viewtopic.php?t=272736
Logged

Offline mipodr

  • Member
  • *
  • Posts: 34
  • Ipod w/o rckbx s lik a guy w/ nutin clever to say.
Re: Getting subtitles on mv2s?
« Reply #11 on: October 30, 2006, 08:05:40 PM »
exactly the software and webpage that i use... creepy. ANYWAY, it's the best way to go because it's really easy.
Logged

Offline iPodFoo

  • Member
  • *
  • Posts: 221
  • Ya dig?
    • iPod Nano Rockbox Blog
Re: Getting subtitles on mv2s?
« Reply #12 on: October 31, 2006, 11:06:07 AM »
Cool.

Just one thing...

How can I output straight to m2v instead of making a divx or similar then reencoding it in VLC? I cant find the mpeg encoder in the Video > Compression list even though I have it on my system.

Ive tried making a divx then encode it on vlc but it comes out corrupted. See pic:

Have tried using TMPGEnc but it wont encode the video saying "resolution of the video is illegal, must be dividable by 8".
EDIT: Found out because I was trying to encode at a resolution of 176x132 and it should have been 176x128. D'oh.

EDIT: For those who want to output to m2v, follow this tutorial: http://www.videohelp.com/virtualdubframeserve Finally it all works.  ::)


[attachment deleted by admin, too old]
« Last Edit: November 09, 2006, 06:42:08 PM by ipodfoo »
Logged
Visit my blog at modprojects.blogspot.com for some iPod Nano goodies!

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Getting subtitles on mv2s?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.099 seconds with 14 queries.