public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* .yuv file
@ 2010-03-18 10:56 Carlos Lavin
  2010-03-18 13:38 ` Basil Mohamed Gohar
  0 siblings, 1 reply; 3+ messages in thread
From: Carlos Lavin @ 2010-03-18 10:56 UTC (permalink / raw)
  To: video4linux-list

hello, I am making an application for save images in yuv format in files
with .yuv extension, but I don't find information about how the information
about the image is save in the file, how the image is saved in the file? how
it is organized in the file .yuv? anyboy can help me? anybody kwon any link
where to explain my problem? thanks
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: .yuv file
  2010-03-18 10:56 .yuv file Carlos Lavin
@ 2010-03-18 13:38 ` Basil Mohamed Gohar
  2010-03-19  0:18   ` Charlie X. Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Basil Mohamed Gohar @ 2010-03-18 13:38 UTC (permalink / raw)
  To: video4linux-list

On 03/18/2010 06:56 AM, Carlos Lavin wrote:
> hello, I am making an application for save images in yuv format in files
> with .yuv extension, but I don't find information about how the information
> about the image is save in the file, how the image is saved in the file? how
> it is organized in the file .yuv? anyboy can help me? anybody kwon any link
> where to explain my problem? thanks
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>   
A "yuv" format image is a raw stream of bits.  It does not normally
store *any* metadata about the image itself.  So, typically, there's no
way to know the dimensions of the image, the framerate of the stream, or
even the format of the pixels themselves.  You will have to know these
yourself if you wish to work with those images, and since you're
creating them, that shouldn't be a problem.

If, on the other hand, you want to store raw, uncompressed data but
retain some metadata about it, you can choose the yuv4mpeg format, which
can store data such as the resolution, pixel format, frame rate, and
even whether the frames are progressive or interlaced.  A yuv4mpeg file
has nothing explicitly to do with mpeg video, it was just named that
because that was the original primary use for such raw data.

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: .yuv file
  2010-03-18 13:38 ` Basil Mohamed Gohar
@ 2010-03-19  0:18   ` Charlie X. Liu
  0 siblings, 0 replies; 3+ messages in thread
From: Charlie X. Liu @ 2010-03-19  0:18 UTC (permalink / raw)
  To: 'Basil Mohamed Gohar', video4linux-list

The FFmpeg does support the .yuv format (http://linux.die.net/man/1/ffmpeg
), though it's YUV420P. You may take a look at FFmpeg
(http://ffmpeg.org/download.html ) code to find out how it implements it.


-----Original Message-----
From: video4linux-list-bounces@redhat.com
[mailto:video4linux-list-bounces@redhat.com] On Behalf Of Basil Mohamed
Gohar
Sent: Thursday, March 18, 2010 6:38 AM
To: video4linux-list@redhat.com
Subject: Re: .yuv file

On 03/18/2010 06:56 AM, Carlos Lavin wrote:
> hello, I am making an application for save images in yuv format in files
> with .yuv extension, but I don't find information about how the
information
> about the image is save in the file, how the image is saved in the file?
how
> it is organized in the file .yuv? anyboy can help me? anybody kwon any
link
> where to explain my problem? thanks
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>   
A "yuv" format image is a raw stream of bits.  It does not normally
store *any* metadata about the image itself.  So, typically, there's no
way to know the dimensions of the image, the framerate of the stream, or
even the format of the pixels themselves.  You will have to know these
yourself if you wish to work with those images, and since you're
creating them, that shouldn't be a problem.

If, on the other hand, you want to store raw, uncompressed data but
retain some metadata about it, you can choose the yuv4mpeg format, which
can store data such as the resolution, pixel format, frame rate, and
even whether the frames are progressive or interlaced.  A yuv4mpeg file
has nothing explicitly to do with mpeg video, it was just named that
because that was the original primary use for such raw data.

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-19  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-18 10:56 .yuv file Carlos Lavin
2010-03-18 13:38 ` Basil Mohamed Gohar
2010-03-19  0:18   ` Charlie X. Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox