PDA

View Full Version : HD YUV files


msm_007
4th June 2009, 11:36
hi all, I hope I'm in the right place
I'm looking for HD YUV files,
can you please give me links for yuv files

:( all links I've found are broken.

(I want to test x264 on raw HD YUV Files)

-------
thx MSM

drmpeg
4th June 2009, 14:24
Here's one where the files are already in YUV format.

ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_exports/SVT_Abekas_Exports_/

Ron

nm
4th June 2009, 15:31
(I want to test x264 on raw HD YUV Files)
How about trying the command-lines I gave you last time (http://forum.doom9.org/showthread.php?p=1256090#post1256090) to create your own raw yuv files? Much faster than downloading huge uncompressed files from the internet.

LoRd_MuldeR
4th June 2009, 16:44
And why not frameserve some losslessly compressed files into x264 instead of uncompressed YUV files? For example HuffYUV or FFv1.

This will save you a lot of diskspace and HDD activity...

msm_007
5th June 2009, 11:16
Hi, nm

How about trying the command-lines I gave you last time (http://forum.doom9.org/showthread.php?p=1256090#post1256090) to create your own raw yuv files? Much faster than downloading huge uncompressed files from the internet.

I've test it, but there are some error , and the result is unreadble
for that I post the message again (hope that I can find one)

thx all

msm_007
5th June 2009, 11:19
Hi drmpeg
Here's one where the files are already in YUV format.

ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_exports/SVT_Abekas_Exports_/

Ron

PLZ , can you tell me how I can transform .qnt files in an one YUV file

thx

nm
5th June 2009, 14:40
I've test it, but there are some error , and the result is unreadble
Works fine for me. Maybe your input file was broken. Did you try converting other video files?

Well, looks like there actually is a way to access the test sequences at ftp.ldv.e-technik.tu-muenchen.de. The server doesn't seem to like Firefox or wget, but ftp works for me on Linux. Maybe some graphical FTP clients work too. Login as "anonymous" and go to dist/test_sequences/1080p.

LoRd_MuldeR
5th June 2009, 16:03
Works fine for me. Maybe your input file was broken. Did you try converting other video files?

Well, looks like there actually is a way to access the test sequences at ftp.ldv.e-technik.tu-muenchen.de. The server doesn't seem to like Firefox or wget, but ftp works for me on Linux. Maybe some graphical FTP clients work too. Login as "anonymous" and go to dist/test_sequences/1080p.

It seems you must use the "active" mode of FTP, instead of the "Passive" mode for that server. Works for me using the FileZilla client (Windows).

msm_007
6th June 2009, 10:56
Well, looks like there actually is a way to access the test sequences at ftp.ldv.e-technik.tu-muenchen.de. The server doesn't seem to like Firefox or wget, but ftp works for me on Linux. Maybe some graphical FTP clients work too. Login as "anonymous" and go to dist/test_sequences/1080p.

It seems you must use the "active" mode of FTP, instead of the "Passive" mode for that server. Works for me using the FileZilla client (Windows).

I've tried both (on linux and Filezilla) and I still can't access,

coold you please, if you can access, upload me one of those HD files on a share site, thx alot

LoRd_MuldeR
6th June 2009, 13:38
coold you please, if you can access, upload me one of those HD files on a share site, thx alot

These files have sizes of ~1,5 GB each, so I cannot upload them for you. I'd probably run into the 24h disconnect :D

nm
6th June 2009, 14:19
I've tried both (on linux and Filezilla) and I still can't access,
Perhaps you're NATed by a device that doesn't support active FTP properly. Try connecting from some other location if possible.

Here's a wget line to download one of the files directly:wget --no-passive-ftp ftp://ftp.ldv.e-technik.tu-muenchen.de/dist/test_sequences/1080p/tractor.yuv

And a 30-frame cut from the file: http://www.mediafire.com/?kzmautmnnjm

drmpeg
6th June 2009, 15:13
The command prompt is your friend. Stuff to type in pointed to by arrows.

http://www.w6rz.net/ftp.png

I'm getting about 2 Mbps sustained from the site. Takes over an hour to download 1 file.
Ron

LoRd_MuldeR
6th June 2009, 15:22
That won't help if he's behind a NAT router, where he can't accept any incoming connections from the FTP server ;)

But this will be required for the "active" mode (PORT command) of the FTP protocol.

The "passive" mode doesn't work with that server. Probably because the FTP server itself is behind a (wrongly configured) NAT router...

drmpeg
7th June 2009, 03:37
Hi drmpeg

PLZ , can you tell me how I can transform .qnt files in an one YUV file

thx
Here's a utility to convert .qnt files (which are just 4:2:2 UYVY files) to one big YV12 file required by x264.

http://www.w6rz.net/qnt2yuv.zip

usage: qnt2yuv <horz> <vert> <prefix> <outfile> <interlace>

For example:

qnt2yuv 1920 1080 NM_ newmobile.yuv 1

It will convert each file starting an NM_00000.qnt until it can't open an input file (in this case, NM_00302.qnt). Since the program is performing 4:2:2 to 4:2:0 conversion, you have to specify if the input file is interlace (1) or progressive (0).

Ron

msm_007
9th June 2009, 11:46
Thank you gays very very much
really you've saved my life ( :) )


And a 30-frame cut from the file: http://www.mediafire.com/?kzmautmnnjm

plz could you tell me how you've extract those frames


again thx a lot for all of you for your assistance

LoRd_MuldeR
9th June 2009, 11:56
You can extract a section from a YUV file (raw YV12 data) simply by truncating the file. The size of one frame, in bytes, is:
size_frame = (width * height * 12) / 8

So if you want to cut out the frames a to b, skip the first (a-1) * size_frame bytes and then copy (b-a) * size_frame bytes ;)

nm
9th June 2009, 13:53
Thank you gays very very much
;)

plz could you tell me how you've extract those frames
Well, I could have calculated the number of bytes to copy as LoRd_MuldeR explained, and then used dd or a simple script to do it, but I had a sledgehammer handy:
mencoder tractor.yuv -demuxer rawvideo -rawvideo w=1920:h=1080:fps=1 -endpos 30 -ovc raw -vf format=i420 -nosound -of rawvideo -o cut.yuv
Looks like MEncoder encodes one frame more than what is specified by endpos and fps though, so I got 31 frames instead of 30.