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
| | |-+  e260 mpegplayer plays lower pitch
« previous next »
  • Print
Pages: [1] 2

Author Topic: e260 mpegplayer plays lower pitch  (Read 9589 times)

Offline Karce

  • Member
  • *
  • Posts: 15
e260 mpegplayer plays lower pitch
« on: January 27, 2008, 12:17:39 AM »
I'm not sure if anybody else is having this issue,  but after encoding an mpeg-2 flick with WinFF and trying to play it on the Sansa,  it lowers the pitch of it.

I've tried playing the file on my computer and the sound plays normally.  But once it's played in the mpegyplayer for the Sansa version of RB, is when the sound pitch is lowered, however the sound and video are sync'd together.
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: e260 mpegplayer plays lower pitch
« Reply #1 on: January 27, 2008, 12:35:01 AM »
Sampling rate is probably wrong.
Logged

Offline Karce

  • Member
  • *
  • Posts: 15
Re: e260 mpegplayer plays lower pitch
« Reply #2 on: January 27, 2008, 10:10:10 AM »
Quote from: saratoga on January 27, 2008, 12:35:01 AM
Sampling rate is probably wrong.

Sampling rate is fine.   Playing the same file via PC results in a perfect pitch

Only on the Sansa does the pitch lower
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: e260 mpegplayer plays lower pitch
« Reply #3 on: January 27, 2008, 10:47:16 AM »
Well, I have certainly seen files that play fine on a PC, but have sampling rate problems as evidenced by abnormally high pitch.  Did you explicitly set the sample rate?  
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Karce

  • Member
  • *
  • Posts: 15
Re: e260 mpegplayer plays lower pitch
« Reply #4 on: January 27, 2008, 10:48:18 AM »
Quote from: Chronon on January 27, 2008, 10:47:16 AM
Well, I have certainly seen files that play fine on a PC, but have sampling rate problems as evidenced by abnormally high pitch.  Did you explicitly set the sample rate?  
 

It's set to 48000 - 192 bit rate
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: e260 mpegplayer plays lower pitch
« Reply #5 on: January 27, 2008, 10:53:05 AM »
The Mpegplayer wiki page says:

Quote
Limited audio samplerate - audio must be sampled at 44.1KHz, other samplerates will play, but at the wrong speed.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Karce

  • Member
  • *
  • Posts: 15
Re: e260 mpegplayer plays lower pitch
« Reply #6 on: January 27, 2008, 10:53:53 AM »
WinFF (FFMPEG) Doesn't allow for 44khz encoding  (at least that's what the program itself has told me)

(Trying again)
« Last Edit: January 27, 2008, 10:56:40 AM by Karce »
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: e260 mpegplayer plays lower pitch
« Reply #7 on: January 27, 2008, 11:06:26 AM »
Quote from: Karce on January 27, 2008, 10:53:53 AM
WinFF (FFMPEG) Doesn't allow for 44khz encoding  (at least that's what the program itself has told me)

Of course it can. You didn't read the PluginMpegplayer page on the wiki

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

and download this WinFF preset:

http://www.rockbox.org/twiki/pub/Main/PluginMpegplayer/presets.xml

Charles
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: e260 mpegplayer plays lower pitch
« Reply #8 on: January 27, 2008, 11:11:55 AM »
Note: 44khz is DIFFERENT from 44.1khz, that extra .1 is VERY important. If you try typing in an invalid value (like 44000 instead of 44100) it might in fact reject it.

But please, in the future, if you can't convert a file the right way, ask how to convert it the right way FIRST. Don't say "My improperly created file doesn't play right, what's wrong with Rockbox?"
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: e260 mpegplayer plays lower pitch
« Reply #9 on: January 27, 2008, 07:11:49 PM »
Quote from: Llorean on January 27, 2008, 11:11:55 AM
Note: 44khz is DIFFERENT from 44.1khz, that extra .1 is VERY important. If you try typing in an invalid value (like 44000 instead of 44100) it might in fact reject it.

Good catch! I missed that one.

Charles
Logged

Offline Karce

  • Member
  • *
  • Posts: 15
Re: e260 mpegplayer plays lower pitch
« Reply #10 on: January 28, 2008, 12:35:09 PM »
Quote from: cpchan on January 27, 2008, 07:11:49 PM
Quote from: Llorean on January 27, 2008, 11:11:55 AM
Note: 44khz is DIFFERENT from 44.1khz, that extra .1 is VERY important. If you try typing in an invalid value (like 44000 instead of 44100) it might in fact reject it.

Good catch! I missed that one.

Charles


As did I.   I didn't set it to 44*1*00.

That is why I was being told it wasn't possible.
Fixed now, thanks.

P.S.  Yes, I did (not thoroughly) read through the player wiki, and d/l the presets,  and and knew the steps to convert it.

Quote from: Llorean on January 27, 2008, 11:11:55 AM
But please, in the future, if you can't convert a file the right way, ask how to convert it the right way FIRST. Don't say "My improperly created file doesn't play right, what's wrong with Rockbox?"

P.P.S. Don't put words in my mouth.  I never blamed rockbox in this situation, I described the symptoms I was having.   Don't be so sensitive. Thanks for the help regardless.
« Last Edit: January 28, 2008, 12:37:53 PM by Karce »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: e260 mpegplayer plays lower pitch
« Reply #11 on: January 28, 2008, 06:22:01 PM »
You said "mpegplayer plays lower pitch." Mpegplayer == Rockbox. Lower pitch == Wrong. Therefore "Rockbox plays wrong". What word did I put in your mouth, exactly?

Anyway, the presets resample to 44100. If you'd used the presets, and not tried to override anything, you'd be fine. You said you used the presets, did you never try them without inserting your own values? If the presets aren't working, it'd be useful to know so we can check on that but I need to know if you tried them without manually inserting wrong values.
« Last Edit: January 28, 2008, 06:27:36 PM by Llorean »
Logged

Offline markun

  • Developer
  • Member
  • *
  • Posts: 462
Re: e260 mpegplayer plays lower pitch
« Reply #12 on: January 28, 2008, 07:14:19 PM »
Quote from: Llorean on January 28, 2008, 06:22:01 PM
You said "mpegplayer plays lower pitch." Mpegplayer == Rockbox. Lower pitch == Wrong. Therefore "Rockbox plays wrong". What word did I put in your mouth, exactly?

To me it didn't read like he was blaming rockbox for his problem at all. It's like saying "windows media player plays with the wrong aspect ratio" == "windows plays videos wrong". Yes, maybe he could have phrased his problem better, but if you don't know what exactly is wrong in the first place it's difficult to do so.
Logged

Offline Karce

  • Member
  • *
  • Posts: 15
Re: e260 mpegplayer plays lower pitch
« Reply #13 on: January 30, 2008, 12:51:03 AM »
Quote from: Llorean on January 28, 2008, 06:22:01 PM
Anyway, the presets resample to 44100. If you'd used the presets, and not tried to override anything, you'd be fine. You said you used the presets, did you never try them without inserting your own values? If the presets aren't working, it'd be useful to know so we can check on that but I need to know if you tried them without manually inserting wrong values.

The Preset I Downloaded from THIS SITE was set to 48000 for mpeg2 encoding

There is no mpeg2 preset for the Sansa, I had to change it to reflect the screen size.   I did not touch the audio encoding settings until my 2nd attempt at encoding.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: e260 mpegplayer plays lower pitch
« Reply #14 on: January 30, 2008, 01:12:57 AM »
Quote
label Sandisk Sansa e200 4:3
-acodec mp3 -ab 128 -ar 44100 -vcodec mpeg2video -s 224x176 -b 320kb -strict -1
From the presets.xml on our wiki page. 44100, and it's definitely for the e200. Which presets.xml did you download exactly? It sounds like you may have downloaded it, then not actually installed it properly.

And it's a WIKI meaning ANYONE can edit it, so saying "I downloaded it from the wiki" doesn't automagically mean it's error free, some idiot can readily replace good files with bad. No need to should about it.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  e260 mpegplayer plays lower pitch
 

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

Page created in 0.107 seconds with 14 queries.