Re: streaming desk top to tv
Posted: Sun Jan 15, 2012 7:29 am
i can confirm linux command line work but u have to have a decent pc for it to work nicely. but as JHB50 said linux version isnt supported by anyone here.
C:\Program Files\Serviio\lib>ffmpeg -i "http://192.168.178.81:8081/desk.ts"
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 13 2011 20:46:11 with gcc 4.4.2
configuration: --enable-static --disable-shared --disable-ffplay --disable-ffs
erver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --extra-libs='
-lrtmp -lpolarssl -lws2_32 -lwinmm' --arch=x86 --enable-runtime-cpudetect --enab
le-pthreads --target-os=mingw32 --cross-prefix=i686-mingw32- --pkg-config=pkg-co
nfig
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
[mpeg2video @ 002cab00] mpeg_decode_postinit() failure
Last message repeated 3 times
[mpegts @ 002c7fe0] Estimating duration from bitrate, this may be inaccurate
Input #0, mpegts, from 'http://192.168.178.81:8081/desk.ts':
Duration: N/A, start: 1537.600700, bitrate: 10000 kb/s
Program 1
Stream #0:0[0x44]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p
, 1280x800 [SAR 1:1 DAR 8:5], 10000 kb/s, 24.52 fps, 24 tbr, 90k tbn, 48 tbc
At least one output file must be specified
wapman wrote:Hi friends,
I am really a happy amateur when it comes to this and I really appreciate your friendly support.
I got the advise to run "ffmpeg -i 192.168.0.12:8081"..I opened the command window and typed that line but it just say "not recognised...."..guess I miss something.
When I run the script from Wiki, VLC opens and it says at the bottom left (status line?) ://dshow, the timer down right is counting. I also get an error message saying VLC can not use unit screen-capture-recorder because it is not a supported type (translated from Swedish..so aprox.)
Any more ideas to get further would be much appreciated.
Cheers
zip wrote:the FFmpeg output is correct. Did you add it as a live stream in the console? if yes post detailed log.
zip wrote:was the stream running when you added it to the library? There is an record in the log where ffmpeg -i resulted in an error. Run VLC and try to refresh the stream or remove + add it again.
smart wrote:zip wrote:was the stream running when you added it to the library? There is an record in the log where ffmpeg -i resulted in an error. Run VLC and try to refresh the stream or remove + add it again.
The stream was not running. Now i added the stream to the library when VLC was running - now i can see the stream (now named "Desktop") at the TV!
But if i want to view it at the TV (click on it at the TV with the remote control) it shows up an Bravia error message: "Playback is unavailable."
And no Playback is possible.
So, is there maybe something wrong with the used video or audio codec in the VLC commandline?
I added the Serviio log once again.
Cerberus wrote:smart wrote:zip wrote:was the stream running when you added it to the library? There is an record in the log where ffmpeg -i resulted in an error. Run VLC and try to refresh the stream or remove + add it again.
The stream was not running. Now i added the stream to the library when VLC was running - now i can see the stream (now named "Desktop") at the TV!
But if i want to view it at the TV (click on it at the TV with the remote control) it shows up an Bravia error message: "Playback is unavailable."
And no Playback is possible.
So, is there maybe something wrong with the used video or audio codec in the VLC commandline?
I added the Serviio log once again.
you do realise that VLC has to be running for it to work yer?
No need to panic, don't go formatting anything .The screen capture module is built in to vlc. Some info would would help.What version of vlc ,what version of ubuntu,
what kind of cpu and video hardware are you running ,what is your monitors resolution? Maybe you can run the command line below, it won't do any thing but capture
your desktop and display it in the vlc gui, no encoding ,no sending anything to your tv. If it works,check your cpu usage. if its higher than about 30 % your computer
simply is not fast enough to do this .
You may also experiment with :dshow-caching=20000
marsha11 wrote:Thanks to jhb50's wiki and everyone who's contributed (and serviio 0.6.1 of course), I've now got my desktop streaming to my TV. The only hiccup was having to add msvcr100.dll to c:\windows\system32 and registering it.
I've added a couple of lines to my .bat file to avoid having to change the playback device manually ...
nircmd.exe can be found here ... http://www.nirsoft.net/utils/nircmd.html
jhb50,
The wiki has this entry ...You may also experiment with :dshow-caching=20000
but the .bat file has :dshow-caching=2000. Is this a typo or do you mean try using 20000?
Cerberus wrote:nice is there a way to reverse that and do an on exit to revert that change when bat is closed?
marsha11 wrote:Cerberus wrote:nice is there a way to reverse that and do an on exit to revert that change when bat is closed?
The last line in the .bat file is executed when VLC exits and returns the playback device to normal. If you've already closed the command window manually, you can put the last line into it's own .bat file to return the playback device to normal.
Cerberus wrote:Also make sure that TCP port 8895 and UDP 1900 are open in your firewall.
I've got desktop streaming working on Kubuntu 11.10 using vlc 1.3.0 with this vlc command line
The only hiccup was having to add msvcr100.dll to c:\windows\system32 and registering it.
I've added a couple of lines to my .bat file to avoid having to change the playback device manually
You may also experiment with :dshow-caching=20000 but the .bat file has :dshow-caching=2000. Is this a typo or do you mean try using 20000?