[MPlayer-users] How do I debug this one? mplayer ftp problem
Dave Saville
dave at deezee.org
Tue Oct 1 10:52:10 CEST 2013
On Mon, 30 Sep 2013 19:59:03 +0200 houghi wrote:
>
> On Mon, Sep 30, 2013 at 06:23:07PM +0100, Dave Saville wrote:
>> A little background. I have a Topfield 5800 PVR. It is front ended
>> by an Asus NSLU2 which makes the Topfield accessible from the LAN
>> via FTP. The Topfield's files are ".rec" but are actually a
>> transport stream. Mplayer has no problem playing them thus:
>>
>> mplayer ftp://foo:bar@slug/DataFiles/some_recording.rec
>>
>> I recently bought a Raspberry Pi and tried to do the same. The Pi
>> has the latest Raspbian OS and the latest mplayer for that platform.
>> MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012
>> MPlayer Team
>
> Here is what I would do:
> 1) Post the commandline AND the output, even if it stops halfway
pi at raspbpi-radio:~$ ftp slug
Connected to slug.bear.den.
220 SLUG FTP server (Topfield ftpd 0.7.7) ready.
Name (slug:pi):
331 Guest login ok, type your name as password.
Password:
230 Guest login ok, access restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd DataFiles
250 CWD command successful.
ftp> ls
200 PORT command sucessful.
150 Opening ASCII mode data connection for 'file list'.
drwxr-xr-x 1 none none 0 Jan 1 1970 ..
drwxr-xr-x 1 none none 0 Jan 1 2003 Films
-rw-r--r-- 1 none none 2410442752 Apr 19 09:30 Foyle's War
130324.rec
-rw-r--r-- 1 none none 2514014208 Apr 19 10:48 Foyle's War
130331.rec
-rw-r--r-- 1 none none 2449426432 Apr 19 12:11 Foyle's War
130407.rec
-rw-r--r-- 1 none none 984410112 Jun 3 16:58 Future
Weapons_20130603.rec
-rw-r--r-- 1 none none 977094656 Jun 6 16:58 Future
Weapons_20130606.rec
-rw-r--r-- 1 none none 1333434368 Aug 10 18:58 Grand
Designs_20130810.rec
-rw-r--r-- 1 none none 2346047488 Sep 28 18:58 Marvel's Agents
of S.H.I.E.L.D. 130928 1900.rec
-rw-r--r-- 1 none none 2600548352 Apr 20 12:28 Midsomer
Murders_20042013.rec
-rw-r--r-- 1 none none 2491105280 Apr 18 14:00 Midsomer
Murders_20111026.rec
-rw-r--r-- 1 none none 1841999872 Apr 18 15:16 Midsomer
Murders_20120321.rec
-rw-r--r-- 1 none none 524873728 Apr 18 16:12 Midsomer
Murders_20120627.rec
-rw-r--r-- 1 none none 2721157120 Apr 18 16:27 Midsomer
Murders_20130102.rec
-rw-r--r-- 1 none none 2501404672 Apr 18 17:55 Midsomer
Murders_20130109.rec
-rw-r--r-- 1 none none 2723274752 Apr 18 19:17 Midsomer
Murders_20130130.rec
-rw-r--r-- 1 none none 1095297024 Sep 30 22:35 NCIS.rec
-rw-r--r-- 1 none none 504381440 Sep 30 21:58 New:
NCIS_20130930.rec
-rw-r--r-- 1 none none 1771110400 Apr 16 14:08 Roy Orbison.rec
-rw-r--r-- 1 none none 1382043648 Sep 30 21:58 Under The
Dome_20130930.rec
-rw-r--r-- 1 none none 1656950784 Jul 31 20:58 Who Do You Think
You _20130731.rec
-rw-r--r-- 1 none none 1590534144 Aug 7 20:58 Who Do You Think
You _20130807.rec
-rw-r--r-- 1 none none 1471657984 Sep 16 22:33 Who Do You Think
You _20130916.rec
226 Transfer complete.
ftp> quit
221 Goodbye.
pi at raspbpi-radio:~$ mplayer -v ftp://foo:bar@slug/DataFiles/NCIS.rec
MPlayer svn r34540 (Debian), built with gcc-4.6 (C) 2000-2012 MPlayer Team
CPU: ARM
get_path('codecs.conf') -> '/home/pi/.mplayer/codecs.conf'
Reading optional codecs config file /home/pi/.mplayer/codecs.conf: No such
file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: No such file
or directory
Using built-in default codecs.conf.
init_freetype
Using Unoptimized OnScreenDisplay
get_path('fonts') -> '/home/pi/.mplayer/fonts'
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc
--enable-menu --disable-arts --language=all --disable-dvdread-internal
--disable-libd
vdcss-internal --disable-libmpeg2-internal --disable-ffmpeg_a
--enable-debug --enable-joystick --disable-gui
CommandLine: '-v' 'ftp://foo:bar@slug/DataFiles/NCIS.rec'
Using nanosleep() timing
get_path('input.conf') -> '/home/pi/.mplayer/input.conf'
Reading optional input config file /home/pi/.mplayer/input.conf: No such
file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 92 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
get_path('NCIS.rec.conf') -> '/home/pi/.mplayer/NCIS.rec.conf'
Playing ftp://foo:bar@slug/DataFiles/NCIS.rec.
get_path('sub/') -> '/home/pi/.mplayer/sub/'
Resolving slug for AF_INET...
Connecting to server slug[192.168.0.106]: 21...
[ftp] < 220 SLUG FTP server (Topfield ftpd 0.7.7) ready.
[ftp] > USER foo
[ftp] < 331 Guest login ok, type your name as password.
[ftp] > PASS bar
[ftp] < 230 Guest login ok, access restrictions apply.
[ftp] > TYPE I
[ftp] < 200 Type set to I.
[ftp] > SIZE DataFiles/NCIS.rec
[ftp] < 213 1095297024
Streams need a type!
STREAM: [ftp] ftp://foo:bar@slug/DataFiles/NCIS.rec
STREAM: Description: File Transfer Protocol
STREAM: Author: Albeu
STREAM: Comment: reuse a bit of code from ftplib written by Thomas Pfau
[ftp] > PASV
[ftp] < 227 Entering Passive Mode (192,168,0,106,16,11)
[ftp] > RETR DataFiles/NCIS.rec
[ftp] < 150 Opening BINARY mode data connection for 'DataFiles/NCIS.rec'
(1095297024 bytes).
libavformat version 53.21.1 (external)
Mismatching header version 53.19.0
Configuration: --arch=arm --enable-pthreads --enable-runtime-cpudetect
--extra-version='6:0.8.6-1+rpi1' --libdir=/usr/lib/arm-linux-gnueabihf
--prefix=
/usr --disable-yasm --enable-bzlib --enable-libdc1394 --enable-libdirac
--enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm
--enable-l
ibmp3lame --enable-librtmp --enable-libopencv --enable-libopenjpeg
--enable-libpulse --enable-libschroedinger --enable-libspeex
--enable-libtheora --en
able-vaapi --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib
--enable-gpl --enable-postproc --enable-swscale --enable-libcdio
--enable-x1
1grab --enable-libx264 --enable-libxvid
--shlibdir=/usr/lib/arm-linux-gnueabihf --enable-shared --disable-static
LAVF_check: MPEG-2 transport stream format
[ftp] read timed out
[ftp] Server didn't abort correctly:
Seek failed
[ftp] read timed out
MPlayer interrupted by signal 2 in module: demux_open
[ftp] read timed out
MPlayer interrupted by signal 2 in module: demux_open
pi at raspbpi-radio:~$
The read time outs keep happening until I hit CTRL-C twice. See the two sig
2's above.
> 2) Be sure the file I want to play, plays localy
It does .
> 3) Try to get to the file in a differnt way. e.g. mounting it over ssh
> with sshfs
Not an option. The Asus/Topfield interface is FTP only.
> 4) FTP to it and see if there are any other problems using 'normal' ftp.
There aren't any.
--
Kind regards
Dave Saville
More information about the MPlayer-users
mailing list