Discussion:
[vlc] how does mux=raw work?
Gun Akkor
18 years ago
Permalink
Hello,

I am trying to capture video from a Video4Linux compatible
card, and I would like to store the captured video
"without" compression in a file. I tried:

vlc -vvv v4l:// :v4l-vdev="/dev/video0" :v4l-norm=1 --sout
'#duplicate{dst=display,
dst=std{access=file,mux=raw,dst="/tmp/test"}}'

VLC debug output shows me that the v4l demuxer grabs the
video as "es RV24 352x288". The VLC seems to change the
chroma values from RV24 352x288 -> YUY2 352x288 for
display purposes. The video is displayed correctly, and
the file is created without a problem.

However, I can not playback the resulting file. Because
VLC assumes that the input container is either MPEG TS or
MPEG PS. It realizes that something is wrong with the
demux, but still keeps going.

Can anybody provide input on how to store captured video
as-is in a file and display it later on using VLC?

Thanks in advance,
Gun

PS. I tried to use :demux=dump :demuxdump-file="/tmp/test"
without success. But it is possible that I am doing
something wrong.


Gun Akkor, Ph.D.
Engineering Department
Patton Electronics, Co.
Gaithersburg, MD 20879
(301) 975-1000
gakkor AT patton DOT com
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
Avnish Joy
18 years ago
Permalink
I need a batch file that starts the vlc and stops it at a given time. I have
code to start the vlc but I do not have any code to stop it. I would like to
pass the time period as an argument and stop the vlc once it has played for
that time period.

I need this urgently.

Avnish Joy
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
Julian Allen
18 years ago
Permalink
Would this be what you're looking for?

--start-time=<integer>
--stop-time=<integer>

=Julian=

Avnish Joy <avnish at airchord.com> wrote: I need a batch file that starts the vlc and stops it at a given time. I have
code to start the vlc but I do not have any code to stop it. I would like to
pass the time period as an argument and stop the vlc once it has played for
that time period.

I need this urgently.

Avnish Joy
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20070219/e676955a/attachment.html>
Continue reading on narkive:
Loading...