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
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Video Playback (yet another newbie question)
« previous next »
  • Print
Pages: [1]

Author Topic: Video Playback (yet another newbie question)  (Read 1336 times)

Offline Primefalcon

  • Member
  • *
  • Posts: 21
Video Playback (yet another newbie question)
« on: September 11, 2012, 04:21:23 AM »
I see that the mpeg player is capable of handling standard mpeg video


as of now I am converting widescreen video's using the following avconv command

Code: [Select]
avconv -i "inputFile.mp4" -r 20 -s 166x96 -b 128k "outputFile.mpeg"

I was wondering however if there is a better codec that mpeg1 supports such as mp4, webm, mkv's or whatever that allows same quality or so video's at smaller filesizes.

I download a lot of podcasts such as Linux action show.... Leo Laporte's this week in tech and so on..... considering there are quite a few.... a format that would allow smaller filesizes would be very handy

Post Merge: September 11, 2012, 05:03:41 AM
Ok I have been reading the wiki... and see that if I am right the optimal codec would be mpeg2.....

So I have the following bash script going through and doing my podcast folders

Code: [Select]
#!/bin/bash

convertEp()
{
cd "$HOME/Music/gpodder-downloads/$1"

for f1 in *.mp4; do
f2="${f1%.mp4}.mpeg"

if [ ! -f "Rockbox/$f2" ]; then
avconv -i "$f1" -s 176x100 -vcodec mpeg2video -b 229k -ab 192k -ac 2 -ar 44100 -acodec libmp3lame "Rockbox/${f1%.mp4}.mpeg"
fi
done
}

convertEp 'podcast 1 folder'
convertEp 'podcast 2 folder'
#and so on

Seems to be going pretty well, any comments welcome... also feel free to use the code   ;D
« Last Edit: September 11, 2012, 05:08:15 AM by Primefalcon »
Logged

Offline gbl08ma

  • Member
  • *
  • Posts: 249
    • My blog
Re: Video Playback (yet another newbie question)
« Reply #1 on: September 11, 2012, 05:48:02 AM »
Formats with better compression such as mp4, webm and mkv need more processing power than what most Rockbox-supported players have.
Logged
http://gbl08ma.com | http://i.tny.im

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Video Playback (yet another newbie question)
« Reply #2 on: September 11, 2012, 02:17:27 PM »
Quote from: Primefalcon on September 11, 2012, 04:21:23 AM
I was wondering however if there is a better codec that mpeg1 supports such as mp4

Not sure if we have a language problem here -- MPEG1 is a codec, you can't put any other codecs in -- unlike formats like avi, which is a container format. Apart from that mpegplayer supports MPEG1 and MPEG2, both with mp3 audio. That's all you can use.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Primefalcon

  • Member
  • *
  • Posts: 21
Re: Video Playback (yet another newbie question)
« Reply #3 on: September 11, 2012, 06:52:20 PM »
Quote from: bluebrother on September 11, 2012, 02:17:27 PM
Quote from: Primefalcon on September 11, 2012, 04:21:23 AM
I was wondering however if there is a better codec that mpeg1 supports such as mp4

Not sure if we have a language problem here -- MPEG1 is a codec, you can't put any other codecs in -- unlike formats like avi, which is a container format. Apart from that mpegplayer supports MPEG1 and MPEG2, both with mp3 audio. That's all you can use.
I meant mpegplayer not the mpeg codec sorry... up too long plays havoc on typing....

I kinda figured as much about other codecs... was just hoping though.... I've go back to using mpeg1 over mpeg 2 since that does seem to be better at lower resolutions and bit rates unless I am missing something
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Video Playback (yet another newbie question)
 

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

Page created in 0.072 seconds with 15 queries.