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:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  VLC-transcode.bat output options
« previous next »
  • Print
Pages: [1]

Author Topic: VLC-transcode.bat output options  (Read 4410 times)

Offline johnson4

  • Member
  • *
  • Posts: 62
VLC-transcode.bat output options
« on: April 19, 2007, 05:22:19 PM »
I really like using this .bat file http://www.rockbox.org/twiki/pub/Main/PluginMpegplayer/VLC-transcode.bat

Im just wondering how to code the output, currently
Code: [Select]
url=%1.mpg
to output the new mpg file to the same dir that the bat file is in.
That way I can leave the bat file on my Gigabeat and add usable videos from any computer that I might be using. Is this possible?
I searched the web for a while but couldn't come up with anything.
Thanks for any hints,
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: VLC-transcode.bat output options
« Reply #1 on: April 20, 2007, 07:11:45 AM »
Hi,

you could try if it works if you replace the part with:
Code: [Select]
url="%~dp0%~n1.mpg"
Logged

Offline johnson4

  • Member
  • *
  • Posts: 62
Re: VLC-transcode.bat output options
« Reply #2 on: April 20, 2007, 02:46:39 PM »
works great, except that the
Code: [Select]
vlc:quit
doesn't seem to be doing it's job. After the file is made, VLC stays running. But thats not really a huge deal.
Thanks a ton.
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: VLC-transcode.bat output options
« Reply #3 on: April 21, 2007, 10:37:28 AM »
Use mencoder, it quits all by itself after it's finished.
Logged

Offline johnson4

  • Member
  • *
  • Posts: 62
Re: VLC-transcode.bat output options
« Reply #4 on: April 21, 2007, 01:09:12 PM »

I've never used that program b4, How does it compare with VLC for speed and quality?
can I use the same bat file(obviously pointed to mencoder)?
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: VLC-transcode.bat output options
« Reply #5 on: April 21, 2007, 02:47:41 PM »
It's fast and more reliable that VLC (expecially for *.flv files), it's free and there's a bat file for it somewhere on the wiki page.
Logged

Offline PaulJam

  • Member
  • *
  • Posts: 170
Re: VLC-transcode.bat output options
« Reply #6 on: April 21, 2007, 02:54:00 PM »
I'm quite sure that you can't use the batch file for VLC with mencoder.
You should try out yourself how both programs compare.
I have attached the batch file i'm using with mencoder (change the extension from .txt to .bat). You'll propably have to change the path to the mencoder executable.
« Last Edit: April 21, 2007, 03:06:37 PM by Llorean »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: VLC-transcode.bat output options
« Reply #7 on: April 21, 2007, 03:07:24 PM »
I've removed your attachment. Seriously, if you need to attach a file of a filetype other than those officially allowed, PM me and ask. Do not attempt to "work around" the system.

I'm flexible, but I'm not going to look kindly on you choosing to ignore the limitations I specifically put in place.
Logged

Offline johnson4

  • Member
  • *
  • Posts: 62
Re: VLC-transcode.bat output options
« Reply #8 on: April 21, 2007, 03:44:40 PM »
Is that mencoder bat available anywhere else? I couldn't see it in the Wiki.
Or could you email it to me PaulJam?
Thanks a ton, I'd like to try it out.
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: VLC-transcode.bat output options
« Reply #9 on: April 22, 2007, 03:53:41 PM »
that's mine:

mencoder.exe %1 -of mpeg -oac lavc -lavcopts acodec=mp3:abitrate=64 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=192 -vf scale,harddup -ofps 22 -vf scale=176:128 -o %1.mpg

Change size (176:128) to what your screen size is, and abitrate and vbitrate as well.
Logged

Offline ja

  • Member
  • *
  • Posts: 1
Re: VLC-transcode.bat output options
« Reply #10 on: May 03, 2007, 02:42:23 PM »
why does the bat file use vcodec=mp2v and not vcodec=mp4v?
And similarly for acodec?

Thanks,

Ja
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: VLC-transcode.bat output options
« Reply #11 on: May 03, 2007, 05:45:37 PM »
Why on Earth would the .bat file convert to a format not supported by Rockbox?
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  VLC-transcode.bat output options
 

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

Page created in 0.094 seconds with 15 queries.