Audio/video stream recording forums
|
| Attention Visitor: |
You may have to register or log in before you can post:
|
|
|||||||
|
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
mplayer and rtmpHello people,
there's an interesting conference at this page http://www.radioradicale.it/scheda/3...deuropa-subito From the page source I extracted this piece: Code:
,streams: [{"url": 'mp4:roma/2010/01//FL610753.f4v',"duration": 14858,"start": 19} ]
,netConnectionUrl: 'rtmp://video-3.radioradicale.it:1935/store-51/'
};
Code:
mplayer -streamdump rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v The working session, the one from Firefox, shows a couple of lines like this play('mp4:roma/2010/01/FL610753.f4v') instead the one from mplayer shows connect('store-51/mp4:roma') ... play('mp4/2010/01/FL.610753f') the last one has no file extension and it misses the "roma" part after the colon. Also, the app URL (the one in the connect function) includes the "mp4:roma" part and it shouldn't So I suppose that's why it doesn't find the file How do I instruct mplayer to decompose the URL in the same way as the embedded flowplayer does ? Or what else could I attempt ? Thanks |
|
#2
|
|||
|
|||
Re: mplayer and rtmptry use
Code:
mplayer2 rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v -dumpstream -dumpfile t.f4v |
|
#3
|
|||
|
|||
Re: mplayer and rtmpThanks
but it doesn't work anyway Only, I can't check with wireshark now But this is it Code:
me@linux-qeig:~> mplayer2 -v rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v -dumpstream -dumpfile t.f4v
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD max cpuid level: 6
CPU: AMD E-350 Processor (Family: 20, Model: 1, Stepping: 0)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3: 1
Compiled with runtime CPU detection.
Compiled against libavutil version 51.35.100
Compiled against libavcodec version 53.61.100
Compiled against libavformat version 53.32.100
Compiled against libswscale version 2.1.100
get_path('codecs.conf') -> '/home/me/.mplayer/codecs.conf'
Reading /home/me/.mplayer/codecs.conf: Can't open '/home/me/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer2/codecs.conf: Can't open '/etc/mplayer2/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/mplayer2 --mandir=/usr/share/man --confdir=/etc/mplayer2 --libdir=/usr/lib64 --codecsdir=/usr/lib64/codecs --disable-arts --disable-bitmap-font --disable-directfb --disable-dvdread-internal --disable-esd --disable-libdvdcss-internal --disable-libvorbis --disable-mad --disable-openal --disable-svga --disable-termcap --disable-theora --disable-xmms --enable-bl --enable-debug --enable-joystick --enable-runtime-cpudetection --language=all
CommandLine: '-v' 'rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v' '-dumpstream' '-dumpfile' 't.f4v'
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
init_freetype
get_path('fonts') -> '/home/me/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/me/.mplayer/input.conf'
Can't open input config file /home/me/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer2/input.conf: No such file or directory
Falling back on default (hardcoded) input config
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
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('FL610753.f4v.conf') -> '/home/me/.mplayer/FL610753.f4v.conf'
Playing rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v.
get_path('sub/') -> '/home/me/.mplayer/sub/'
[ffmpeg] Opening rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v
Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
Parsing...
Parsed protocol: 0
Parsed host : video-3.radioradicale.it
Parsed app : store-51/mp4:roma
RTMP_Connect1, ... connected, handshaking
HandShake: Type Answer : 03
HandShake: Server Uptime : 96850052
HandShake: FMS Version : 3.0.1.1
HandShake: Handshaking finished....
RTMP_Connect1, handshaked
Invoking connect
HandleServerBW: server BW = 2500000
HandleClientBW: client BW = 2500000 2
HandleCtrl, received ctrl. type: 0, len: 6
HandleCtrl, Stream Begin 0
HandleChangeChunkSize, received: chunk size change to 512
RTMP_ClientPacket, received: invoke 261 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 1.00>
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: fmsVer, STRING: FMS/3,5,7,7009>
Property: <Name: capabilities, NUMBER: 31.00>
Property: <Name: mode, NUMBER: 1.00>
(object end)
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: status>
Property: <Name: code, STRING: NetConnection.Connect.Success>
Property: <Name: description, STRING: Connection succeeded.>
Property: <Name: data, OBJECT>
(object begin)
Property: <Name: version, STRING: 3,5,7,7009>
(object end)
Property: <Name: clientid, NUMBER: 1813309843.00>
Property: <Name: objectEncoding, NUMBER: 0.00>
(object end)
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <connect>
sending ctrl. type: 0x0003
Invoking createStream
RTMP_ClientPacket, received: invoke 29 bytes
(object begin)
Property: <Name: no-name., STRING: _result>
Property: <Name: no-name., NUMBER: 2.00>
Property: NULL
Property: <Name: no-name., NUMBER: 1.00>
(object end)
HandleInvoke, server invoking <_result>
HandleInvoke, received result for method call <createStream>
SendPlay, seekTime=0, stopTime=0, sending play: mp4:2010/01//FL610753
Invoking play
sending ctrl. type: 0x0003
RTMP_ClientPacket, received: invoke 193 bytes
(object begin)
Property: <Name: no-name., STRING: onStatus>
Property: <Name: no-name., NUMBER: 0.00>
Property: NULL
Property: <Name: no-name., OBJECT>
(object begin)
Property: <Name: level, STRING: error>
Property: <Name: code, STRING: NetStream.Play.StreamNotFound>
Property: <Name: description, STRING: Failed to play 2010/01//FL610753; stream not found.>
Property: <Name: clientid, NUMBER: 1813309843.00>
Property: <Name: details, STRING: 2010/01//FL610753>
(object end)
(object end)
HandleInvoke, server invoking <onStatus>
HandleInvoke, onStatus: NetStream.Play.StreamNotFound
Closing connection: NetStream.Play.StreamNotFound
Failed to open rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v.
vo: x11 uninit called but X11 not initialized..
Exiting... (End of file)
me@linux-qeig:~>
store-51/mp4:roma but it should be store-51/ and it parses the name of he file as 2010/01//FL610753 while it should be 2010/01/FL610753.f4v I don't know... |
|
#4
|
|||
|
|||
Re: mplayer and rtmpCode:
C:\Program Files\MPlayer>mplayer2 -v rtmp://video-3.radioradicale.it:1935/store-
51/mp4:roma/2010/01//FL610753.f4v -dumpstream -dumpfile t.f4v
←[0;37mMPlayer2 2.0 (C) 2000-2011 MPlayer Team
←[0m←[0;32mCPU vendor name: GenuineIntel max cpuid level: 10
←[0m←[0;32mCPU: Genuine Intel(R) CPU 2140 @ 1.60GHz ←[0m←[0;32m(Fami
ly: 6, Model: 15, Stepping: 2)
←[0m←[0;32mextended cpuid-level: 8
←[0m←[0;32mextended cache-info: 67125312
←[0m←[0;32mDetected cache-line size is 64 bytes
←[0m←[0;32mTesting OS support for SSE... ←[0m←[0;32myes.
←[0m←[0;32mCPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSSE3:
1
←[0m←[0;32mCompiled with runtime CPU detection.
←[0m←[0;32mget_path('codecs.conf') -> 'C:/Program Files/MPlayer/mplayer/codecs.c
onf'
←[0m←[0;32mReading C:/Program Files/MPlayer/mplayer/codecs.conf: ←[0m←[0;31mpars
e error←[0m←[0;31m at line 876
←[0m←[0;32mReading /usr/i686-mingw32/etc/mplayer/codecs.conf: ←[0m←[0;32mCan't o
pen '/usr/i686-mingw32/etc/mplayer/codecs.conf': No such file or directory
←[0m←[0;32mUsing built-in default codecs.conf.
←[0m←[0;32mConfiguration: --extra-cflags=-I/Users/kovensky/mplayer2-build-2.0/bu
ild_libs/include --extra-ldflags=-L/Users/kovensky/mplayer2-build-2.0/build_libs
/lib --enable-cross-compile --host-cc=i686-apple-darwin10-gcc-4.2.1 --extra-cfla
gs=-DPTW32_STATIC_LIB -fno-common -O3 -march=pentium2 -mtune=i686 --extra-libs=-
lpthread -lws2_32 -lfontconfig -lexpat -lfreetype --prefix=/usr/i686-mingw32 --e
nable-menu --target=i686-mingw32 --enable-static --enable-fontconfig --ranlib=i6
86-mingw32-ranlib --ar=i686-mingw32-ar --windres=i686-mingw32-windres --enable-m
atrixview --enable-runtime-cpudetection --cc=i686-mingw32-gcc --as=i686-mingw32-
as --nm=i686-mingw32-nm
←[0m←[0;37mCommandLine:←[0m←[0;37m '-v'←[0m←[0;37m 'rtmp://video-3.radioradicale
.it:1935/store-51/mp4:roma/2010/01//FL610753.f4v'←[0m←[0;37m '-dumpstream'←[0m←[
0;37m '-dumpfile'←[0m←[0;37m 't.f4v'←[0m←[0;37m
←[0m←[0;37mUsing MMX (with tiny bit MMX2) Optimized OnScreenDisplay
←[0m←[0;32minit_freetype
←[0m←[0;32mget_path('fonts') -> 'C:/Program Files/MPlayer/mplayer/fonts'
←[0m←[0;32mUsing Windows native timing
←[0m←[0;32mget_path('input.conf') -> 'C:/Program Files/MPlayer/mplayer/input.con
f'
←[0m←[0;32mParsing input config file C:/Program Files/MPlayer/mplayer/input.conf
←[0m←[0;32mInput config file C:/Program Files/MPlayer/mplayer/input.conf parsed:
90 binds
←[0m←[0;32mget_path('FL610753.f4v.conf') -> 'C:/Program Files/MPlayer/mplayer/FL
610753.f4v.conf'
←[0m←[0;37m
Playing rtmp://video-3.radioradicale.it:1935/store-51/mp4:roma/2010/01//FL610753
.f4v.
←[0m←[0;32mget_path('sub/') -> 'C:/Program Files/MPlayer/mplayer/sub/'
←[0m←[0;32mWINSOCK2 init: 0
←[0m←[0;32m[ffmpeg] Opening rtmp://video-3.radioradicale.it:1935/store-51/mp4:ro
ma/2010/01//FL610753.f4v
←[0m←[0;32mHandshaking...
←[0m←[0;32mServer version 3.0.1.1
←[0m←[0;32mProto = rtmp, path = /store-51/mp4:roma/2010/01//FL610753.f4v, app =
store-51, fname = mp4:roma/2010/01//FL610753.f4v
←[0m←[0;32mClient bandwidth = 2500000
←[0m←[0;32mNew chunk size = 4096
←[0m←[0;32mCreating stream...
←[0m←[0;32mSending play command for 'mp4:roma/2010/01//FL610753.f4v'
←[0m←[0;32m[ffmpeg] libavformat URL type: rtmp
←[0m←[0;32mSTREAM: [ffmpeg] rtmp://video-3.radioradicale.it:1935/store-51/mp4:ro
ma/2010/01//FL610753.f4v
←[0m←[0;32mSTREAM: Description: FFmpeg
←[0m←[0;32mSTREAM: Author:
←[0m←[0;32mSTREAM: Comment:
←[0m←[0;32mSending bytes read report
←[0m←[0;32mSending bytes read report
←[0m
|
|
#5
|
|||
|
|||
Re: mplayer and rtmpI see
But you're on windows. I tried on openSuse 12.1 One thing I could do is try on a Ubuntu machine So this means that the mplayer2 package on openSuse is not that good ? Thanks anyway |
|
#6
|
|||
|
|||
Re: mplayer and rtmpYes, on Ubuntu it works.
Thanks, chap |
|
#7
|
|||
|
|||
Projektowanie mebli nieoficjalnychPlanowanie wnetrz Dom a selekcja artykulów sa ogromnie grunt gwoli biezacego wlascicieli, jegomosc azaliz bialoglowa. Pies z kulawa noga nie potrzebuje wyselekcjonowac niedobrze meble jednakowoz tekstylia oraz atoli meble przypadkiem demaskowac sie wazniejsza z dwóch, podstepny alternatywa towaru byc moze calkowicie podkopac an inaczej przyzwoicie szafki na basenie uplanowanych pokoi. Wiec co poczynic? Pozostawione casusowi oraz matki otuche, ze nieczulego gala istnieje w gruncie rzeczy sluszny, gdy kazdy inny, ewentualnie rasowy przyniesc ulge? W prawdziwosci, lokalna slawe o tym, gdy urzadzic zas wyposazyc swój dom, pewno uzywac zycia az tyle sposród oblatanego konstruktora wnetrz. Wieksza czesc gosciach, którzy staraja sie sprawic frasowac sie o takich kwestiach, skamlemy nie selekcjonowac sprzymierzencze tudziez przyjmuje, czego sam sie pociagaja. Owo nie jest koniecznie kiepska sprawa, albowiem wiekszosc ludzi nie ugoscic kiedy najwazniejsze wole, jesli lazi o projektowanie zas sprzetów Home Alternatywa tkaniny. Lecz nie ma modus wykonac, zeby scalic to, co jest najwazniejszego gwoli Twojego klanu przypuszczalnie, oto kilka dyrektyw, jak szafa w sasiedztwie asortymencie planowanie mebli zas jak go o sorcie odpowiedniego tkanine sposród przed isc az do wykonania.
Podjac decyzje sie na sprawa nie mozna nawet nawiazac przygladac sie na meble bez decyzji w kwestii watku do swojego domu - tudziez nawet dla kazdego pokoju. Ogromnie niewielu goscmi zapewniania natomiast upiekszyc zupelny wlasny dom na pewnym temacie, tymczasem maja slabosc do zwodzenia ich. No tak wielu czlecze kocha sie co w zadnym wypadku pewien problematyce pokój w swoim klanu: egipski mirze albo pokój w zamierzchlym Rzymie, Grecji dawnej zas Azji, Dziki Okcydent czy tez Native watku niejankeskiej. Nul z rzeczonego nie nadaje sie az do publicznego mebli domowych, z pewnoscia, jednakowoz az do typowego wyboru tkanin znajda Kraj w krajowej ran. Jest owo jakkolwiek dac do obejrzenia, ze zupelny dom nie musi zrealizowane w tego rodzaju sam szafka z metalu modus. Nawet w uporzadkowany tryb - no, jesli zdecydujesz sie na punkcie, Twój salon, jadalnia, sztuka kulinarna zas alkierzy sa oparte na materialnym naciskiem rodu. Na exemplum, jest dozwolone zabawic sie tkanin tudziez zabytków w salonie badz grocie dobowego z partyjkami natomiast znajdowac sie moze szezlongu w wiadomym kierunku francuskim. Wolno bylo albo wspólczesna jadalnia, stolik z czarnej plytce szklanej albo w przepieknym blyszczacego doskonalonego orzecha francuskiego albo mahoniowe sposród dama ciamajdzie Anne. Krzesla mozna gwintowane natomiast upierzonego i po pewnym czasie rutynowo tapicerowany w tkaninie badz aksamit. |
|
| Tags: rtmp |
| Thread Tools | |
| Display Modes | |
|
|