|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
problema:MPlyaer + live
ciao a tutti,
ho compliato ed installato Mplayer e la libreria live (per lo streaming). Quando lancio mplayer con l'indirizzo rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm mi viene dato un errore, come posso fare????
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
qualè piu precisamente l'errore ??
puoi riportare il log di mplayer -v rtsp://.... ho provato adesso e sto ascoltando tranquillamente radio deejay. ciao ![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Devi compilare _prima_ le liveMedia e poi mplayer, specificando il percorso delle liveMedia (v. ./configure --help)
Hai fatto così?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
gianni@gianni-linux:~> mplayer -v rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm
Using GNU internationalization Original domain: messages Original dirname: /usr/share/locale Current domain: mplayer Current dirname: /usr/local/share/locale MPlayer 0.90rc4-3.3 (C) 2000-2003 Arpad Gereoffy (see DOCS) CPU: Advanced Micro Devices (Family: 6, Stepping: 0) 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 Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory Reading config file /home/gianni/.mplayer/config Reading /home/gianni/.mplayer/codecs.conf: can't open '/home/gianni/.mplayer/codecs.conf': No such file or directory Reading /usr/local/etc/mplayer/codecs.conf: 50 audio & 135 video codecs CommandLine: '-v' 'rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm' get_path('font/font.desc') -> '/home/gianni/.mplayer/font/font.desc' font: can't open file: /home/gianni/.mplayer/font/font.desc Font /usr/local/share/mplayer/font/font.desc loaded successfully! (200 chars) Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay Failed to open /dev/rtc: Permission denied (mplayer should be setuid root or /dev/rtc should be readable by the user.) Using usleep() timing get_path('input.conf') -> '/home/gianni/.mplayer/input.conf' Can't open input config file /home/gianni/.mplayer/input.conf : No such file or directory Can't open input config file /usr/local/etc/mplayer/input.conf : No such file or directory Falling back on default (hardcoded) input config Setting up LIRC support... mplayer: could not connect to socket mplayer: Permission denied Failed to open LIRC support. You will not be able to use your remote control. get_path('radiodeejay.rm.conf') -> '/home/gianni/.mplayer/radiodeejay.rm.conf' Playing rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm Connected to server: realserver.deejay.it Stream not seekable! Sending request: DESCRIBE rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm RTSP/1.0 CSeq: 1 Accept: application/sdp User-Agent: MPlayer (LIVE.COM Streaming Media v2003.09.24) Received DESCRIBE response: RTSP/1.0 200 OK CSeq: 1 Date: Sat, 27 Sep 2003 11:56:49 GMT Set-Cookie: cbid=ffgjfhjicgdfhldmeokrppkterjrktlufkdgkidljjikjlplinorqpmtmoqnntmucfhjimil;path=/;expires=Thu,31-Dec-2037 23:59:59 GMT vsrc: http://realserver.deejay.it:80/views...Ef59v6zgA7oA10 X-TSPort: 7802 Content-base: rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm/ Content-type: application/sdp Content-length: 2539 Need to read 2539 extra bytes Read 933 extra bytes: v=0 o=- IN IP4 213.92.17.120 s=Radio Deejay Live i=Kataweb S.p.a. Elemedia S.p.a. c=IN IP4 0.0.0.0 b=AS:48 t=0 0 a=SdpplinVersion:1610642970 a=Flags:integer;2 a=AvgBitRate:integer;47890 a=DataOffset:integer;1173 a=AvgPacketSize:integer;600 a=IsRealDataType:integer;1 a=LiveStream:integer;1 a=Preroll:integer;2229 a=StreamCount:integer;1 a=Indexable:integer;1 a=MaxPacketSize:integer;600 a=MaxBitRate:integer;47890 a=NumInterleavePackets:integer;0 a=IndexOffset:integer;0 a=Title:buffer;"UmFkaW8gRGVlamF5IExpdmUA" a=Copyright:buffer;"RWxlbWVkaWEgUy5wLmEuAA==" a=Author:buffer;"S2F0YXdlYiBTLnAuYS4A" a=Comment:buffer;"AA==" a=Modification Date:string;"9/26/2003 14:33:27" a=Content Rating:string;"(PICS-1.1 \"http://www.classify.org/safesurf\" labels comment \"\" ratings (SS~~000 1))" a=Generated By:string;"RealProducer Plus 8.5.0.200 Windows" a=Keywords:string;"" a=Target Audiences:string;"28K Modem (20 Kbps);56K Modem (34 Kbps) Read 1448 extra bytes: ;" a=Abstract:string;"" a=Audio Format:string;"No Audio" a=Video Quality:string;"No Video" a=Creation Date:string;"9/26/2003 14:33:27" a=range:npt=0- m=audio 0 RTP/AVP 101 b=AS:21 a=control:streamid=0 a=range:npt=0- a=length:npt=0 a=rtpmap:101 x-pn-multirate-realaudio-live a=mimetype:string;"audio/x-pn-multirate-realaudio-live" a=MinimumSwitchOverlap:integer;200 a=StartTime:integer;0 a=AvgBitRate:integer;20672 a=AvgPacketSize:integer;600 a=SeekGreaterOnSwitch:integer;0 a=Preroll:integer;4458 a=IsInterleaved:integer;9 a=MaxPacketSize:integer;600 a=MaxBitRate:integer;20672 a=RMFF 1.0 Flags:buffer;"AAYAAgAAAAIAAAACAAA=" a=OpaqueData:buffer;"TUxUSQAGAAAAAAABAAEAAgACAAMAAABWLnJh/QAFAAAucmE1AAAAVgAFAAAARgABAAABYAAAAAAAAUL/AAAAAAAIAWAAIAAAAAArEQAAKxEAAAAQAAFnZW5yY29vawECAAAAAAAIAQAAAQEAAAwAAABWLnJh/QAFAAAucmE1AAAAVgAFAAAARgACAAACNAAAAAAAAdpnAAAAAAAIAjQALwAAAABWIgAAViIAAAAQAAFnZW5yY29vawECAAAAAAAIAQAAAQIAABIAAABWLnJh/QAFAAAucmE1AAAAVgAFAAAARgAPAAACWAAAAAAAAl2fAAAAAAAJAlgAPAAAAACsRAAArEQAAAAQAAFnZW5yY29vawECAAAAAAAIAQAAAgQAAC8=" a=StreamName:string;"Audio Stream" a=ASMRuleBook:string;"#($Bandwidth < 16193),AverageBandwidth=11025,Priority=5;#($Bandwidth < 16193),AverageBandwidth=0,Priority=5,OnDepend=\"0\", OffDepend=\"0\";#($Bandwidth >= 16193) && ($Bandwidth < 20672),AverageBandwidth=16193,Priority=5;#($Bandwidth >= 16193) && ($Bandwidth < 20672),AverageBandwidth=0,Priority=5,OnDepend=\"2\", OffDepend=\"2\";#($Bandwidth >= 20672),Av Read 158 extra bytes: erageBandwidth=20672,Priority=5,PNMKeyframeRule=T;#($Bandwidth >= 20672),AverageBandwidth=0,Priority=5,OnDepend=\"4\", OffDepend=\"4\",PNMNonKeyframeRule=T;" Failed to initiate "audio/X-PN-MULTIRATE-REALAUDIO-LIVE" RTP subsession: RTP payload format unknown or not supported No stream found. DEMUXER: freeing demuxer at 0x8559f80 vo: x11 uninit called but X11 not inited.. Exiting... (End of file)
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
si si, prima ho compilato live e poi mplayer
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
mhmm sembra che il problema sia il codec. hai installato i binari di Real PLayer 9 per linux.
ciao ![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
si si, li ho scaricati un paio di mesi fa.
Li ho messi nella directory /usr/lib/win32
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#8 | |
Senior Member
Iscritto dal: Sep 2000
Città: lodi-crema-milano.
Messaggi: 12330
|
Quote:
ma quando compili mplayer li trova?
__________________
La teoria è quando si sa tutto e niente funziona. La pratica è quando tutto funziona e nessuno sa il perché. Noi abbiamo messo insieme la teoria e la pratica: non c'è niente che funzioni... e nessuno sa il perché! |
|
![]() |
![]() |
![]() |
#9 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
in fase di compilazione non mi da` errori.
Credo che li trovi, perche` quanto aptro altri film che richiedono dei codec particolari non ci sono problemi
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Iscritto dal: Sep 2000
Città: lodi-crema-milano.
Messaggi: 12330
|
Quote:
ricompila mplayer (basta che fai ./configure non serve fare il make)e vedi se ti scrive "yes" di fianco al codec per quel filmato. può capitare a volte che non lo trova, a me era capitato, in quel caso bisogna dare, in fase di compilazione: --nomedelcodec-path /directorydelcodec se durante il configure lo trova, significa che l'errore sta da un'altra parte, se durante il configure non lo trova, significa che devi specificare la dir del codec, e poi rifare make e make install. ciao!
__________________
La teoria è quando si sa tutto e niente funziona. La pratica è quando tutto funziona e nessuno sa il perché. Noi abbiamo messo insieme la teoria e la pratica: non c'è niente che funzioni... e nessuno sa il perché! |
|
![]() |
![]() |
![]() |
#11 | ||
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Quote:
Quote:
Tu hai usato lo stesso indirizzo per accedere allo stream?
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
||
![]() |
![]() |
![]() |
#12 | |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
Quote:
provo a fare cosi`, poi ti dico
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
|
![]() |
![]() |
![]() |
#13 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
non funziona ancora!
VICIUS come hai fatto ad installare il tutto, ciao ciao e grazie
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#14 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Il payload è il metodo di trasporto, che può anche essere indipendente dal codec.
I codec li gestisce mplayer, i payload rtsp invece liveMedia. Vicius, che diavolo di indirizzo stai usando? ![]()
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#15 |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
questo è il mio output di mplayer:
Codice:
pigaz@caspar:~$ mplayer -cache 128 rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm MPlayer dev-CVS-030927-02:00-3.3.2 (C) 2000-2003 MPlayer Team CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino 1464 MHz (Family: 6, Stepping: 2) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0 Compilato per CPU x86 con estensioni: MMX MMX2 3DNow 3DNowEx SSE Reading config file /etc/mplayer/mplayer.conf Reading config file /home/pigaz/.mplayer/config Reading /home/pigaz/.mplayer/codecs.conf: 60 audio & 157 video codecs Font /home/pigaz/.mplayer/font/font.desc loaded successfully! (206 chars) Sto utilizzando la temporizzazione hardware RTC di Linux (1024Hz) Input config file /home/pigaz/.mplayer/input.conf parsed: 52 binds In riproduzione rtsp://realserver.deejay.it/Elemedia/radiodeejay.rm Failed to create AF_INET6 socket: Resolving realserver.deejay.it for AF_INET... Connecting to server realserver.deejay.it[213.92.17.120]:554 ... Cache size set to 128 KBytes Connesso al server: realserver.deejay.it Cache fill: 18,75% (24576 bytes) Rilevato formato file REAL! skip_str: 12 bytes skipped skip_str: 35 bytes skipped ======= WAVE Format ======= Format Tag: 28515 (0x6F63) Channels: 1 Samplerate: 44100 avg byte/sec: 20672 Block align: 600 bits/sample: 16 cbSize: 18 Unknown extra header dump: [3c] [0] [9] [0] [f] [0] [58] [2] [8] [0] [1] [0] [0] [2] [4] [0] [0] [2f] =========================== demux_real: invalid chunksize! (0) Informazioni sulla clip: name: Radio Deejay Live author: Kataweb S.p.a. copyright: Elemedia S.p.a. ========================================================================== Apertura decoder audio: [realaud] RealAudio decoder opening shared obj '/usr/lib/codecs/cook.so.6.0' Audio codec: [15] 20 Kbps Music - High Response Audio bitrate: 20,672 kbit/s (2584 bps) AUDIO: 44100 Hz, 1 ch, 16 bit (0x10), ratio: 2584->88200 (20,7 kbit) Selected audio codec: [racook] afm:realaud (RealAudio COOK) ========================================================================== Checking audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit... AF_pre: af format: 2 bps, 1 ch, 44100 hz, little endian signed int AF_pre: 44100Hz 1ch Signed 16-bit (Little-Endian) alsa-init: requested format: 44100 Hz, 2 channels, Signed 16-bit (Little-Endian) alsa-init: 1 soundcard found, using: hw:0,0 alsa9: 44100 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian AO: [alsa9] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps) Building audio filter chain for 44100Hz/1ch/16bit -> 44100Hz/2ch/16bit... Video: no video!!! Inizio la riproduzione... la versione di live.com è quella che c'è su debian. i codec sono tutti in /usr/lib/codecs come al solito. in questo momento c'è albertino, fargetta e prezioso per la deejay parade... ![]() ciao ![]() |
![]() |
![]() |
![]() |
#16 | |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Per curiosità, che c'è qua dentro?
Quote:
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
|
![]() |
![]() |
![]() |
#17 | |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
Quote:
ciao ![]() |
|
![]() |
![]() |
![]() |
#18 |
Senior Member
Iscritto dal: Apr 2000
Città: Roma
Messaggi: 15625
|
Ah ok.
Non capisco però perché a te non mostra il traffico rtsp, sembra che non usi liveMedia per gli stream rm.
__________________
0: or %edi, %ecx; adc %eax, (%edx); popf; je 0b-22; pop %ebx; fadds 0x56(%ecx); lds 0x56(%ebx), %esp; mov %al, %al andeqs pc, r1, #147456; blpl 0xff8dd280; ldrgtb r4, [r6, #-472]; addgt r5, r8, r3, ror #12 |
![]() |
![]() |
![]() |
#19 |
Senior Member
Iscritto dal: Nov 2001
Città: Trento
Messaggi: 7095
|
a me non continua ad andare.
Ma che versione di MPlayer hai??? io ho la 0.9rc4 ciao ciao e grazie per il vostro aiuto
__________________
MyPC: A7A266 - Thoro1800+@2000+ - SK6 - 512DDR - FX5200 128MB - SBLive!1024 - MAXTOR120GB - Liteon LTR52327S LDW-451S HTPC: Case uATX QTec - GA 7VM400M - Duron1600 - ALX800 - 256DDR - Radeon7000 - LiteOn166 - Pow by GeexBox 0.98.5 Utenti con cui ho trattato |
![]() |
![]() |
![]() |
#20 | |
Senior Member
Iscritto dal: Oct 2001
Messaggi: 11471
|
Quote:
la rc4 è piuttosto vechiotta, 1 anno e qualche mese. se hai debian posso mettere sul mio repository i pachetti di mplayer. ciao ![]() |
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:51.