Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
How to stream PC desktop audio/video to PCH with VLC?
01-31-2009, 10:21 AM
Post: #1
How to stream PC desktop audio/video to PCH with VLC?
I've been streaming SOPCast through VLC to my Popcorn hour and it works just fine.

Now I would like to stream my PC desktop audio/video to the PCH but I can't seem to figure out how to do it.

Has anyone successfully done this and can provide the VLC arguments that will make it happen? Angle
Find all posts by this user
01-31-2009, 11:26 AM
Post: #2
RE: How to stream PC desktop audio/video to PCH with VLC?
I've been trying to stream sopcast through VLC to my PCH and it wouldn't work. Can you explain how you made it work, please?
Find all posts by this user
01-31-2009, 01:03 PM (This post was last modified: 01-31-2009 01:03 PM by EuphoniC.)
Post: #3
RE: How to stream PC desktop audio/video to PCH with VLC?
Actually, I installed the latest version of VLC and now I can't stream SOPCast either -- says VLC could not open the encoder so it seems the mp1v codec was uninstalled when I upgraded Undecided

Here's the command line I used to stream the SOPCast stream to the PCH:

Code:
vlc.exe -vvv http://127.0.0.1:8902 --sout #transcode{vcodec=mp1v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{​dst=std{access=http,mux=ts,dst=:1234}}

What other codings can the PCH take? It seems whatever I choose other then mp1v won't play.
Find all posts by this user
01-31-2009, 01:21 PM (This post was last modified: 01-31-2009 01:23 PM by slig.)
Post: #4
RE: How to stream PC desktop audio/video to PCH with VLC?
(01-31-2009 10:21 AM)EuphoniC Wrote:  I've been streaming SOPCast through VLC to my Popcorn hour and it works just fine.

Now I would like to stream my PC desktop audio/video to the PCH but I can't seem to figure out how to do it.

Has anyone successfully done this and can provide the VLC arguments that will make it happen? Angle

Why it has to be done via VLC ? Maybe you should configure Folders Sharing (smb protocol) on your PC and then use Network Browser on PCH. Using this method You'll be able to browse PC's folders on PCH exacly same way as local hard drive.
Find all posts by this user
01-31-2009, 01:24 PM
Post: #5
RE: How to stream PC desktop audio/video to PCH with VLC?
Not quite following you - can you watch a video of your PC desktop through SMB?

I want to watch a icehockey game I will buy online and it plays on the PC.
Find all posts by this user
01-31-2009, 01:33 PM (This post was last modified: 01-31-2009 01:36 PM by slig.)
Post: #6
RE: How to stream PC desktop audio/video to PCH with VLC?
(01-31-2009 01:24 PM)EuphoniC Wrote:  Not quite following you - can you watch a video of your PC desktop through SMB?

I want to watch a icehockey game I will buy online and it plays on the PC.

I'm not sure if I understand correctly what You want to do. If you have some media files (audio, video) on your PC you can enable Folder Sharing for folders that contain this files. Then, when you enter Network Browser on PCH you should be able to browse this folders, and watch your media files as long as they are supported by PCH. I've enabled sharing for my entire PC, and it's file system is visible on my PCH so I can browse my PC's whole hard drive on PCH and watch all media on TV (as long as my PC is powered on).
Find all posts by this user
01-31-2009, 01:35 PM (This post was last modified: 01-31-2009 01:36 PM by EuphoniC.)
Post: #7
RE: How to stream PC desktop audio/video to PCH with VLC?
No, there is no file. It's a video playing in a web browser on the webpage of the TV network that shows the icehockey game Smile

I want to stream the content of the PC screen so that I can watch the game in my home theater instead of watching it on the computer.

In the SOPCast case it's also a live stream (SOPCast) which I've had VLC convert into a stream that the PCH can connect to and play, so there is no files involved, only live streams.
Find all posts by this user
01-31-2009, 04:10 PM
Post: #8
RE: How to stream PC desktop audio/video to PCH with VLC?
I'm about to go crazy over this.

Code:
c:\Program\VideoLAN\VLC\vlc.exe screen:// :screen-fps=30 :screen-caching=100 :sout=#transcode{vcodec=mp1v,vb=2048,scale=1,acodec=mpga,ab=192,channels=2}:dupl​icate{dst=std{access=http,mux=ts,dst=:1234}}

I actually managed to get screen capture image with this but no audio!

What's most disturbing is that it wont play every time and screen only says "buffering" forever. But a few times it has started playing the stream. Also, I found - what might be a coincidence but anyways - that it can start playing if I unplug the PCH from the power and try from scratch. Very strange.

It would be awesome if I could do this.

I've uninstalled 0.9.8 and installed 0.8.6 and now the SOPCast stream works and the mp1v encoder is in place.

So, for all you that haven't been able to get the SOPCast stream to work -- I know there are a lot of you -- might just be running a version of VLC where this mysteriously does not work. If so, try uninstall and install 0.8.6 from e.g. http://www.filehippo.com/download_vlc/1958/

I'm determined to get this to work, but many hours of trying today hasn't gotten me very far Sad
Find all posts by this user
02-01-2009, 08:02 AM
Post: #9
RE: How to stream PC desktop audio/video to PCH with VLC?
Quote:Also, I found - what might be a coincidence but anyways - that it can start playing if I unplug the PCH from the power and try from scratch. Very strange.

So looks like the buffer is involved then, and that the settings at present cause problems with the buffer somehow, similar to how the buffer behaves when it encounters some corrupt and/or unsupported files.

However, once the player si rebooted, the buffer is restored to its original state, it can start from scratch again, which means you see it working until the same problem occurs again.

Maybe if the buffer value could be changed, it would work?

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
02-01-2009, 08:11 AM
Post: #10
RE: How to stream PC desktop audio/video to PCH with VLC?
In an earlier thread http://www.networkedmediatank.com/showth...?tid=15289 there was also discussion on vlc and I largely avoided the buffering problem with a higher bitrate vb=8192 and using mpeg2 vcodec=mp2v With these settings I could stop and re-start the connection too.

Generally it is not the buffer that gets corrupt, the Sigma video libraries get corrupt.

Martin
Find all posts by this user
02-01-2009, 08:13 AM
Post: #11
RE: How to stream PC desktop audio/video to PCH with VLC?
I'll try that.

Any ideas on why I don't get any audio when streaming screen:// ?

The settings are the same as for the streaming where I do get audio so I was surprised there was no sound. Maybe you have to do something special in order to make VLC capture desktop audio?
Find all posts by this user
02-01-2009, 02:50 PM
Post: #12
RE: How to stream PC desktop audio/video to PCH with VLC?
(02-01-2009 08:13 AM)EuphoniC Wrote:  Any ideas on why I don't get any audio when streaming screen:// ?
That's because audio over screen:// isn't supported yet. VLC team have just put placeholders for audio for future implementation. Hopefully soon.

Audio, video, disco - I hear, I see, I learn.
Wiki. Wiki? Wiki!
Find all posts by this user
02-01-2009, 04:32 PM
Post: #13
RE: How to stream PC desktop audio/video to PCH with VLC?
Gah!

Is there any other suitable application for streaming audio and video from the desktop into a format that is supported by PCH?
Find all posts by this user
02-03-2009, 04:37 PM
Post: #14
RE: How to stream PC desktop audio/video to PCH with VLC?
(02-01-2009 04:32 PM)EuphoniC Wrote:  Gah!

Is there any other suitable application for streaming audio and video from the desktop into a format that is supported by PCH?

Yes, streaming screen is cool because it doesn't depend on the number of your Sopcast videos played simultaneously.

Use http://127.0.0.1:8902 instead of screen:// and you should have a/v together

I have made it running taking the sopcast stream and transcoding locally to something compliant for the PCH
If you need I will send you exactly this line of code I have used when I will be at home.

PS before Sopcasting have you looked if your favourite TV isn't already broadcasted? http://hdd-player.de/pchweb/FLaSH/FLaSH_..._sdtv.html
Find all posts by this user
02-04-2009, 07:17 AM
Post: #15
RE: How to stream PC desktop audio/video to PCH with VLC?
Oh, yes, I'm already transcoding SOPCast like you say, that's not what I'm trying to do. I just want the desktop A/V streamed to the PCH regardless of what it's currently showing Smile All of it, applications, mouse...
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  llink UPNP won't stream krylon 3 1,915 02-14-2013 03:43 AM
Last Post: lundman
  How to stream from vlc jp1 74 87,986 03-14-2012 02:50 PM
Last Post: francesco
  Can i stream my Pc desktop to a-210 with Vlc? Shasoosh 8 2,535 03-14-2012 12:40 PM
Last Post: francesco
  MPD no audio without playing from HDX self gekkemeneer 2 2,192 01-27-2012 12:55 AM
Last Post: hasso
  HD udp vod video stream stutters glazed 0 1,727 08-14-2011 06:45 PM
Last Post: glazed
  how can I download to my a-210 video rss galr10 4 2,341 06-25-2011 04:35 PM
Last Post: galr10
  Stream from C-200 to Apple TV roteeuwen 5 3,420 05-16-2011 02:26 PM
Last Post: dc11ab
  PSP Stream UPnP jazzya77 2 4,278 05-11-2011 05:17 PM
Last Post: dc11ab
  Best video/audio format for http streaming to A-110? plavko61 0 1,680 05-11-2011 11:59 AM
Last Post: plavko61
  stream music to android over internet hetfield 1 2,841 05-09-2011 12:27 PM
Last Post: MV10

Forum Jump: