LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-05-2015, 04:40 PM   #1
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Rep: Reputation: 106Reputation: 106
mplayer song length limit


(Raspberry Pi Model B)
I have a really long audio file I'd like to play.
It's 10 hours long (white noise)

However, when playing it with mplayer it only gets to 4 hours before determining it's now end of file.

Code:
A:14360.8 ( 3:59:20.8) of 36080.8 (10:01:20.7)  7.2


Exiting... (End of file)
I know the audio file isn't corrupted past this point since I can fast-forward to 3:59:00:0 and let it play and it works fine (at least for the 2m I let it play)

I could in theory break up the file into 3.5 chunks to stay below the limit but I'm wondering if this is a inherent limitation of mplayer (didn't expect 4hr+) or if it's a bug.

Last edited by Miati; 03-05-2015 at 04:45 PM.
 
Old 03-05-2015, 07:12 PM   #2
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 356

Rep: Reputation: 43
Sounds like a mplayer feature. Perhaps a 32 bit counter is overflowing?

Try the mplayer mailing list.

https://lists.mplayerhq.hu/mailman/l.../mplayer-users

Last edited by pwalden; 03-06-2015 at 12:51 AM.
 
Old 03-05-2015, 11:03 PM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
What type of file it is? What format?
 
Old 03-05-2015, 11:15 PM   #4
Miati
Member
 
Registered: Dec 2014
Distribution: Linux Mint 17.*
Posts: 326

Original Poster
Rep: Reputation: 106Reputation: 106
It's an audio file ogg format (vorbis)
 
Old 03-05-2015, 11:58 PM   #5
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Did you tried ogg123?

And yea mplayer has very nice ui.
 
Old 03-06-2015, 12:57 AM   #6
pwalden
Member
 
Registered: Jun 2003
Location: Washington
Distribution: Fedora FC23, Raspbian, Ubuntu Precise via Chrome/Crouton
Posts: 356

Rep: Reputation: 43
The mplayer-users mailing list had this posted on 4/10/2009

Quote:
Re: [MPlayer-users] wav file size limit
Reimar Dffinger wrote:
>> I see that the wav file is over 2GB, and mplayer says:
>> File larger than allowed for WAV files, may play truncated!
>
> Read the oggenc manual, it has an option for that case.

Indeed --ignorelength allows the processing of large files.

(The debian stable vorbis-tools package did not have a new enough
oggenc in it. Proper installation of the sources was not
straightforward, in that I could not generate a package using the
debian/rules coming with vorbis-tools.)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RedHat cluster service name length limit? MichelleL Red Hat 2 10-18-2014 12:31 AM
Force mplayer to play song once mentalDisorder Linux - Software 3 06-07-2012 02:51 PM
Limit a string length for translation? mic Programming 3 01-20-2006 06:58 PM
is there any limit for string length in basic_string? pippet Programming 13 02-01-2005 06:58 AM
mplayer random song LinuxLala Linux - Software 4 11-28-2003 02:24 PM


All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration