Sending YUV data to a pipe under windows

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
petebleackley
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2011 15:40

Sending YUV data to a pipe under windows

Postby petebleackley » 23 Feb 2011 15:48

I want to decode some video with VLC, and pipe YUV data to another application for processing. So far my command line looks like.

"c:\program files\videolan\vlc\vlc" --vout=yuv --yuv-file=//- --yuv-yuv4mpeg2 file.mpg | MyApp

What should the value of --yuv-file be to ensure that the decoded data is sent to MyApp correctly?

Pete

petebleackley
New Cone
New Cone
Posts: 2
Joined: 23 Feb 2011 15:40

Re: Sending YUV data to a pipe under windows

Postby petebleackley » 24 Feb 2011 14:37

I'm currently using the command line

C:\Python27>"c:\program files\videolan\vlc\vlc" --vout=yuv --yuv-yuv4mpeg2 --sout=file/raw://- \python27\antiques_roadshow.mpg vlc://quit | MyApp

This seems to pipe the data correctly, but the yuv4mpeg headers are missing from the data, and MyApp needs them. I thought that --yuv-yuv4mpeg2 was the correct option to turn them on. Can anyone tell me what to do?

Pete

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Sending YUV data to a pipe under windows

Postby Jean-Baptiste Kempf » 25 Feb 2011 10:58

vout=yuv does send only the raw yuv data, with no yeaders.
Why not transcode to huffyuv or something like I420 ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 141 guests