LiveTV mit PDA

  • Hi r-2003,


    ich hab gleich versucht, das nach Deiner Anleitung zum Laufen zu bringen. Complieren kann ich den vlc auch ohne Fehler :) Trotzdem bekomme ich Fehler, wenn ich eine .sh nach Deiner Vorlage aufrufe:


    media:~ # ./teststream.sh
    VLC media player 0.8.1 Janus
    [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
    [00000001] main vlc debug: checking builtin modules
    [00000001] main vlc debug: checking plugin modules
    [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
    [00000001] main vlc debug: recursively browsing `modules'
    [00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
    [00000001] main vlc debug: recursively browsing `plugins'
    [00000001] main vlc debug: module bank initialized, found 168 modules
    [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
    [00000000] main root debug: VLC media player - version 0.8.1 Janus - (c) 1996-2004 VideoLAN
    [00000000] main root debug: libvlc was configured with ./configure --prefix=/usr --enable-wxwindows
    [00000001] main vlc debug: translation test: code is "C"
    [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
    [00000001] main vlc debug: checking builtin modules
    [00000001] main vlc debug: checking plugin modules
    [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat
    [00000001] main vlc debug: recursively browsing `modules'
    [00000001] main vlc debug: recursively browsing `/usr/lib/vlc'
    [00000001] main vlc debug: recursively browsing `plugins'
    [00000001] main vlc debug: module bank initialized, found 168 modules
    [00000001] main vlc debug: opening config file /root/.vlc/vlcrc
    [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
    [00000001] main vlc debug: looking for memcpy module
    [00000001] main vlc debug: probing 3 candidates
    [00000010] main module debug: using memcpy module "memcpymmxext"
    [00000396] main playlist debug: creating group Normal with id 1 at position 0
    [00000396] main playlist debug: waiting for thread completion
    [00000396] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:107)
    [00000397] main interface debug: looking for interface module
    [00000397] main interface debug: probing 1 candidate
    [00000244] main module debug: using interface module "hotkeys"
    [00000397] main interface debug: interface initialized
    [00000397] main interface debug: thread 32771 (interface) created at priority 0 (src/interface/interface.c:209)
    [00000396] main playlist debug: adding playlist item `http://192.168.3.199:3000/PS/3' ( http://192.168.3.199:3000/PS/3 )
    [00000398] main interface debug: looking for interface module
    [00000398] main interface debug: probing 2 candidates
    Remote control interface initialized, `h' for help
    [00000242] main module debug: using interface module "rc"
    [00000398] main interface debug: interface initialized
    [00000396] main playlist debug: creating new input thread
    [00000399] main input debug: waiting for thread completion
    [00000399] main input debug: thread 49156 (input) created at priority 0 (src/input/input.c:228)
    [00000400] main stream output debug: stream=`transcode'
    [00000401] main private debug: looking for sout stream module
    [00000401] main private debug: probing 1 candidate
    [00000400] main stream output debug: stream=`standard'
    [00000403] main private debug: looking for sout stream module
    [00000403] main private debug: probing 1 candidate
    [00000398] main interface debug: thread 65541 (manager) created at priority 0 (src/interface/interface.c:194)
    [00000403] main private debug: set sout option: sout-standard-access to http
    [00000403] main private debug: set sout option: sout-standard-mux to asf
    [00000403] main private debug: set sout option: sout-standard-url to 192.168.3.199:4711
    [00000403] stream_out_standard private debug: creating `http/asf://192.168.3.199:4711'
    [00000403] stream_out_standard private debug: extention is 199:4711
    [00000403] stream_out_standard private debug: extention -> mux=(null)
    [00000403] stream_out_standard private debug: using `http/asf://192.168.3.199:4711'
    [00000404] main private debug: looking for sout access module
    [00000404] main private debug: probing 1 candidate
    [00000404] main private: creating httpd
    [00000406] main private debug: thread 81926 (httpd host thread) created at priority 0 (src/misc/httpd.c:1170)
    [00000248] main module debug: using sout access module "access_output_http"
    [00000403] stream_out_standard private debug: access opened
    [00000407] main private debug: looking for sout mux module
    [00000407] main private debug: probing 1 candidate
    [00000407] mux_asf private debug: Asf muxer opened
    [00000407] mux_asf private debug: meta data: title='' author='' copyright='' comment='' rating=''
    [00000210] main module debug: using sout mux module "mux_asf"
    [00000403] stream_out_standard private debug: mux opened
    [00000353] main module debug: using sout stream module "stream_out_standard"
    [00000401] main private debug: set sout option: sout-transcode-vcodec to mp4v
    [00000401] main private debug: set sout option: sout-transcode-acodec to mpga
    [00000401] main private debug: set sout option: sout-transcode-vb to 512
    [00000401] main private debug: set sout option: sout-transcode-ab to 64
    [00000401] main private debug: set sout option: sout-transcode-scale to 0.25
    [00000401] main private debug: set sout option: sout-transcode-deinterlace to (null)
    [00000401] stream_out_transcode private debug: codec audio=mpga 0Hz 0 channels 64Kb/s
    [00000401] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 0.250000 512kb/s
    [00000355] main module debug: using sout stream module "stream_out_transcode"
    [00000399] main input debug: `http://192.168.3.199:3000/PS/3' gives access `http' demux `' path `192.168.3.199:3000/PS/3'
    [00000399] main input debug: demux2_New: access='http' demux='' path='192.168.3.199:3000/PS/3'
    [00000408] main demuxer debug: looking for access_demux module
    [00000408] main demuxer debug: probing 0 candidates
    [00000408] main demuxer warning: no access_demux module matched "http"
    [00000399] main input debug: access2_New: access='http' path='192.168.3.199:3000/PS/3'
    [00000409] main access debug: looking for access2 module
    [00000409] main access debug: probing 7 candidates
    [00000409] access_http access debug: http: server='192.168.3.199' port=3000 file='/PS/3
    [00000409] main access debug: net: connecting to '192.168.3.199:3000'
    [00000409] main access debug: looking for network module
    [00000409] main access debug: probing 2 candidates
    [00000409] ipv4 access debug: connection in progress
    [00000219] main module debug: using network module "ipv4"
    [00000219] main module debug: unlocking module "ipv4"
    [00000409] access_http access debug: protocol 'HTTP' answer code 200
    [00000409] access_http access debug: Content-Type: video/mpeg
    [00000321] main module debug: using access2 module "access_http"
    [00000410] main private debug: pre buffering
    [00000410] main private debug: received first data for our buffer
    [00000410] main private debug: prebuffering done 32352 bytes in 1s - 25 kbytes/s
    [00000399] main input debug: demux2_New: access='http' demux='' path='192.168.3.199:3000/PS/3'
    [00000411] main demuxer debug: looking for demux2 module
    [00000411] main demuxer debug: probing 31 candidates
    [00000411] mp4 demuxer warning: MP4 plugin discarded (not a valid file)
    [00000411] avi demuxer warning: avi module discarded (invalid header)
    [00000411] asf demuxer warning: ASF plugin discarded (not a valid file)
    [00000411] mpgv demuxer warning: ES module discarded (system startcode)
    [00000411] main demuxer debug: looking for id3 module
    [00000411] main demuxer debug: probing 2 candidates
    [00000411] id3tag demuxer debug: checking for ID3 tag
    [00000285] main module debug: using id3 module "id3tag"
    [00000285] main module debug: unlocking module "id3tag"
    [00000411] aac demuxer warning: AAC module discarded
    [00000411] sap demuxer warning: SDP (UDP) module discarded
    [00000411] mkv demuxer warning: matroska module discarded (invalid header 0x000001e4)
    [00000411] ogg demuxer warning: ogg module discarded (invalid header)
    [00000411] real demuxer warning: Real module discarded
    [00000411] playlist demuxer warning: old import module discarded: invalid file
    [00000411] playlist demuxer warning: pls import module discarded
    [00000411] au demuxer warning: AU module discarded
    [00000411] mod demuxer warning: MOD module discarded (path=192.168.3.199:3000/PS/3)
    [00000411] ts demuxer warning: TS module discarded
    [00000411] nsv demuxer warning: NSV module discarded
    [00000411] aiff demuxer warning: AIFF module discarded
    [00000411] pva demuxer warning: PVA module discarded
    [00000308] main module debug: using demux2 module "ps"
    [00000399] main input debug: starting in synch mode
    [00000399] main input debug: `http://192.168.3.199:3000/PS/3' sucessfully opened
    [00000399] main input debug: Selecting program id=0
    [00000412] main packetizer debug: looking for packetizer module
    [00000412] main packetizer debug: probing 14 candidates
    [00000393] main module debug: using packetizer module "packetizer_mpegvideo"
    [00000399] main input debug: stream out mode -> no decoder thread
    [00000412] packetizer_mpegvideo packetizer debug: Size 720x576 fps=25.000
    [00000399] main input debug: control type=1
    [00000413] main packetizer debug: looking for packetizer module
    [00000413] main packetizer debug: probing 14 candidates
    [00000258] main module debug: using packetizer module "mpeg_audio"
    [00000399] main input debug: stream out mode -> no decoder thread
    [00000413] mpeg_audio packetizer: MPGA channels:2 samplerate:48000 bitrate:192
    [00000400] main stream output debug: adding a new input
    [00000401] stream_out_transcode private debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
    [00000414] main decoder debug: looking for decoder module
    [00000414] main decoder debug: probing 17 candidates
    [00000257] main module debug: using decoder module "mpeg_audio"
    [00000415] main encoder debug: looking for encoder module
    [00000415] main encoder debug: probing 4 candidates
    [00000415] ffmpeg encoder debug: libavcodec initialized (interface 4731 )
    [00000415] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2
    [00000015] main module debug: using encoder module "ffmpeg"
    [00000416] main private debug: looking for audio filter2 module
    [00000416] main private debug: probing 3 candidates
    [00000416] mpgatofixed32 private debug: mpga->s16l, bits per sample: 16
    [00000372] main module debug: using audio filter2 module "mpgatofixed32"
    [00000417] main private debug: looking for audio filter2 module
    [00000417] main private debug: probing 3 candidates
    [00000417] audio_format private debug: fl32->s16l, bits per sample: 32
    [00000377] main module debug: using audio filter2 module "audio_format"
    [00000407] main private debug: adding a new input
    [00000407] mux_asf private debug: adding input
    [00000407] mux_asf private debug: adding mp3 header
    [00000414] mpeg_audio decoder: MPGA channels:2 samplerate:48000 bitrate:192
    [00000400] main stream output debug: adding a new input
    [00000401] stream_out_transcode private debug: creating video transcoding from fcc=`mpgv' to fcc=`mp4v'
    [00000418] main decoder debug: looking for decoder module
    [00000418] main decoder debug: probing 17 candidates
    [00000274] main module debug: using decoder module "libmpeg2"
    [00000419] main encoder debug: looking for encoder module
    [00000419] main encoder debug: probing 4 candidates
    [00000419] ffmpeg encoder debug: libavcodec already initialized
    [00000419] ffmpeg encoder debug: found encoder MPEG-4 Video
    [00000015] main module debug: using encoder module "ffmpeg"
    [00000015] main module debug: unlocking module "ffmpeg"
    [00000400] main stream output warning: trying to send non-dated packet to stream output!
    [00000418] libmpeg2 decoder debug: 720x576, aspect 576000, 25.000 fps
    ./teststream.sh: line 3: 13132 Killed vlc -vvv http://192.168.3.199:3000/PS/3 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=512,ab=64,scale=0.25,deinterlace}:standard{access=http,mux=asf,url=192.168.3.199:4711}' --ttl 2


    ---


    Nachdem es (wahrscheinlich) am ffmpeg liegt, könntest Du mir Deine Version und ggfs. die ./configure Zeile Deiner Installation verraten?


    Kann man mit dieser Lösung eigentlich auch die maximale Bandbreite eines Streams fix festlegen (Video: x kbit/s; Audio: y kbit/s)?


    Beste Grüße
    Peter

  • Hi Peter,


    Ich benutze die c't-Version 3.0.6, siehe ftp-Link = ISO-Datei = 241 MB (Links siehe unten)


    ffmpeg + vlc usw. habe ich mit apt installiert. Das einzige Paket, welches ich selbst kompiliert habe ist die WLAN-Unterstützung für den WLAN-USB-Stick von Dlink DWL-122.


    vdr2:~# COLUMNS=120 dpkg -l | grep ffmpeg
    ii ffmpeg 20050427-0sarge0.1 audio/video encoder, streaming server & audio/video
    ii vlc 0.8.2-~20050125 multimedia player for all audio and video formats
    ii bluez-pin 0.25-1 Bluetooth PIN helper with D-BUS support
    ii bluez-utils 2.15-1 Bluetooth tools and daemons
    ii libbluetooth1 2.15-2 Library to use the BlueZ Linux Bluetooth stack


    Linux vdr2 2.4.27-ctvdr-1 #1 Fri Oct 15 18:38:29 UTC 2004 i686 GNU/Linux


    ftp://ftp.heise.de/pub/ct/projekte/vdr/sarge/isos/
    ftp://ftp.heise.de/pub/ct/proj…r/sarge/isos/ctvdr306.iso = 241 MB


    Mit dieser Version läuft das Streaming über WLAN sowie Bluetooth (mit kleinerer Datenrate)
    einwandfrei.


    Gruß
    Reini

    VDR#1: SIDUX + etobi-VDR 1.7.11, VDPAU, Kernel 2.6.31, nVidia GF 9400 GT, 2x Technisat SkyStar HD2, HDs:1000GB WD+500GB WD, ASUS-M4N78, Athlon 4600, 4GB RAM
    VDR#2: FSC Esprimo E5600, SIDUX + etobi-VDR 1.7.11, VDPAU, Kernel 2.6.33, nVidia GF 8400 GS, Tevii S470 PCIe + Tevii S660 USB, Sempron 3000+, 1,5 GB RAM
    VDR#3: SIDUX + etobi-VDR 1.7.11, VDPAU, Kernel 2.6.31, Tevii S660, Notebook ACER Aspire 7736ZG, 4GB RAM, 320GB, nVidia G210M, HDMI-out SPDIF-out

  • Rehi Reini,


    Ich habe es mit ffserver erstmal aufgegeben und bin zureuck beim VLC.
    Wenn ich zunaechst lokal am PC mit mplayer teste, passiert folgendes:



    Mh... ich glaube LoadLibray() ist nur eine Warning, da der MPlayer sonst gut klappt und der VLC ja MPEG1 (?) generiert.
    Auch beim Test mit TCPMP (=Betaplayer Nachfolger) kommt folgendes (Version: 0.71 mit und ohne FFMPEG Plugin):


    "Player [blah] Unknown file format"


    mh...


    Bei meinen Tests mit FFMPEG hat der MPlayer auch erkannt, dass dort ein MPEG4 kommt (laedt ca. 340byte) der Stream aber leer sei.
    Weder ffserver noch VLC zeigen sonst komische Meldungen in der Konsole und im Syslog. Ich frage mich, ob ich nun ein Coded-Problem habe oder der VLC/ffserver Problme hat.
    Das einizge merkwuerdige im Syslog beim Laden des VLC war jedoch:


    Code
    ts demuxer debug: pid[101] unknown
    ts demuxer debug: pid[102] unknown


    Mh... Process ID? Programm ID? Ist diese Meldung normal? Unmittelbar davor sagt er zumindest, dass er sich mit dem Streamdev connecten konnte (:3000/TS/1 etc.).


    Was laeuft da falsch?


    Danke und Gruss,
    Timo

    yaVDR 0.4-pre1 on ASUS 1015PN -> Big Screen and XBMC remote on Android.

  • Hallo


    Ich habe auch einen PDA und würde auf diesem auch gerne ein Live TV-Bild schauen.
    Meine Frage ist wie kann ich den VideoLanClient auf dem VDR nachinatallieren wie von r-2003 beschrieben?

    VDR:Netzteil: Fortron 350W (Passivkühlung duch Öl) Mainboard: ASUS P4N8-X Speicher: 512MB HDD: 80GB Segate + 160GB Maxtor Prozessor: Intel Celeron 2.1Ghz (Passivkühlung duch Thermaltake Sonic-Tower) TV Karte: Technotrend S2300 Premium (Rev2.3) modded + Hauppauge Nova-S-Plus Software: LinVDR Mahlzeit 3.2


  • hast du da was raus bekommen? Habe das gleiche Problem.


    Wollte statt mit mencoder über vlc streamen mit dem streamdevout plugin.


    Die beiden letzten meldungen vom Streamdev sind die die du auch hast.. Bild kommt aber leider bei mir nicht an..

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!