How to save the decoded stream to a file

*nix specific usage questions
yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

How to save the decoded stream to a file

Postby yKevin » 01 Sep 2008 04:32

Hi, everyone

Now, i have a little trouble on VLC.
And i need to know:
How can I save the decoded stream to a file,
i.e., let's take .mp4 file as an example,
mp4 file is decoded to the .yuv file, and how can I save the .yuv file to the disk?
I need the command line information, and I checked the VideoLan HOWTOhttp://www.videolan.org/doc/videolan-ho ... index.html,
but seems no result.

Thank you
Regards

yKevin

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: How to save the decoded stream to a file

Postby yKevin » 01 Sep 2008 09:54

To the question, ANY info is welcomed.
OK, let's make the question be clearer :mrgreen: :
Does the command line of VLC support the decoded stream saving(yuv format)?

Waiting for your reply.
Thank you.
yKevin

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: How to save the decoded stream to a file

Postby dionoea » 01 Sep 2008 15:02

Saving to raw has been added recently in Git master (so VLC 1.0.0). You can give that a try ... or wait a few months for the release ;)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: How to save the decoded stream to a file

Postby yKevin » 02 Sep 2008 03:20

Thank you very much,dionoea
Your message is useful to me :mrgreen:

And thanks to all the people who care about this problem.

regards
yKevin

7nd
New Cone
New Cone
Posts: 2
Joined: 07 Sep 2008 20:00

Re: How to save the decoded stream to a file

Postby 7nd » 07 Sep 2008 20:16

Hi, everyone

Now, i have a little trouble on VLC.
And i need to know:
How can I save the decoded stream to a file,
i.e., let's take .mp4 file as an example,
mp4 file is decoded to the .yuv file, and how can I save the .yuv file to the disk?
I need the command line information, and I checked the VideoLan HOWTOhttp://www.videolan.org/doc/videolan-ho ... index.html,
but seems no result.

Thank you
Regards

yKevin

Look here:
http://www.videolan.org/doc/streaming-howto/

try something like

Code: Select all

--sout file/muxer:stream.xyz
maybe this feature will make you happy :)

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: How to save the decoded stream to a file

Postby yKevin » 08 Sep 2008 10:15

Thank you for your help, dude.
And I tried that before, but it just saved the original stream (mp4 file) to the disk :D .
But I need this function:

.mp4 file ---> decoded to raw video(.yuv file) ----> saved to the disk.

Thanks again. :mrgreen:
Regards
yKevin

yKevin
Blank Cone
Blank Cone
Posts: 25
Joined: 31 Jul 2008 11:14

Re: How to save the decoded stream to a file

Postby yKevin » 11 Sep 2008 11:43

I made it.
I wrote a module for the output of raw data, and got the result that I need. :mrgreen:

Good Luck.
Regards
yKevin


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests