Try to stream part of my screen -> VLC crashes. Where is my fault in the command?
Posted: 06 Apr 2017 11:34
Hello.
I found a very lovely VLC-command to show part of my screen on VLC (https://www.vlc-forum.de/thread/1640-st ... 4#post7554)
This command works fine. It shows me the upper, left part with 640x480 pixel of my own screen (1920x1080).
"C:\Program Files\VideoLAN\VLC\vlc.exe" screen:// :screen-fps=25.000000 :screen-left=0 :screen-top=0 :screen-width=640 :screen-height=480 :zoom=1.000000 :live-caching=300
Now my problem:
I want to stream this result from the upper left corner via VLC and http to another PC.
To test VLC-streaming in general from one to another PC, I tested with a MP4-file the following command successfully:
Sending PC:
"C:\Program Files\VideoLAN\VLC\vlc.exe" "C:\test.mp4" :sout=#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8090/go.mpg}
Receiving PC:
Open network http://192.168.178.59:8090/go.mpg on my VLC works. I see the streamed file test.mp4 on my second PC.
Now I've combined both commandstring to:
"C:\Program Files\VideoLAN\VLC\vlc.exe" screen:// :screen-fps=25.000000 :screen-left=0 :screen-top=0 :screen-width=640 :screen-height=480 :zoom=1.000000 :live-caching=300 :sout=#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8090/go.mpg}
VLC crashes every time.
Where is my fault? Do you have any hint for me?
Best regards
Jörg
I found a very lovely VLC-command to show part of my screen on VLC (https://www.vlc-forum.de/thread/1640-st ... 4#post7554)
This command works fine. It shows me the upper, left part with 640x480 pixel of my own screen (1920x1080).
"C:\Program Files\VideoLAN\VLC\vlc.exe" screen:// :screen-fps=25.000000 :screen-left=0 :screen-top=0 :screen-width=640 :screen-height=480 :zoom=1.000000 :live-caching=300
Now my problem:
I want to stream this result from the upper left corner via VLC and http to another PC.
To test VLC-streaming in general from one to another PC, I tested with a MP4-file the following command successfully:
Sending PC:
"C:\Program Files\VideoLAN\VLC\vlc.exe" "C:\test.mp4" :sout=#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8090/go.mpg}
Receiving PC:
Open network http://192.168.178.59:8090/go.mpg on my VLC works. I see the streamed file test.mp4 on my second PC.
Now I've combined both commandstring to:
"C:\Program Files\VideoLAN\VLC\vlc.exe" screen:// :screen-fps=25.000000 :screen-left=0 :screen-top=0 :screen-width=640 :screen-height=480 :zoom=1.000000 :live-caching=300 :sout=#transcode{vcodec=h264,acodec=mp3,ab=128,channels=2,samplerate=44100}:http{dst=:8090/go.mpg}
VLC crashes every time.
Where is my fault? Do you have any hint for me?
Best regards
Jörg