Pagina 1 di 2

mplayer e rtsp

Inviato: dom 7 giu 2009, 10:55
da Paoletta
ciao a tutti,
qualcuno riesce a visualizzare i filmati di questa pagina con mplayer? Se sì mi dite come? Thanks!

http://la1.rsi.ch/falo/

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 11:15
da conraid
con mplayer non mi vanno (uso mplayer della current, quello senza alcuni codec), ma con realplayer (del resto sono rm) cercano di partire, ma poi vedo un insieme di cose pixeloso con rumore di fondo

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 11:21
da sixjan
Io ho fatto così:

ho copiato l'indirizzo del link adsl:

http://helix-1.sri.ch/ramgen/tsi/falo/2 ... nd=25:34.0

ho scaricato:

wget http://helix-1.sri.ch/ramgen/tsi/falo/2 ... 09-450k.rm

poi

cat falo_06042009-450k.rm

e finalmente

mplayer rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm


ciao

EDIT:

mplayer compilato su slack 12.2

MPlayer SVN-r28135 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 3200+ (Family: 15, Model: 79, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 11:37
da Paoletta
ho provato anche io a fare come sixjan, ma l'errore che mi dà è il seguente:

Codice: Seleziona tutto

Error: Client error. Reply was: 461 Unsupported transport
OPEN Error from the server: Unsupported Transport
No stream found.

Closing libNemesi RTSP Stream...
                                                                                
No Connection to close
Error Closing Stream: Unsupported Transport

Exiting... (End of file)
ho preso mplayer da questo sito, non so spiegarmi l'errore

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 11:46
da sixjan
Provando l'indirizzo che a me funziona:

Codice: Seleziona tutto

rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm
hai lo stesso errore?

Tempo fa un altro utente aveva un problema simile con mplayer
scaricato da slacky e sempre con il protocollo rtsp://

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 12:26
da gohanz
Ci sono due possibilità di compilare il supporto rtsp in Mplayer. Una usando libnemesi e la seconda live555. Noi, a suo tempo, abbiamo scelto libnemesi perchè open. Ora bisognerebbe fare una test compilando Mplayer con solo il supporto per live555, si compila staticamente. Poi vedere se tutto funziona. Nel caso possiamo ricreare il pacchetto senza la dipendenza verso libnemesi.

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 12:33
da conraid
rimettendo i codec nella current vedo il file con mplayer della stessa current (adesso è nella slackware anche se senza il supporto a decss e con alcuni encoders disabilitati per motivi di licenze
non ho libnemesi installato, se è statico non saprei

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 12:36
da conraid
questo è l'output se interessa

Codice: Seleziona tutto

$ mplayer rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm
MPlayer r29328-4.3.3 (C) 2000-2009 MPlayer Team                                                 

Playing rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm.
Connecting to server 62.2.180.144[62.2.180.144]: 554...             
Cache size set to 640 KBytes                                        
Cache fill: 18.75% (122880 bytes)                                   
REAL file format detected.                                          
Stream description: video/x-pn-multirate-realvideo logical stream   
Stream mimetype: video/x-pn-realvideo                               
[real] Video stream found, -vid 0                                   
Stream description: audio/x-pn-multirate-realaudio logical stream   
Stream mimetype: audio/x-pn-realaudio                               
[real] Audio stream found, -aid 1                                   
VIDEO:  [RV30]  480x384  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
Clip info:                                                           
 name: Falo del 04.06.2009                                           
 author: TSI                                                         
 copyright: SRG SSR idee suisse                                      
==========================================================================
Opening video decoder: [realvid] RealVideo decoder                        
Win32 LoadLibrary failed to load: drvc.dll, /usr/lib/codecs/drvc.dll, /usr/lib/win32/drvc.dll, /usr/local/lib/win32/drvc.dll
Error loading dll                                                                                                           
ERROR: Could not open required DirectShow codec drvc.dll.                                                                   
Read the RealVideo section of the DOCS!                                                                                     
VDecoder init failed :(                                                                                                     
Opening video decoder: [realvid] RealVideo decoder                                                                          
Win32 LoadLibrary failed to load: drv33260.dll, /usr/lib/codecs/drv33260.dll, /usr/lib/win32/drv33260.dll, /usr/local/lib/win32/drv33260.dll                                                                                                                
Error loading dll                                                                                                             
ERROR: Could not open required DirectShow codec drv33260.dll.                                                                 
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.bundle/Contents/MacOS/drvc, /usr/lib/codecs/drvc.bundle/Contents/MacOS/drvc, /usr/lib/win32/drvc.bundle/Contents/MacOS/drvc, /usr/local/lib/win32/drvc.bundle/Contents/MacOS/drvc
Error loading dll
ERROR: Could not open required DirectShow codec drvc.bundle/Contents/MacOS/drvc.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drvc.so: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drvc.so, /usr/lib/codecs/drvc.so, /usr/lib/win32/drvc.so, /usr/local/lib/win32/drvc.so
Error loading dll
ERROR: Could not open required DirectShow codec drvc.so.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [realvid] RealVideo decoder
Error: /usr/lib/codecs/drv3.so.6.0: cannot open shared object file: No such file or directory
Win32 LoadLibrary failed to load: drv3.so.6.0, /usr/lib/codecs/drv3.so.6.0, /usr/lib/win32/drv3.so.6.0, /usr/local/lib/win32/drv3.so.6.0
Error loading dll
ERROR: Could not open required DirectShow codec drv3.so.6.0.
Read the RealVideo section of the DOCS!
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffrv30] vfm: ffmpeg (FFmpeg RV30)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4005->176400)
Selected audio codec: [ffcook] afm: ffmpeg (FFmpeg COOK audio)
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 480 x 384 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 480x384 => 480x384 Planar YV12
A:   2.2 V:   2.2 A-V:  0.004 ct: -0.030  57/ 57 44%  3%  5.4% 10 0 4%
Exiting... (Quit)

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 18:16
da gohanz
Quindi se ho ben capito Mplayer della current legge correttamente gli stream srtp?

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 18:31
da targzeta
Anche a me con:

Codice: Seleziona tutto

mplayer "rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm"
va tutto bene. Però io di mplayer seguo la versione current via svn.
Nota che sono su una Slamd64 e che quindi non faccio uso dei codec a 32 bit.

Emanuele

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 19:56
da gohanz
Ok allora credo che bisognerebbe ricompilare Mplayer con l'ultima svn. Quindi senza supporto libnemesi o live555. Forse hanno cambiato il codice.

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 20:15
da Blallo
avete provato ad installare i w32 codecs?

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 20:30
da gohanz
jimmy_page_89 ha scritto:avete provato ad installare i w32 codecs?
Si sembra più errore di protocollo che di codec. Ora sto provando a ricompilare Mplayer senza libnemesi.

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 20:58
da SIV
Ragazzi ho tentato di installare mplayer da svn con:

Codice: Seleziona tutto

svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd mplayer/
svn update
./configure
make
make install
Nessun errore ma come prima, se tento di visualizzare quel video, stesso errore di Paoletta:

Codice: Seleziona tutto

root@darkstar:~# mplayer "rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm"
MPlayer SVN-r29351-4.2.3 (C) 2000-2009 MPlayer Team
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.

Playing rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm.
Stream not seekable!
 file format detected.
Initializing libNemesi
Opening: rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm
Error: Client error. Reply was: 461 Unsupported transport
OPEN Error from the server: Unsupported Transport
No stream found.

Closing libNemesi RTSP Stream...
                                                                                
No Connection to close
Error Closing Stream: Unsupported Transport

Exiting... (End of file)
root@darkstar:~# 

Re: mplayer e rtsp

Inviato: dom 7 giu 2009, 21:16
da gohanz
Il problema è proprio libnemesi. Ho ricompilato Mplayer senza libnemesi e senza live555. Adesso tutto funziona correttamente.
Bisogna rifare il pacchetto. #-o

Codice: Seleziona tutto

mplayer#     mplayer "rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm"
MPlayer SVN-r29352-4.2.4 (C) 2000-2009 MPlayer Team
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.

Playing rtsp://62.2.180.144:554/tsi/falo/2009/falo_06042009-450k.rm.
Resolving 62.2.180.144 for AF_INET6...
Couldn't resolve name for AF_INET6: 62.2.180.144
Connecting to server 62.2.180.144[62.2.180.144]: 554...
Cache size set to 640 KBytes
Cache fill: 18.75% (122880 bytes)   
REAL file format detected.