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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  mpeg video on iriver H10 20GB
« previous next »
  • Print
Pages: [1]

Author Topic: mpeg video on iriver H10 20GB  (Read 1836 times)

Offline undergroundx

  • Member
  • *
  • Posts: 8
mpeg video on iriver H10 20GB
« on: February 15, 2008, 05:59:11 PM »
Hello everyone im new to the forums. Anyways ive been having some problems with my iriver H10 20gb i have been trying to get videos to play on there. I get them to play but they screen doesnt fit and the sound doesnt match. Ive been trying to figure this out for a week to convert using ffmpeg to make everything working but i cant. Look at this and see if anyone can help me

http://www.rockbox.org/twiki/bin/view/Main/PluginMpegplayer

here is the link to the video i want its already converted to mpeg but not the right size and setup for my iriver if someone could tell me the ffmpeg command i would very much appreciate it. Cuase ive been trying for ever.

ConvertTube_com.mpeg that is the format and the name of it. How do i make it fit the iriver H10 using ffmpeg please someone help desperate need. Thanks alot in advance.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: mpeg video on iriver H10 20GB
« Reply #1 on: February 15, 2008, 07:54:44 PM »
As the wiki (sort of) says:

ffmpeg -i [inputfilename] -s [displayresolution] -vcodec mpeg2video -b 200k -ab 192k -ac 2 -ar 44100 -acodec mp3 [outputfilename]
Logged

Offline undergroundx

  • Member
  • *
  • Posts: 8
Re: mpeg video on iriver H10 20GB
« Reply #2 on: February 15, 2008, 11:02:42 PM »

ffmpeg -i [inputfilename] -s [displayresolution] -vcodec mpeg2video -b 200k -ab 192k -ac 2 -ar 44100 -acodec mp3 [outputfilename]
   
 Yeah i did that part but for the output file name? What goes there the audio format mp3,wav,etc or just the video your copying and what format not quiet sure.
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: mpeg video on iriver H10 20GB
« Reply #3 on: February 16, 2008, 03:26:51 AM »
[inputfilename] is the source file to convert from, and [outputfilename] is the new file that will be created.

Don't make [outputfilename] the same as [inputfilename] or I think it'll try to overwrite the source file as it's reading it, probably leaving you with nothing but a corrupt file.
« Last Edit: February 16, 2008, 03:33:05 AM by cool_walking_ »
Logged

Offline undergroundx

  • Member
  • *
  • Posts: 8
Re: mpeg video on iriver H10 20GB
« Reply #4 on: February 16, 2008, 01:05:46 PM »
ok thanks. Ill try it and see what happens.
Logged

Offline undergroundx

  • Member
  • *
  • Posts: 8
Re: mpeg video on iriver H10 20GB
« Reply #5 on: February 16, 2008, 01:19:31 PM »
uhh man i dont get why this is doing this makes no sense. This is what i typed in

 ffmpeg -i ConvertTube_com.mpg -s 160x128 -vcodec mpeg2video -b 200k -ab 192k -ac 2 -ar 44100 thevideo.mpeg

where it says thevideo.mpeg that is where i renamed it like you said.

ConvertTube_com.mpg: Unknown format
thats the error i get.

i also tried this using the acodec

ffmpeg -i ConvertTube_com.mpg -s 160x128 -vcodec mpeg2video -b 200k -ab 192k -ac 2 -ar 44100 -acodec -mp3 themovie.mpeg

still no luck any ideas why?
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: mpeg video on iriver H10 20GB
« Reply #6 on: February 17, 2008, 07:01:24 AM »
Are you sure ConvertTube_com.mpg is not corrupt (i.e. can you play it on your computer)?

Otherwise, there may be something wrong with the way ffmpeg is set up on your computer, and I'm not even going to start to troubleshoot that since I've never even used ffmpeg.  However, the following mencoder (comes with mplayer) command has handled every file I've thrown at it:

mencoder -of mpeg -oac lavc -lavcopts acodec=mp3:abitrate=192 -af resample=44100:0:0 -ovc lavc -lavcopts vcodec=mpeg2video:vbitrate=200 -vf scale,harddup -ofps 20 -zoom -xy 160 ConvertTube_com.mpg -o thevideo.mpg

Most options there are equivalent to those in the ffmpeg command, but there's a new one:
-ofps 20 means the output file will be at 20 frames per second.  You can probably omit this if you want, I only use it (with a value of 12) because the iPod 5G is too slow to run at fullscreen faster than 12 FPS.

and a slightly different one:
-zoom -xy 160 means the video will be scaled to 160 pixels wide (height is automatically calculated).
« Last Edit: February 18, 2008, 10:41:36 PM by cool_walking_ »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  mpeg video on iriver H10 20GB
 

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

Page created in 0.064 seconds with 15 queries.