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
| | |-+  Mpegplayer Video Converter Tutorial
« previous next »
  • Print
Pages: [1]

Author Topic: Mpegplayer Video Converter Tutorial  (Read 1511 times)

Offline DJBetaWave

  • Member
  • *
  • Posts: 1
Mpegplayer Video Converter Tutorial
« on: March 03, 2010, 03:31:07 AM »
So I was looking over the ways to convert videos and I noticed ffmpeg had it pretty good. I discovered a very simple way to run it with a batch file. Glad I could help all of you that always had trouble with video converting for your rockbox mpegplayer.

Setup:
Copy the code below and paste it in notepad. Save it as a .bat file and put it in the same folder as ffmpeg.exe. Example: ffmpeg converter.bat

Using:
Start it up, follow the questions on-screen.
Wait till the converting is complete and the window should disappear.
Your video has finished converting.

--------------------------------------------------------------------------------------------

Code: [Select]
cls
@ECHO OFF
title ffmpeg converter
echo Input File Name
set /p "i=>"
cls
echo Resolution (WxH)
set /p "s=>"
cls
echo Video Codec (mpeg2video)
set /p "vcodec=>"
cls
echo Video Bitrate (bit/s (add '000'))
set /p "b=>"
cls
echo Audio Bitrate (kb/s)
set /p "ab=>"'
cls
echo Audio Channels (Stereo '2')
set /p "ac=>"
cls
echo Audio Samplerate Frequency (Hz '44100')
set /p "ar=>"
cls
echo Audio Codec (libmp3lame)
set /p "acodec=>"
cls
echo Output File Name
set /p "o=>"
cls
ffmpeg -i %i% -s %s% -vcodec %vcodec% -b %b% -ab %ab% -ac %ac% -ar %ar% -acodec %acodec% %o%
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Mpegplayer Video Converter Tutorial
« Reply #1 on: March 03, 2010, 05:20:26 AM »
Thanks, but this will just got lost on the forums - the wiki is for permanent information.  http://www.rockbox.org/wiki/PluginMpegplayer already has some instructions, perhaps you could integrate yours there?
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Mpegplayer Video Converter Tutorial
 

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

Page created in 0.064 seconds with 15 queries.