live streaming command line problem

About encoding, codec settings, muxers and filter usage
video_streaming
Blank Cone
Blank Cone
Posts: 11
Joined: 27 Feb 2012 00:47

live streaming command line problem

Postby video_streaming » 16 Mar 2012 22:41

hey guys
im trying to initialize a live streaming on the server to the client (the both machine are under ubuntu 10.10). it works fine when i use the GUI method .
BUT when i use the command line , it doesnt work :/
im trying this code :

Code: Select all

vlc v4l2:///dev/video0 --sout '#transcode{vcodec=mp2v,vb=400}:standard{access=udp,mux=ts,dst=192.168.1.107:1234}'
Nothing appear in the client machine !!
Note that streaming a video on both ,GUI and command line methods, works.
any suggestion please ??

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: live streaming command line problem

Postby Rémi Denis-Courmont » 17 Mar 2012 08:41

You're probably missing some parameters that the UI added.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

video_streaming
Blank Cone
Blank Cone
Posts: 11
Joined: 27 Feb 2012 00:47

Re: live streaming command line problem

Postby video_streaming » 17 Mar 2012 09:46

Hey Remi
I tried to add all the parameters presents in the GUI method, but still doesnt work.
The code i tried is present in the topic above, is there any parameter missed in it?
Thanks dude for your help

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

VLC 1.1.5 vs 2.0.1

Postby realjobe » 20 Mar 2012 07:11

Hi there.
Some commandline improvement has happened, because my Commandline does not work anymore with VLC 2.0.1.
2.0.0 works, but with stutter, cacheing and tearing..

Code: Select all

vlc.exe -I dummy --audio-language=fi http://192.168.0.251:8001/1:0:1:11:3:F:FFFF0000:0:0:0: --sout "#transcode{threads=auto,audio-sync,soverlay,deinterlace,ab=96,samplerate=44100,channels=2,acodec=mp4a, vcodec=h264,width=640,height=360,vfilter="canvas{width=640,height=360}",fps=25,scale=1,vb=160,venc=x264{keyint=250, preset=faster,level=-1,profile=baseline,cabac=1,slices=8,qcomp=0.6,vbv-maxrate=160,vbv-bufsize=80}}:rtp{mp4a-latm,sdp=rtsp://:554/TV.sdp,name="C"}" :no-sout-rtp-sap :no-sout-standard-sap :ttl=128 :sout-keep
Sourceside indicates quick stream request, but halts quite after..
Can some one tell me what's wrong with above? Works perfectly with VLC 1.1.5
Last edited by realjobe on 21 Mar 2012 06:30, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: live streaming command line problem

Postby Rémi Denis-Courmont » 20 Mar 2012 08:46

I guess you need to use -- instead of :.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

realjobe
Cone that earned his stripes
Cone that earned his stripes
Posts: 175
Joined: 10 Feb 2008 15:40

Codec is experimental but experimental codecs are not enable

Postby realjobe » 20 Mar 2012 16:29

Something is off here..
with (VLC 2.0.1 on win7_x64) VLC Crashes moments after with

Code: Select all

..[0317ac30] avcodec encoder debug: libavcodec initialized (interface 0x360a64)m ain input debug: Buffering 19% [NULL @ 031466a0] Codec is experimental but experimental codecs are not enabled, see -strict -2 [003cca10] [main input debug: 0Buffering 21%317ac30] avcodec encoder error: cannot open encoder[003cca10] main input debug: Buffering 23%[0317ac30] main encoder error:
With VLC 2.0.0 commadline works ok, but now there are bufferings on client side and stuttering...
What to Add to commandline in order to make this work with VLC 2.x?
caches and mux cache ? how? commandLine helps are to VLC 1.0.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests