How to extract YUV output file with VLC command line??

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kideok318
New Cone
New Cone
Posts: 3
Joined: 18 Apr 2014 16:33

How to extract YUV output file with VLC command line??

Postby kideok318 » 19 Apr 2014 17:43

Hello. I want to extract YUV output file with VLC command line on Ubuntu.
In order to do this, I've used several methods.

For instance,
cvlc -vvv /home/led/Streaming/dance_2.mp4 --sout '#duplicate{dst="transcode{vcodec=I422}:std{access=file,mux=raw,dst=/home/led/yuv_test.yuv}"'

I can get an yuv video file, but That video was not play properly on YUVviewer or VLC.
Playing the YUV file back shows greenish noisy frames that does not resemble the original video.

Is it possible to repair the part of the wrong command I wrote above?

Furthermore,
https://wiki.videolan.org/VLC_command-line_help/
This site explains 'YUV video output' options.

---------------------------------------------------------------------------------------------
YUV video output
--yuv-file=<string> device, fifo or filename
device, fifo or filename to write yuv frames too.
--yuv-chroma=<string> Chroma used
Force use of a specific chroma for output. Default is I420.
--yuv-yuv4mpeg2, --no-yuv-yuv4mpeg2
YUV4MPEG2 header (default disabled) (default
disabled)
The YUV4MPEG2 header is compatible with mplayer yuv video output and
requires YV12/I420 fourcc. By default vlc writes the fourcc of the
picture frame into the output destination. (default disabled)
---------------------------------------------------------------------------------------------

Is it possible to know an example of a command of specific forms to use this option?

I need help really..

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests