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 player crashed everything
« previous next »
  • Print
Pages: [1] 2

Author Topic: MPEG player crashed everything  (Read 7094 times)

Offline Demonic Goldfish

  • Member
  • *
  • Posts: 6
MPEG player crashed everything
« on: July 12, 2007, 10:40:44 PM »
[EDIT]: I managed to reboot it, but still no dice when it comes to playing this video: hangs indefinitely on a black screen.

Hi all. I have looked for similar problems, but have found none.

A few minutes ago I installed Rock Box on my iPod Nano, booted up, and everything was fine. So I stuck a newly converted 895MB .mpg file on there, and played it. The screen went black, and I realised I had no 'phones plugged in, so I plugged some in. I waited. The screen stayed black. No sound, nothing. So I rebooted the iPod, it booted back into Rock Box, everything was fine. Then I tried to play the video again, and the iPod rebooted. It's still stuck on the boot screen, where it shows the Apple logo, no backlight, and it is completely unresponsive. I can't boot into disk mode, it doesn't mount, nothing.

Does anyone know what could be going wrong here?

Cheers, DG :D
« Last Edit: July 12, 2007, 10:45:51 PM by Demonic Goldfish »
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: MPEG player crashed everything
« Reply #1 on: July 12, 2007, 10:48:00 PM »
There's some information here you can read up on:

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

Also note that Mpegplayer still occasionally chokes on larger files. I've tested MPEGs up to 130MB in size (usually 22 minutes episodes of animated shows), and Mpegplayer runs nicely. But my iPod did choke when I tried a 1-hour movie that weighed in at around 760MB.

Try some smaller file sizes, but also try the Elephants Dream short that's available on the above page. It makes for a great benchmark tester, but it's also pretty entertaining to watch in its own right.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: MPEG player crashed everything
« Reply #2 on: July 12, 2007, 10:55:43 PM »
I've played movie files over 1.5gb without a problem while testing things.

AFAIK, anything over the initial buffer size should either work, or not work, any size beyond that should be irrelevant (I believe).
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: MPEG player crashed everything
« Reply #3 on: July 12, 2007, 10:58:08 PM »
Quote from: Llorean on July 12, 2007, 10:55:43 PM
I've played movie files over 1.5gb without a problem while testing things.

I guess mine was a case of "Your mileage may vary". Since I don't use Mpegplayer very often, I never bothered trying any larger files lately. Thanks for the insight, Llorean.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: MPEG player crashed everything
« Reply #4 on: July 12, 2007, 11:04:10 PM »
The large file that's giving problems may simply have something else about it that mpegplayer doesn't like, and it's merely coincidence that it's large.

I personally have almost exclusively used ffmpeg (by way of WinFF) to encode files I've actually used for either personal playback, or various framerate testing, etc. It's become very clear though that other encoders are very clever at finding ways to trip up mpegplayer (and ffmpeg was too, for that matter).
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2273
  • /usr/local/bin/weirdo
    • The Nostalgia Roadtrip
Re: MPEG player crashed everything
« Reply #5 on: July 12, 2007, 11:26:54 PM »
On my end, I usually use VLC, having rewrote the script available from the Mpegplayer wiki page for Linux. One plus is that it's easy to feed files to VLC this way, but one huge minus is that VLC mucks up on any file that wasn't an MPEG to begin with; I've sent AVIs, DivX-encoded AVIs, QuickTime movies, and even a couple of XviD videos, only to end up with just one huge audio track and absolutely no video.

If ffmpeg works as well as everyone says it does, then so be it! I'll take the plunge and give it a shot.
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: MPEG player crashed everything
« Reply #6 on: July 13, 2007, 12:04:25 AM »
Quote from: LambdaCalculus379 on July 12, 2007, 11:26:54 PM
On my end, I usually use VLC, having rewrote the script available from the Mpegplayer wiki page for Linux.

I personally use mencoder.

Quote
If ffmpeg works as well as everyone says it does, then so be it! I'll take the plunge and give it a shot.

It shouldn't really matter whether you use mencoder, VLC or ffmpeg. Since they all use avcodec and avformat from ffmpeg (now maintain  on the mplayer servers). FWIW, here is my batch transcoding script using mencoder. Put it on the wiki page if you want.  

Charles



[attachment deleted by admin for age]
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: MPEG player crashed everything
« Reply #7 on: July 13, 2007, 12:09:48 AM »
Well I've found that VLC and... umm, one other program I tried though I can't remember if it was mencoder or not, don't handle framerate well. Specifically, there are several fractions used by different codecs to represent 29.97, and with VLC especially, if your input video isn't the 29.97 it's expecting, your output MPEG-2 will have audio but no video. Using the ffmpeg binary, it will handle this situation properly (in my experience).

This if course isn't a problem if you manually set a framerate, but if you don't on the assumption that the video is already a good framerate you end up with unusable files in many cases, where ffmpeg seems to pick the nearest good framerate (for me at least).

So it may not be so much the encoder itself as both the decoder and what parameters are internally given to the encoder.
Logged

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: MPEG player crashed everything
« Reply #8 on: July 13, 2007, 12:32:14 AM »
Quote from: Llorean on July 13, 2007, 12:09:48 AM
Well I've found that VLC and... umm, one other program I tried though I can't remember if it was mencoder or not, don't handle framerate well.

Don't know about VLC since I don't use it. However, I frequently encode videos with non-standard Framerate with mencoder with no problems.  YMMV though since my mplayer/mencoder is compiled from SVN every couple of days.

Quote
So it may not be so much the encoder itself as both the decoder and what parameters are internally given to the encoder.

True.

As a side note, can I ask for Wiki editing permission here or should I go on IRC? I am not a big IRC user.

Charles
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: MPEG player crashed everything
« Reply #9 on: July 13, 2007, 02:54:12 AM »
IRC is the easiest and quickest way to get it - although if you don't mind posting your wiki name here I'll be happy to set it up for you.
Logged

Read The Manual Please

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: MPEG player crashed everything
« Reply #10 on: July 13, 2007, 03:01:30 AM »
Quote from: GodEater on July 13, 2007, 02:54:12 AM
IRC is the easiest and quickest way to get it - although if you don't mind posting your wiki name here I'll be happy to set it up for you.

Thanks GodEater. my Wiki name is CharlesPhilipChan.

Charles
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: MPEG player crashed everything
« Reply #11 on: July 13, 2007, 03:14:17 AM »
Done - you have edit rights.
Logged

Read The Manual Please

Offline cpchan

  • Member
  • *
  • Posts: 198
Re: MPEG player crashed everything
« Reply #12 on: July 13, 2007, 03:30:36 AM »
Quote from: GodEater on July 13, 2007, 03:14:17 AM
Done - you have edit rights.

Thanks, GodEater.

Charles
Logged

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: MPEG player crashed everything
« Reply #13 on: July 13, 2007, 03:34:45 AM »
np ;)
Logged

Read The Manual Please

Offline Demonic Goldfish

  • Member
  • *
  • Posts: 6
Re: MPEG player crashed everything
« Reply #14 on: July 13, 2007, 10:09:35 AM »
Thanks for the help guys.

I tried using a different converter, but even a 50MB 5 minute clip doesn't work. I tried to DL elephant's dream, but if I clicked any of the links, I crashed, and it says the torrent is missing. Any ideas?
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  MPEG player crashed everything
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.034 seconds with 18 queries.