Well, the new yuv plays in yuv player so the input is OK and when it encodes to hevc it encodes at almost 6 fps but the output is still not right. It tries to play but every other keyframe is messed up. I'm still getting the error when the encoder finishes encoding.
My test video is made from six images in Photoshop. I take the psd file and open in Gif Movie Gear where I set the playback speed and convert the images to uncompressed avi. I open the uncompressed avi in Virtualdub and convert to frames per second and save as uncompressed avi. Open in ffmpeg with avs and convert to yuv. What I meant by keyframe was each picture. The first picture is corrupt until it gets to the second picture which looks good until it gets to the third picture which is corrupt until it gets to the fourth picture which is fine and so on and so on.
I was going to try ffmpeg through Virtualdub external encoder like I did before but since I installed a backup image of XP, I lost the command line that I used that worked. I'll have to figure it out again if I can. That is why I'm eager for a working ffmpeg build with a newer libx265. It's the only way so far to pipe x265 into the Virtualdub external encoder since x265.exe does not support stdin.
+ Reply to Thread
Results 121 to 150 of 2189
What I meant by keyframe was each picture. The first picture is corrupt until it gets to the second picture which looks good until it gets to the third picture which is corrupt until it gets to the fourth picture which is fine and so on and so on.
when i get home, i'll post mine and the param string i used in ffmpeg from last night. maybe you will get the same results.
@ DarrellS: Steve Borho already said he doesn't want to make x265 accept stdin, BUT
Min Chen ( aka «THE X265 Man» ) might think otherwise I guess it doesn't hurt to e-mail him
chenm003 ätt 163 d0tt com
Last edited by El Heggunte; 7th Aug 2013 at 21:17. Reason: edit
Build 3cadbb2d0150 available (goto post #1).
This is the last commit that still has the --gops option.
archive not stable..'please insert the last disk of the multi-volumne set...' error.
so i can keep my home made gui consistant with each built, will the param list be updated with the removed/added params ? i was thinking of building into the gui a list of params and definitions so that when i'm entering the params i can see what each function is for so that i can remember what does what. if i learned anything form x264, is...well, you know what i mean.
also, i d/l'ed mingw (mingw-get-inst-20120426.exe not sure if is latest), has anyone put up a guide on how to compile on their own, x265.exe ?
1) Edit the file etc\fstab --- for example,
#You can use a # as the first character on the line as a comment indicator. #Blank lines are ignored. #Win32_Path Mount_Point E:/GCC481/mingw /mingw E:/GCC481/at-home /home #fstab.sample #This is a sample file for /etc/fstab. #Currently /etc/fstab is only read during dll initialization. #I will eventually watch the directory for changes and reread the file. #The line format is simple in that you give the Win32 path, followed by one or #more space or tab delimiter, followed by the mount point. Mount points in #typical UNIX environments must be a physical name on a drive before it can #actually be used as a mount point. In this implementation the "must exist" #requirement isn't enforced, however, it will be an aide to such programs as #find and readline's tab completion if it does exist.
3) Create the folder where you want to store the x265 source-code.
4) Open a command prompt on that folder.
5) Type and enter this command-line: hg clone https://bitbucket.org/multicoreware/x265
6) After the download is complete, type msys and press Enter.
7) Change the working directory to "Path-To/x265/build/msys".
8) Run cmake -G "MSYS Makefiles" ../../source && cmake-gui ../../source
9) IGNORE the warning about the stupid Visual Leak Detector thing.
9.5) Or you can edit the main CMakeLists.txt and erase the lines about the Visual Leak detector.
10) In the CMake GUI, click the buttons "Configure" and "Generate".
11) Back in the Msys console, run make.
12) IF the compiling process manages to reach 100%, THEN type exit, and go test your newborn x265.exe.
13) Otherwise, copy the compiling error message and send it in an e-mail to Steve Borho.
[ steve ättt borho d0ttttt org ]
HOW TO BUILD 64-BIT BINARIES:
Last edited by El Heggunte; 11th Feb 2014 at 06:30. Reason: edit
thank you! most graciously!
I am impressed how much progress you guys made so quickly.
wondering if i can be of some use link this is the up-2-date 'repository' if i get things right? the one you used to compile recent commits of x265, formerly and still i guess work of that min chen
I am no expert in programming, but im gonna try and see what i can do about stdin support
btw, i have recently put together a whole ep. encode ~24min long at 720x400 ( maybe upload it in a while ), but i can only do that with --no-wpp on. Whenever i enable parallelism i end up having corrupt frames of all sorts and players stuck at random points in video.
My command line was a little bit quality overkill, me thinks that something like qp=22 and in return maxmerge=3 would be real nice too
x265.exe --q 20 --keyint 24 --width 720 --height 400 --rate 23.976 --frames all --input "another1ep.yuv" --rect --max-merge 1 --hash 0 --no-rdo --no-rdoq --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --no-tskip-fast --no-wpp --output "another1ep.hm10"
psnr Y:45.2 U:48.6 V:48.7
upload click filename
Last edited by Jacobr; 9th Aug 2013 at 13:04. Reason: upload
i was not able to compile. i am just not unix savy person, its another world to me. i got stuck on step 1 have no idea what it means. i just want to get it all installed? onto a memeory stick and run it from there, on any computer or netbook or laptop. if someone could create a complete memory stick version, that would be awsome!!
i'm also working on a gui for x265 and ffmpeg (libx265) though lib265 still does not seem to work, so is worthless for now. however, if others want to code one up for any/both and post, that is good too. but please make it drag/drop convenient. i just want to d/d my source into it, (give the input source spec details, x,y, rate, a quick basic param string tempate (so nothing is entered) etc) and encode. otherwise, do what you feel sutes you.
not sure if all would agree, but if we need to compare against something, lets use the strongene lentoid hevc encoder as a base and compare x265 revisions (encodings) to it for the time being.
and if someone is savy enough, (i've seen many topics here on watermark/logs etc) to take the watermark from the strongene lentoid encoder and create a new one that we can import into an avisynth script to incorporate into (same x,y position) when we create our raw yuv source to encode form, the watermark will be in the same place as strongene lentoid's. then we can compare the two. the reason i suggest theirs is because it is the simplest to setup and encode with, i was not able to get the other two competiter hevc encoders to work. post the method / steps so all can use.
Last edited by Trepack; 9th Aug 2013 at 13:15.
this is the archive i d/l'ed to my mem stick, and then used 7z's copy-to function to the mem stick as g:\tools drive
etc\fstab and at-home folders do not exist in the created folders. i did see a etc\fstab.sample file though. i did not run any install or other program. just copied everything over via 7z. i will look again at it when i get home. its my pizza night, fridays..
edit: wait, i have the mem stick with me..give me a moment..
Last edited by vhelp; 9th Aug 2013 at 14:38.
in the image i posted of the folder, there is no ../home folder
maybe "MSYS_MinGW-w64_GCC_481_x86-x64_Full.7z" is incomplete ? .. doesn't have all the folders ?
And will be in your user folder Inside you'll of this you can put the x265 directory if you want or run in terminal...
hg clone https://bitbucket.org/multicoreware/x265
if you want to know if there are changes in the code run
cd x265 hg pull
Last edited by Trepack; 9th Aug 2013 at 14:52. Reason: Insert command
ok, i made the change in file 'fstab.sample' and saved as 'fstab' with the following:
#Win32_Path Mount_Point #c:/mingw /mingw #c:/ActiveState/perl /perl #Win32_Path Mount_Point g:/tools/MYSYS/mingw /mingw g:/tools/MYSYS/home /home
Tortoisehg and the source code downloaded
cd x265/build/msys cmake -G "MSYS Makefiles" ../../source && cmake-gui ../../source
Last edited by Trepack; 9th Aug 2013 at 15:51.
Jacobr, thanks a lot for yet another sample encode
I'm still getting a crash in x265.exe every time the encoder finishes. Don't know what to do to keep that from happening. Running XP Pro SP3 on P35 MB with Q6600 and 4GB memory.
I used your commandline on build0.3-161
Stdin support would really be great.
By the way, I found a newer Lentoid decoder on their website. I thought maybe that was my problem with playback but seems it was the wpp.
i don't remember any crashes after encodes with x265 from jeeb. i'll have to double-check that.
are they crashing on any length (30 frames, 1000 frames, for instance) videos ?
also, fyi..when you post to outside websites, some organizations block from d/l'ing. mine blocks everything, even images..unless they are posted here.
I'm still getting a crash in x265.exe every time the encoder finishes. Don't know what to do to keep that from happening.
Running XP Pro SP3......
Last edited by El Heggunte; 9th Aug 2013 at 16:54. Reason: disambiguation
To fix the crash at the end of encoding, open the file source\Lib\TLibEncoder\TEncTop.cpp, go to line 99 and change
delete  m_GOPEncoder;
That's all. While we are at it, there is also another bug that occurs when the file size of the input file exceeds the limits of integer representation. It manifests itself as negative number of frames to process and also negative eta in the information messages. To fix it, open source\input\yuv.cpp, go to line 55 and change
return (int)(size - cur) / (width * height * pixelbytes * 3 / 2);
return (unsigned)(size - cur) / (width * height * pixelbytes * 3 / 2);
The same may have to be applied on the file source\input\y4m.cpp, line 187 (Y4MInput::guessFrameCount() method), but I don't have a y4m file readily available to test
Hope this helps.
1. AVS script to open avi file... AVISource("C:\input-directory\input.avi")
2. AVS2Y4M.bat to create y4m file... avs2yuv.exe C:\input-directory\input.avs -o input.y4m
3. x265.bat to create .hm10 file... x265.exe --q 20 --keyint 24 --frames all --input "input.y4m" --rect --max-merge 1 --hash 0 --no-rdo --no-rdoq --tu-intra-depth 1 --tu-inter-depth 2 --no-tskip --no-tskip-fast --no-wpp --output "output.hm10"
4. mpc-hc.bat to playback finished .hm10 file... mpc-hc.exe "output.hm10"
You could create a batch file to run all the bat files one after the other.
I have avs2yuv.exe, cmd.exe, ffmpeg.exe, ffplay.exe (to test the y4m file), mpc-hc.exe, x265.exe, input.avs, avs2y4m.bat, ffplay.bat (to test the y4m file), x265.bat, mpc-hc.exe and the input.avi, input.y4m and output.hm10 all in the same folder.
As soon as we get Stdin, we can just use Virtualdub as the GUI but a simple GUI would be nice. I'm sure Selur will implement it in his Hybrid program also when we have Stdin.
@ Vid01: Grazie mille
@ Trepack: thanks for the fixed build, gonna test it A.S.A.P.
Besides, I intend to run an "overdue update" on that dubious PDF as well...
This is a file Y4M in case anyone wants to try.
And if someone wants to save a file with the coding results, include this in the x265 command...
EDIT: Confirm that the two problems were solved, thank you very much @ Vid01
Last edited by Trepack; 9th Aug 2013 at 18:42.