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 2222
-
-
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 ?
thank you. -
0) Download and unpack one of the "full Msys+MinGW packages" from Xhmikosr's site:
http://xhmikosr.1f0.de/tools/
or
http://xhmikosr.1f0.de/tools/old/
1) Edit the file etc\fstab --- for example,
Code:#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 stupidVisual 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:
https://forum.videohelp.com/threads/357754-%5BHEVC%5D-x265-EXE-mingw-builds?p=2301105&v...=1#post2301105Last edited by El Heggunte; 11th Feb 2014 at 06:30. Reason: edit
-
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
Code: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"
results:
psnr Y:45.2 U:48.6 V:48.7
upload click filenameLast 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. -
Up-to-date whit commits 83def50
x265 version 0.3+236-83def5041252--GCC_4.8.1
RegardsLast edited by Trepack; 9th Aug 2013 at 20:42. Reason: Changed link
-
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
"MSYS_MinGW-w64_GCC_481_x86-x64_Full.7z"
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 ? -
When you create the file fstab a run msys.bat your home directory is created...
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...
Code:hg clone https://bitbucket.org/multicoreware/x265
if you want to know if there are changes in the code run
Code:cd x265 hg pull
Code:hg update
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:
Code:#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
-
Ok compile test if you already have Mercurial or Tortoisehg and the source code downloaded
Code:cd x265/build/msys cmake -G "MSYS Makefiles" ../../source && cmake-gui ../../source
Code:make
Last edited by Trepack; 9th Aug 2013 at 15:51.
-
Jacobr, thanks a lot
for yet another sample encode
Thanks for the information. Also for the record, my "zeroth" test encode with x265.exe (actually, my first attempt to encode the Sintel Trailer) used "--bframes" and the result was jerky playback (1 "hiccup" every second) -
Thank you very much. I've been beating my head against a wall for a couple of weeks now trying to get a successful encode. Even installing a backup image of my boot drive thinking it was corrupt. Adding --no-wpp seemed to do the trick.
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. -
Time for an overdue "mea culpa"
I'm still using my very-first build, in which --wpp is disabled by default, and I didn't know they had changed --wpp to "enabled by default" with the commit b1b84e8 (2013/08/01)
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......The crash also means the last frame is not encoded, i.e., it's dropped
And oh BTW, it also seems they still don't know very well what they're doing...
https://forum.videohelp.com/threads/357611-MulticoreWare-Annouces-x265-HEVC-Mission-Sta...60#post2259260Last 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;
to
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);
to
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. -
I've created a few bat files and an avs file to make each step of the process easier for me. Since it's easier not to have to worry about resolution in the source video, I use y4m.
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. -
I've changed the link to the latest version in my post including these arrangements
Up-to-date whit commits 83def50
Thanks for your help -
@ 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.
example.y4m
And if someone wants to save a file with the coding results, include this in the x265 command...
Code:--csv results.csv
EDIT: Confirm that the two problems were solved, thank you very much @ Vid01Last edited by Trepack; 9th Aug 2013 at 18:42.
Similar Threads
-
help - how to compile latest "nightly" ffmpeg for win32 (XP) with mingw
By hydra3333 in forum ProgrammingReplies: 32Last Post: 20th May 2017, 00:33 -
x265 vs x264
By deadrats in forum Video ConversionReplies: 71Last Post: 10th Jan 2016, 06:14 -
ffdcaenc (an upgrade to dcaenc)
By El Heggunte in forum AudioReplies: 22Last Post: 9th Dec 2014, 06:09 -
MulticoreWare Annouces x265/HEVC Mission Statement
By enim in forum Latest Video NewsReplies: 4Last Post: 9th Aug 2013, 22:09 -
New PC Build(s)
By thedeificone in forum ComputerReplies: 6Last Post: 25th May 2010, 16:57