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.


Similar Content



Script Persistently Lowering Mplayer Volume

I have a similar script as follows

Code:
(sleep 5m; echo "set_property volume 85 > "fifo_file")&

mplayer -volume 95 -quiet -slave -input file="fifo_file" song1 song2 song3

This makes the current song change volume to 85 after the 5 minute sleep period, but any songs after that revert to 95.

I want to keep it at volume 85 until the mplayer command completes but start at 95 until changed.

Is this possible?

Is There A Way To See The Current Frames Playing In The Video?

hi

Mplayer is my main video player and I always use the command line with mplayer to play the videos.

From the terminal it shows the stats about the video as it is playing. At the bottom it shows the elapsed time in seconds. Is there a way to see elapsed frames instead of seconds?

If mplayer can't do it, I'm open to other players if they do it. Thanks

Mplayer Install Problem

dear friends, I've spent many hours trying to install mplayer, Idownloaded the binary codecs and put them in usr/local/lib/codecs, but I couldn't install mplayer source, I used ./configure --enable-gui ,then I tried apt-get install mplayer, just to be informed, I set up all permissions by chmod comand. Could anybody please help me, as I siad, i spent many hours (more than mounth 4 hours a day) I use ubuntu 8

Perl One Liner To Delete Line In Csv File If One Columns Is Toobig

I have a little bash script that cats out a file and tells me if there is a line
where the 11th column has more than 6 characters in it.
It emails me where there is a bad line in a file - bead meaning that it will break a
donwstream process.

anyhow when i get the email saying that there is a bad file i just log in to the pc via
vpn and the I sed out the lines from the file that I get in the email. The bad lines are
always in danny.csv not danny1.csv
It has been the same lines killing the downstream process for a few weeks, so i put the "sed -i's" into
the script and it does it automagically.

[CODE]
for i in danny.csv danny1.csv
do
cat /come/and/play/with/$i | perl -ne 'print if length((split /,/)[10]) > 6' | mail -s "danny.csv bad line" casper@casperr.com
done

#it would be nice to find a perl change the file in place
sed -i '/D,642,0642,UBF,EVL,,M,,S,S,FOREVER,213,213,/d' /come/and/play/with/us/danny.csv
sed -i '/D,642,0642,UBF,EVL,,M,,S,S,QSP-U=C,4,4,/d' /come/and/play/with/us/danny.csv
[CODE]

However when a new line gets put into this file, I am going to have to log in and take out the line.
SO I have been trying to write a perl one liner that will edit the file in place, like sed, and make a
backup of the file. I just need a perl one liner that will delete any line where the 11th columns has more
than 6 characters in it.
[CODE]
perl -p -i.bak -e 's/\,\w{7}\,//g - which does not work.
[CODE]
I tried something like this:

[CODE]
perl -nle 'print if /\,\w{7}\,/' /come/and/play/with/us/danny.csv
[CODE]
but that does not catch the QSP-U=C and it catches more lines than just the
FOREVER. for a solutinog I need to focus on the the 11th column.

Would Mounting A File System 'tree' To /mnt Create A Bottleneck?

A little embarassed to even ask this, but...

In the last few evenings, a typical Linux session has been creating a root file system on an SD card, mounted on /mnt/sd2 (partition2 of card). At the same time watching a movie from the HD, mounted at /mnt/HD.

I was wondering if everything going through /mnt might be slowing things down at all. The answer should be 'no' since everything is mounted to 'root' and that doesn't seem to be a problem, but maybe /mnt is handled differently than root.

Just ran an experiment with 'top' and seeing what is happening with mplayer and debian bootrap:

Code:
5562 walter    20   0 62980  23m 9.8m R  38.0  2.7   4:01.75 mplayer
 1852 root      20   0 32048  12m 3728 S   3.0  1.4   2:08.92 Xorg
 2020 walter    20   0  276m  14m   9m S   2.0  1.7   1:32.03 gnome-mplayer
 2070 root      20   0     0    0    0 D   1.0  0.0   0:25.22 mmcqd/0

Can't really tell much from this, except that 'mmcqd/0' must be the bootstrap program unpacking things in the sd card. It kind of begs dumb question number 2: the unpacking process is crawling down the terminal screen, why is it not using more cpu to speed itself up? Must be the sd card can only accept writing to it at that speed, average about 1 second per package? Can't pull the card out at the moment, but pretty shure it's class 10, although suspiciously cheap from Eb.

How To Shrink A Large Audio Ogg File

I would like to learn how to create a zip file. The word zip file is a Windows/Microsoft word. I do not know what word is used in Linux OS.
What I am trying to do is send a copy of an internet radio show. The show is two hours long. When I try to attach the audio file to an email. I am told the file is too large.
I have permission from the host of the radio show to make a copy and send it to a friend.

Undefined Symbol In Preprocessor In Mixed C/Asm Build

Hi,
I am trying to understand MPlayer, and am currently rebuilding some of its source code which includes C and asm files.

Most of the preprocessor symbols are defined in the config.h file, created by the configure script.

In the C files, these symbols are visible in the source by including the config.h header file.

However, in the asm files, I don't see any of such inclusion. Since the asm files also use these preprocessor symbols (e.g. ARCH_X86_64), how are they made visible during the build of the asm files?

When I try building the asm source myself, I get many errors such as:
undefined symbol `ARCH_X86_64' in preprocessor

I was wondering how this is to be done, or if someone knows specifically how this is done in the Mplayer build ?

Again, many thanks for any help you can provide!

PD.

Using Ffmpeg To Fade In Audio, BUT Original Audio From Video Is Gone

Hi

I am trying to fade in audio at 39 seconds into the video with existing audio.

It did work, the mp3 file fades in at 39 seconds, however the original audio from the video is silence or removed.

Here is the code I've use.

Code:
ffmpeg -i audio.mp3 -i test.mp4 -c:v copy -strict experimental -shortest -af 'afade=t=in:st=39' test.mp4

How can I fix this? Thanks

Playing Avi Files In Linux

Hi, I'm fairly new to Linux. I want to be able to play large avi files (~2GB) on a Red Hat Linux machine. I need to be able to step forward and backwards in the file a frame at a time and to capure selected frames as pictures. The ability to vary the play back speed would also be nice but not necessary. Can anyone suggest a suitable program to do this? Thanks.

No Sound On Debian Live Usb Using Pavucontrol And ATI RS880 [Radeon HD 4200] Audio

Hello everyone.
The sound isn't working on my debian live usb.
I've installed pavucontrol hoping that this would turn on the sound somehow. But it hasn't.

The program is showing RS880 HDMI audio [Radeon HD 4200] as my output device.
The play back bar moves when I play video on youtube but there is no sound.
On the configuration tab, I've tried all the options under 'built-in audio' - but none of these seem to work.


aplay -l

Code:
 
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Don't know why there are 3 playback devices...

lspci | grep -i audio

Code:
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]

Not sure why there appears to be two sound cards...

On a Ubuntu site about a similar problem with the same sound card, they suggest creating /etc/asound.conf and adding code to it http://ubuntuforums.org/showthread.php?t=1647400
However, at this point, I'm a bit lost.
Can someone help please?