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:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  idea for mpegplayer's voice disability (iriver h10)
« previous next »
  • Print
Pages: [1] 2

Author Topic: idea for mpegplayer's voice disability (iriver h10)  (Read 5168 times)

Offline areeb

  • Member
  • *
  • Posts: 6
idea for mpegplayer's voice disability (iriver h10)
« on: October 05, 2006, 04:19:50 PM »
Hey,
I was just thinking about how the lack of audio with the mpegplayer could be overcome without actually coding the player so that it can retrieve audio from the video file. (And I'm not an expert btw so tell me if I'm totally off) Would it be possible to let audio files play in the background while watching mpegplayer output. Just like how you can browse while listening to music. In that way, we could manually extract the audio file and modify it to add a beep into it as a "start video playback" signal so that we can manually synchronize the output. I know it's desperate but I'm holding my breath for watching proper video on the h10!

(And I just noticed that this should have gone in the Plugins/Viewers section but it won't let me change the category after submitting  :()
« Last Edit: October 05, 2006, 04:22:18 PM by areeb »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #1 on: October 05, 2006, 04:20:44 PM »
The problem has nothing to do with it being hard to code it to retrieve audio from the video.

The problem is that right now it won't even be close to fast enough realtime with both audio and video decoding happening.
Logged

Offline areeb

  • Member
  • *
  • Posts: 6
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #2 on: October 05, 2006, 04:23:24 PM »
Really eh? What if the audio was at a very low bitrate? No?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #3 on: October 05, 2006, 04:27:15 PM »
For the H10 (and other portalplayer targets) the best solution would be to get the dual core architecture working properly.
Logged

Offline areeb

  • Member
  • *
  • Posts: 6
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #4 on: October 05, 2006, 04:34:39 PM »
How come you can play Doom with sound? Shouldn't that take more processing power than playing a simple video file?
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #5 on: October 05, 2006, 04:40:17 PM »
On what grounds do you have any information that suggests Doom requires more processing power (a game that ran on 386 PCs) than decoding an MPEG2 compressed video at a decent framerate?
Logged

Offline areeb

  • Member
  • *
  • Posts: 6
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #6 on: October 06, 2006, 12:08:43 AM »
yea you're right. I forgot that doom was able to run on such old machines. Ok well nevertheless, if you guys do get around to it just know that I'm holding my breath!
Logged

Offline miron73

  • Member
  • *
  • Posts: 3
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #7 on: October 17, 2006, 02:55:29 PM »
That's my first post so.. hi :)

Correct me if I'm wrong.

I suppose that H10 (and any other player) has it's own native, raw audio format that requires virtually no (read: very little) time to get 'decoded' and played. Maybe you should follow this path? You know - video requires re-encoding anyway (resize and format), so decoding audio to this raw format should not be a problem for end-user (i.e. me :)).

I'm completely newbie to embeeded devices (I own H10 for few days) so I may be completely wrong.

Regards

M.

PS. I think that mpegplayer is a really nice piece of work.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #8 on: October 17, 2006, 03:05:23 PM »
If that were the path to be chosen, there'd be little point in using compressed video either.

Uncompressed video and audio could be accomplished with respectable playback speed but the filesize cost makes it even sillier than compressed video on a portable audio player.
Logged

Offline miron73

  • Member
  • *
  • Posts: 3
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #9 on: October 17, 2006, 03:55:06 PM »
You are right, but... :)

1. Video seems to work now
2. Uncompressed audio should be smaller than uncompressed video
3. You said that performance is a problem

So... if the lack of the power is the only 'show-stopper'...

Of course using uncompressed audio may sounds funny (or even silly). But you have to remember that some of this devices wasn't even designed to decode video. IMHO it's acceptable solution.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #10 on: October 17, 2006, 04:53:39 PM »
Why not simply wait until optimizations can occur that will allow compressed  video with compressed audio.

The show stopper is a lack of anyone doing the work to get audio up and running and optimized. The lack of power is merely a hurdle, but one that should be overcome to do things "right", which is often considered important in this crowd.
Logged

Offline miron73

  • Member
  • *
  • Posts: 3
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #11 on: October 17, 2006, 05:17:51 PM »
I cannot say that I'm happy with that answer nor like it. But it's fair enough. Thanks. :)
Logged

Offline gnu

  • Member
  • *
  • Posts: 269
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #12 on: October 21, 2006, 03:02:16 PM »
Ipodlinux uses compressed video and uncompressed video for its mvpd format; it works very well. However, you have to set the audio rate to 16000 hz in order to get acceptable filesize...

I know this thread is about iriver h10, but on my ipod nano i get more than 20 frames per second. Wouldn't it be possible to miss out a few frames (12 frames per second would be more than enough) and use the resulting free CPU power to decode a WEAK audio compression? e.g. mp3 at 64 kbps ?

Just a thought...
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #13 on: October 21, 2006, 03:11:30 PM »
Ooooor, you could just have patience until the coprocessor is working, and wait for it to be done the right way.
Logged

Offline L

  • Member
  • *
  • Posts: 145
Re: idea for mpegplayer's voice disability (iriver h10)
« Reply #14 on: October 21, 2006, 04:24:37 PM »
Seriously, if watching video on a DAP is so important to you in the first place. Get one that does it by default.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  idea for mpegplayer's voice disability (iriver h10)
 

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

Page created in 0.092 seconds with 14 queries.