Sorry about that! I review these before I post a new answer. But after a long session I sometimes become confused as to who said what.Thanks for answering.
You must have notice that “Guest” and I are posting replies. Guest said that no format works. I disagree with Guest, and said that vcodec=DIV3 works in my last post!
While you may not need the file or use the file it is the only way to begin to trouble shoot the problem. Trying to save the file without transcoding will not work, it also will not stream. This is why it is best to separate the functions.Anyway, I’ll try to answer your questions (may be Guest will also answer it)
1- Yes it does perfectly.
2- I don’t know. I have never needed such information to make capture or streaming from web cams. As far as I can see, web cams usually provide kind of raster formats then transcoding is always necessary. Is it correct?
3- See bellow:
a) Trying to save to file without transcoding (I think that it should not work anyway)
:sout=#duplicate{dst=std{access=file,mux=ts,dst="C:\test.mpeg"}}
Output:
[00000294] main private error: cannot add this stream
[00000296] main packetizer error: cannot create packetizer output (I420)
[00000294] main private error: cannot add this stream
[00000304] main packetizer error: cannot create packetizer output (s16l).
:sout=#transcode{vcodec=mp4v,vb=256,scale=1,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=ts,url="C:\Documents and Settings\Owner\My Documents\My Videos\Test.ts"}}b)Using vcodec=mp4v, and mux=ts
:sout=#transcode{vcodec=mp4v,vb=256,scale=1,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="C:\test.mp4"}}
Output:
[00000366] ffmpeg encoder error: cannot open encoder
[00000356] stream_out_transcode private error: cannot find encoder
:sout=#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mpga,ab=64,channels=2}:duplicate{dst=std{access=file,mux=ts,url="C:\Documents and Settings\Owner\My Documents\My Videos\Test.ts"}}c) Using vcodec=DIV3, and mux=ts
:sout=#transcode{vcodec=DIV3,vb=256,scale=1,acodec=mp4a,ab=64,channels=2}:duplicate{dst=std{access=file,mux=ts,dst="C:\test.div3"}}
Output: works!!!!
I played the file C:\test.div3 and it is OK!!!
The only problem I face now is when I choose vcodec=mp4v. Guest may have discovered other problems.
As Guest is able to use Graph Edith and there is a use case of VLC that works well in previous VLC’s versions, I simply suggest starting investigation by this use case.
Using GraphEdit, the most difficult thing to do is finding the driver for your capture device. Once you have, you can right click on the output pin and ask it to render. What we are interested in is the codecs it is calling for Audio and Video.OK,
Now, you may ask me to use Graph Edith. I have got I friend who works with me and has already downloaded it and he is ready to test. Just tell us what to do.
This is encouraging! I'm a bit surprised that QT will recognize this. Have you installed a third party package?Following your suggestions:
a)
vlc dshow:// :dshow-vdev="Logitech QuickCam for Notebooks Pro" :dshow-adev="Logitech Mic (Notebooks Pro)" :dshow-size="320x240" :sout=#transcode{vcodec=DIV3,vb=512,scale=1,acodec=mpga,samplerate=22050,ab=96,channels=2}:duplicate{dst=std{access=file,mux=ts,url="C:\test.ts"}}
Works!
b)
vlc dshow:// :dshow-vdev="Logitech QuickCam for Notebooks Pro" :dshow-adev="Logitech Mic (Notebooks Pro)" :dshow-size="320x240" :sout=#transcode{vcodec=WMV2,vb=512,scale=1,acodec=mp3,samplerate=44100,ab=96,channels=2}:duplicate{dst=std{access=file,mux=asf,url="C:\test.asf"}}
Works too!
Option b) is also interesting: test.asf could be played by VLC, Real and QT!
The buffering problem is the speed of your connection. Try optmizing the file some more trading quality for size durring transcode and then use those numbers for streaming.A have also test these streams:
c)
vlc dshow:// :dshow-vdev="Logitech QuickCam for Notebooks Pro" :dshow-adev="Logitech Mic (Notebooks Pro)" :dshow-size="320x240" :sout=#transcode{vcodec=WMV2,vb=512,scale=1,acodec=mp3,samplerate=44100,ab=96,channels=2}:duplicate{dst=std{access=http,mux=asf,url="localhost:1234/test.asf"}}
It works when played by VLC and WMP though WMP stops from time to time for buffering.
d)
vlc dshow:// :dshow-vdev="Logitech QuickCam for Notebooks Pro" :dshow-adev="Logitech Mic (Notebooks Pro)" :dshow-size="320x240" :sout=#transcode{vcodec=mp4v,vb=512,scale=1,acodec=mp3,samplerate=44100,ab=96,channels=2}:duplicate{dst=std{access=rtp,mux=asf,url="localhost:1234/test.asf"}}
And got:
VLC media player 0.8.5-svn-20060303-0001 Janus
[00000291] stream_out_standard private error: for now udp and rtp are only valid with TS
[00000335] ffmpeg encoder error: cannot open encoder
[00000286] stream_out_transcode private error: cannot find encoder
I was referring to your earlier examples.If I could choose the first mux besides TS to be valid with udp and rtp I’d choose MP4.
Now it seems that only MPEG codecs are missing, to put 0.8.5 as functional as 0.8.2 and 0.8.4.a.
By the way, what you mean by C & D?
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: Bing [Bot] and 33 guests