Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th June 2009, 10:36   #1  |  Link
msm_007
Registered User
 
Join Date: Jan 2009
Posts: 34
HD YUV files

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
msm_007 is offline   Reply With Quote
Old 4th June 2009, 13:24   #2  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Here's one where the files are already in YUV format.

ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_...ekas_Exports_/

Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 4th June 2009, 14:31   #3  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by msm_007 View Post
(I want to test x264 on raw HD YUV Files)
How about trying the command-lines I gave you last time to create your own raw yuv files? Much faster than downloading huge uncompressed files from the internet.
nm is offline   Reply With Quote
Old 4th June 2009, 15:44   #4  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
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...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 5th June 2009, 10:16   #5  |  Link
msm_007
Registered User
 
Join Date: Jan 2009
Posts: 34
Hi, nm

Quote:
Originally Posted by nm View Post
How about trying the command-lines I gave you last time 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 is offline   Reply With Quote
Old 5th June 2009, 10:19   #6  |  Link
msm_007
Registered User
 
Join Date: Jan 2009
Posts: 34
Hi drmpeg
Quote:
Originally Posted by drmpeg View Post
Here's one where the files are already in YUV format.

ftp://vqeg.its.bldrdoc.gov/HDTV/SVT_...ekas_Exports_/

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

thx
msm_007 is offline   Reply With Quote
Old 5th June 2009, 13:40   #7  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by msm_007 View Post
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.
nm is offline   Reply With Quote
Old 5th June 2009, 15:03   #8  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by nm View Post
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).
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 5th June 2009 at 15:13.
LoRd_MuldeR is offline   Reply With Quote
Old 6th June 2009, 09:56   #9  |  Link
msm_007
Registered User
 
Join Date: Jan 2009
Posts: 34
Quote:
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.
Quote:
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
msm_007 is offline   Reply With Quote
Old 6th June 2009, 12:38   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
Quote:
Originally Posted by msm_007 View Post
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
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Old 6th June 2009, 13:19   #11  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by msm_007 View Post
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:
Code:
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
nm is offline   Reply With Quote
Old 6th June 2009, 14:13   #12  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
The command prompt is your friend. Stuff to type in pointed to by arrows.



I'm getting about 2 Mbps sustained from the site. Takes over an hour to download 1 file.
Ron
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 6th June 2009, 14:22   #13  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
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...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 6th June 2009 at 14:28.
LoRd_MuldeR is offline   Reply With Quote
Old 7th June 2009, 02:37   #14  |  Link
drmpeg
Registered User
 
Join Date: Jan 2003
Location: Silicon Valley
Posts: 455
Quote:
Originally Posted by msm_007 View Post
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
__________________
HD MPEG-2 Test Patterns http://www.w6rz.net
drmpeg is offline   Reply With Quote
Old 9th June 2009, 10:46   #15  |  Link
msm_007
Registered User
 
Join Date: Jan 2009
Posts: 34
Thank you gays very very much
really you've saved my life ( )

Quote:
Originally Posted by nm View Post
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
msm_007 is offline   Reply With Quote
Old 9th June 2009, 10:56   #16  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
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
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊

Last edited by LoRd_MuldeR; 9th June 2009 at 11:10.
LoRd_MuldeR is offline   Reply With Quote
Old 9th June 2009, 12:53   #17  |  Link
nm
Registered User
 
Join Date: Mar 2005
Location: Finland
Posts: 2,641
Quote:
Originally Posted by msm_007 View Post
Thank you gays very very much


Quote:
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:
Code:
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.
nm is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 19:16.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.