LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-05-2005, 05:32 PM   #1
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Rep: Reputation: 15
FC4 Mplayer playing over RTSP


Hi all!

I am trying to play a quicktime movie (*.mp4) from a website though RTSP using mplayer. I've been fighting with it all day long and finally gave up. This is the error messages from

mplayer -v rtsp://filename.mp4
MPlayer 1.0pre7-3.2.3 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE



CommandLine: '-v' 'rtsp://filename.mp4'
init_freetype
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Using nanosleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed: 59 binds
get_path('filename.mp4.conf') -> '/root/.mplayer/filename.mp4.conf'
Playing rtsp://filename.mp4.
Filename for url is now rtsp://filename.mp4
Filename for url is now rtsp://filename.MP4
Resolving streaming.neterra.net for AF_INET6...
Couldn't resolve name for AF_INET6: streaming.neterra.net
Resolving streaming.neterra.net for AF_INET...
Connecting to server streaming.neterra.net[62.67.36.51]:554 ...
Cache size set to 8192 KBytes
Connected to server: streaming.neterra.net
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:0
Cache fill: 9.96% (835584 bytes) Checking for REAL
REAL file format detected.
real: Header size: 18
real: Header object version: 0
real: File version: 0
Chunk: PROP (504f5250) (size: 0x32, offset: 0x12)
First index chunk offset: 0x0
First data chunk offset: 0xdc
Chunk: CONT (544e4f43) (size: 0x12, offset: 0x44)
Chunk: MDPR (5250444d) (size: 0x3b, offset: 0x56)
Found new stream (id: 0)
Stream mimetype: video/MP4V-ES
Unknown video stream format
### skipping 0 bytes of codec info
Chunk: MDPR (5250444d) (size: 0x41, offset: 0x91)
Found new stream (id: 1)
Stream mimetype: audio/mpeg4-generic
Unknown audio stream format
### skipping 0 bytes of codec info
Chunk: DATA (41544144) (size: 0x0, offset: 0xd2)
demux_real: invalid chunksize! (0)
Packets in file: -2147483648
No stream found.

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

Can anyone shed some light on what the problem is here???
Thanks!
 
Old 11-08-2005, 03:39 AM   #2
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hello,

I think you haven't installed the needed codec to decode MP4V-ES.

Do you have the "libquicktime" installed? and all of the win32codecs?
 
Old 11-08-2005, 08:21 PM   #3
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
I have all the win32 codecs but not sure about libquicktime .. after installing so many things I dont know what to be sure about.. Where do u get libquicktime from?
 
Old 11-09-2005, 12:38 AM   #4
karpi
Member
 
Registered: Oct 2005
Location: Germany
Distribution: Suse
Posts: 134

Rep: Reputation: 15
Hello,

and a good morning from Germany.

try http://www.rpmseek.com

or http://packman.links2linux.de (german, but very good for multimedia)

If MP4 is a very new codec then you must wait for a linux port.
 
Old 11-09-2005, 11:03 AM   #5
don_dimo
Member
 
Registered: Oct 2003
Location: Blacksburg, VA
Distribution: Fedora Core 2 (kde)
Posts: 144

Original Poster
Rep: Reputation: 15
Thanks for the links! I checked from the installation procedure that I followed and actually I do have those installed.

Now there is another method that maybe someone will shed more light on here. You can simply do this:

#mplayer -dumpstream -dumpfile [filename] rtsp://stream.......

This will actually get the remote file - [filename] is a name that u give it to be saved on your local hd. I tried that and it connected successfully, downloaded an 80Mb file but I still cannot play it .. the same error appears about "no stream found".

Here is the site that explains how to watch movies over rtsp:

http://www.infoanarchy.org/wiki/inde...uicktime/Linux


So do u have to reencode the downloaded file to smth else or ...??
 
  


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
FC4 Mplayer playing over RTSP don_dimo Linux - General 2 11-23-2005 01:11 PM
use < and > when playing cds in mplayer kram Linux - Software 1 08-18-2005 10:56 AM
Playing videos with mplayer Danny M Linux - Newbie 2 02-03-2005 01:50 AM
mplayer and playing DVDs RKY60 Linux - Newbie 7 10-14-2003 09:33 PM
mplayer not playing video pankajmathur Linux - Software 1 05-12-2003 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 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
Open Source Consulting | Domain Registration