View Full Version : .264 to yuv PSNR
suciR
10th June 2012, 16:00
how about .264 to .yuv using ffmpeg ?
how about .264 to .yuv using ffmpeg ?
ffmpeg -i input.264 -f rawvideo -vcodec rawvideo output.yuv
suciR
11th June 2012, 15:33
ffmpeg -i input.264 -f rawvideo -vcodec rawvideo output.yuv
Sir, but when i used that, my AvPSNR is 0nly 8.4876
Then you're doing something wrong. Comparing wrong frames, reading the raw file incorrectly or ...
Post two .yuv frames that you are trying to compare. Or alternatively a .264 file and the video you're comparing against.
Guest
11th June 2012, 17:37
Yes, it's not clear what he is comparing.
BTW, I broke this out to its own thread as it was OT in the "yuv to .264" thread.
suciR
12th June 2012, 09:16
Then you're doing something wrong. Comparing wrong frames, reading the raw file incorrectly or ...
Post two .yuv frames that you are trying to compare. Or alternatively a .264 file and the video you're comparing against.
I've final project from this site (http://webcache.googleusercontent.com/search?q=cache:http://140.116.164.80/~smallko/ns2/crosslayer_video.htm) , but i want it with H.264/AVC,
1.I used x264, i've got file .264 from .yuv
2.used Mp4box
3.used mp4trace to get the send a hinted mp4-file per RTP/UDP to a specified destination host
4. run it all in my script at Ns-2
5.used etmp4.exe for produced video files are according to the final parameter (foreman_qcife) in this step. which i've got is .264
6. used ffmpeg from .264 to .yuv
$./.ffmpeg.exe -i foreman_qcife0.264 -f h264 -vcodec libx264 foreman_qcife0.yuv
http://forum.doom9.org/attachment.php?attachmentid=12818&stc=1&d=1339487745
7. used avgpsnr.exe from evalvid
http://forum.doom9.org/attachment.php?attachmentid=12819&stc=1&d=1339488193
All the referenca i've got frm this (http://www2.tkn.tu-berlin.de/research/evalvid/EvalVid/docevalvid.html)
Any idea?
J_Darnley
12th June 2012, 10:32
6. used ffmpeg from .264 to .yuv
$./.ffmpeg.exe -i foreman_qcife0.264 -f h264 -vcodec libx264 foreman_qcife0.yuv
What is this supposed to be? If you want uncompressed video, why are you using libx264 and forcing the format to h264? You have been told several times how to make uncompressed video now start doing it.
suciR
13th June 2012, 09:20
http://dl.acm.org/citation.cfm?id=1190459&bnc=1
I'm doing like nm said:
ffmpeg -i input.264 -f rawvideo -vcodec rawvideo output.yuv
so what is suposed to do?
is it
./ffmpeg.exe -i foreman_qcife.264 foreman_qcife.yuv
and the avgpsnr is 38.0392, but all the value for different scripts all of my simulate scrip's file 'crosslayer.tcl' are same.
Guest
13th June 2012, 13:13
but all the value for different scripts all of my simulate scrip's file 'crosslayer.tcl' are same. You've given us no context to understand the significance of what you write here. Do you expect us to buy the article that you linked?
suciR
13th June 2012, 15:05
woahhh..of course not..
i thought u ask me why i ask u an easy question couse it's easy for this forum..
So , as i've told u b4 that i've a deadline final project using ffmpeg n x264..
I justwant to know how to make my qcif video became a maximal video.
Just give an idea,pleas :)
Guest
13th June 2012, 15:09
woahhh..of course not..
Then why did you link it?
You have to ask intelligible questions to get intelligible answers.
And we're not going to do your homework for you.
suciR
13th June 2012, 15:25
Mr, Neuron2
Okay..
I want to make like this
GEneral: Overall bit rate : 284 Kbps
Video : Format settings, BVOP : Yes
Format settings, QPel : No
Format settings, GMC : No warppoints
Bit rate mode : Variable
Bit rate : 256 Kbps
Maximum bit rate : 541 Kbps
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.337
Stream size : 417 KiB (90%)
Soulution pleas, don't angrier pleas...
Guest
13th June 2012, 16:08
Questions on MPEG-4 ASP belong in this forum:
http://forum.doom9.org/forumdisplay.php?f=52
suciR
14th June 2012, 07:08
if i used this commnd,
x264.exe --preset placebo --tune psnr -o foreman_qcif.264 foreman_qcif.yuv
Can the PSNR becoming good???
Guest
14th June 2012, 12:32
Why don't you try it and see for yourself?
The problem in answering your question is that your idea of "good" PSNR is undefined.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.