Page 1 of 2

VLC2.0 and sout=". (%m)

Posted: 01 Mar 2012 11:11
by martin
May be, i wrote my 1st post to bad sections:

PROBLEM: streaming via http, VLC in messages:

VLC could not open the file "c:\avi\testfile - 001.avi :sout=". (%m)

what it is ? :sout=". (%m) It seems, as problem with string in new VLC ? VLC 1.11 works well.

Re: VLC2.0 and sout=". (%m)

Posted: 01 Mar 2012 19:31
by VLC_help
You have " around wrong sections. It should be "c:\avi\testfile - 001.avi"

If you get that via GUI, what did you exactly do?

Re: VLC2.0 and sout=". (%m)

Posted: 02 Mar 2012 18:20
by martin
I am using same sout string as for VLC1.x. Some was changed in VLC2.0 ?

Re: VLC2.0 and sout=". (%m)

Posted: 02 Mar 2012 19:25
by VLC_help
What is your sout string?

Re: VLC2.0 and sout=". (%m)

Posted: 02 Mar 2012 23:45
by martin
I cannot tell it from head, but some as:
file:///c%3A/avi/Ml%C4%8Den%C3%AD%20%C5%A1unek.avi :sout=#transcode{vcodec=mp2v,vb=3000,venc=ffmpeg,fps=25,vfilter=canvas{width=704,height=576,aspect=16:9},soverlay,acodec=mp2a,ab=192,channels=2,samplerate=48000,scodec=dvbs}:std{access=http,mux=ts{pid-video=68,pid-audio=69},dst=/dream296483461.ts} :freetype-color=0xFFFF00 :file-caching=1000 :sout-all

on VLC 1.x works well without any problems. May be trhere in v2.0 bug ?

Re: VLC2.0 and sout=". (%m)

Posted: 04 Mar 2012 09:56
by VLC_help
It would help if you pasted the exact command.

Re: VLC2.0 and sout=". (%m)

Posted: 04 Mar 2012 10:46
by martin
It would help if you pasted the exact command.
it is true string.

Re: VLC2.0 and sout=". (%m)

Posted: 05 Mar 2012 20:03
by VLC_help
But there aren't spaces in the filename (like in your error).

Re: VLC2.0 and sout=". (%m)

Posted: 06 Mar 2012 18:45
by martin
this is string, which _I am sending to VLC. Error message was from VLC's message. You want see string, then I put is ( not on same file). But this problem is on ALL files. Why you look error on my side ?

When I uninstall 2.0 and install 1.11, all works well. When install 2.0, error. Some "better" features ?

Re: VLC2.0 and sout=". (%m)

Posted: 06 Mar 2012 19:36
by VLC_help
So if you copy file to C:\ and repeat the process, you still get the exactly same error message?

Re: VLC2.0 and sout=". (%m)

Posted: 06 Mar 2012 19:40
by martin
Same.

File reading failed:
VLC could not open the file "c:\Cerna zmije - Leta kavaliru.avi :sout=". (%m)
Your input can't be opened:
VLC is unable to open the MRL 'file:///c%3A/Cerna%20zmije%20-%20Leta%20kavaliru.avi :sout=#transcode{vcodec=mp2v,vb=3000,venc=ffmpeg,fps=25,vfilter=canvas{width=704,height=576,aspect=16:9},soverlay,acodec=mp2a,ab=192,channels=2,samplerate=48000,scodec=dvbs}:std{access=http,mux=ts{pid-video=68,pid-audio=69},dst=/dream1450615473.ts} :freetype-color=0xFFFF00 :file-caching=1000 :sout-all'. Check the log for details.

in Warnings:
filesystem error: cannot open file c:\Cerna zmije - Leta kavaliru.avi :sout= (No such file or directory)
main error: open of `file:///c%3A/Cerna%20zmije%20-%20Leta%20kavaliru.avi :sout=#transcode{vcodec=mp2v,vb=3000,venc=ffmpeg,fps=25,vfilter=canvas{width=704,height=576,aspect=16:9},soverlay,acodec=mp2a,ab=192,channels=2,samplerate=48000}:std{access=http,mux=ts{pid-video=68,pid-audio=69},dst=/dream1380664967.ts} :sout-all' failed

rename file in c:\ to: test.avi ... same

Re: VLC2.0 and sout=". (%m)

Posted: 07 Mar 2012 20:02
by VLC_help
Have you splitted the command to multiple lines?

Re: VLC2.0 and sout=". (%m)

Posted: 07 Mar 2012 21:35
by martin
Have you splitted the command to multiple lines?
no, it is one line.

Re: VLC2.0 and sout=". (%m)

Posted: 08 Mar 2012 21:30
by VLC_help
I try to replicate this during weekend.

Re: VLC2.0 and sout=". (%m)

Posted: 11 Mar 2012 11:32
by VLC_help
Following

Code: Select all

vlc input.avi :sout=#transcode{vcodec=mp2v,vb=3000,venc=ffmpeg,fps=25,vfilter=canvas{width=704,height=576,aspect=16:9},soverlay,acodec=mp2a,ab=192,channels=2,samplerate=48000,scodec=dvbs}:std{access=http,mux=ts{pid-video=68,pid-audio=69},dst=/dream1450615473.ts} :freetype-color=0xFFFF00 :file-caching=1000 :sout-all
works fine in here.

Re: VLC2.0 and sout=". (%m)

Posted: 11 Mar 2012 14:07
by martin
but it is run from commandline , or no ? Did you try it via http interface ?

Re: VLC2.0 and sout=". (%m)

Posted: 12 Mar 2012 20:13
by VLC_help
No. My bad, I was under assumption that you were streaming via command-line. Then there must be error in HTTP interface parsing, but did you feed the command via what HTTP page?

Re: VLC2.0 and sout=". (%m)

Posted: 13 Mar 2012 10:30
by martin
I am running VLC from XP with:

Code: Select all

"C:\Program Files\VideoLAN\VLC\vlc.exe" --extraintf=http
Note: my 1.1.11 works well with same settings

Re: VLC2.0 and sout=". (%m)

Posted: 13 Mar 2012 15:38
by VLC_help
I mean, do you click the Easy Stream icon or do you paste the command via some other page?

Re: VLC2.0 and sout=". (%m)

Posted: 13 Mar 2012 21:31
by hrotsvith
Same problem here. Having extra-interface "http" activated. When using

Code: Select all

http://127.0.0.1:8080/requests/status.xml?command=in_enqueue&input=file:///anyfile :sout=#transcode


it doesn't work with VLC 2.0.0 (showing above described error "VLC could not open the file "anyfile :sout="")

It worked with VLC 1.x without any problems. It also works if I remove the :sout section but no matter what I'm adding as a parameter after the filename it fails loading (and streaming) the file...

Re: VLC2.0 and sout=". (%m)

Posted: 14 Mar 2012 22:48
by pcd
Hi,

I have also this sout string problem. This is what I found.

I open windows browser IE and insert this url :-

h**p://192.168.1.64:8080/requests/status.xml?command=in_play&input=C:/dream/Video1.mpg -> plays ok with vlc 1.1.9
h**p://192.168.1.64:8080/requests/status.xml?command=in_play&input=C:\dream\Video1.mpg -> plays ok with vlc 2.1.0

h**p://192.168.1.64:8080/requests/status.xml?command=in_play&input=C:/dream/Video1.mpg%20%3Asout%3D%23transcode%7Bvcodec%3Dmp2v%2Cvb%3D800%2Cacodec%3Dmp2a%2Cab%3D128%2Cchannels%3D2%2Csamplerate%3D0%7D%3Ahttp%7Bdst%3D%3A9090%2Fdboxstream.ts%7D -> streams ok with vlc 1.1.9

h**p://192.168.1.64:8080/requests/status.xml?command=in_play&input=C:\dream\Video1.mpg%20%3Asout%3D%23transcode%7Bvcodec%3Dmp2v%2Cvb%3D800%2Cacodec%3Dmp2a%2Cab%3D128%2Cchannels%3D2%2Csamplerate%3D0%7D%3Ahttp%7Bdst%3D%3A9090%2Fdboxstream.ts%7D -> Not ok with vlc 2.1.0

I am testing with the web browser url input - because the command is normally sent from a plugin in the satellite receiver dreambox.

There must be a problem with the vlc 2.x.x sout string input. Please test on a pc browser and suggest a solution. Thanks.

Re: VLC2.0 and sout=". (%m)

Posted: 14 Mar 2012 23:07
by VLC_help
Thanks. I will ticket this during weekend.

Re: VLC2.0 and sout=". (%m)

Posted: 19 Mar 2012 15:20
by pcd
Thanks. I will ticket this during weekend.
Hi,

I cannot find any ticket on this yet. Please do not forget this problem.

Regards, pcd.

Re: VLC2.0 and sout=". (%m)

Posted: 19 Mar 2012 18:51
by VLC_help
I didn't forget. I just didn't have time to fill two tickets yesterday.

Re: VLC2.0 and sout=". (%m)

Posted: 25 Mar 2012 15:57
by VLC_help