Since Kvazar (https://github.com/ultravideo/kvazaar) now supports input via standard in, I just tried encoding with Kvazaar v0.2.1 using:
encoding went well and to better handle the file I wanted to mux it into an .mp4 container using MP4Box:Code:mencoder -lavdopts threads=8 -really-quiet -of rawvideo -o - -ovc raw -demuxer lavf -vfm ffmpeg -noskip -vf scale,format=i420 -forcedsubsonly -nosub -nosound -mc 0 "F:\TESTCL~1\test.avi" | kvazaar -i - -w 640 -h 352 -q 32 -p 0 -n 429 -o "H:\Temp\test_11_02_11_7310_01.265"
Problem is Mp4Box simply crashes on me (no console output, just an APPCRASH), since the same works fine using x265 or DivX265 to create the .265 file I thought the output was broken, but decoding with MPC-HC and it's internal LAV Filters works fine.Code:MP4Box -add "H:\Temp\test_11_02_11_7310_01.265"#video:fps=25 -brand hvc1 -tmp "H:\Temp" -new "H:\Output\11_02_11_7310__02.mp4"
using ffplay I get:
[hevc @ 0000000000358300] Unknown HEVC profile: 0
and
[hevc @ 0000000000358300] PPS id out of range: 0
-> seems like the stream is missing some infos.
Does anyone have any further experiences with Kvazaar?
Cu Selur
Ps.: created an issue in their bug tracker for my problem: https://github.com/ultravideo/kvazaar/issues/5
(btw. compilation works fine on Windows, Linux and Mac OS X now)
+ Reply to Thread
Results 1 to 30 of 48
-
Last edited by Selur; 3rd Feb 2014 at 08:11.
-
Small update:
pro:
the profile and PPS issues ffplay indicated have been fixed (attached win32 binary, I build a few minutes ago, for those interested).
con:
Muxing problem is still present.
Cu Selur
Ps.: updated to latest versionLast edited by Selur; 19th Feb 2014 at 08:52.
-
Haven't tested it much since I still can't mux the output to mp4. (+ quality will be worth than DivX265 and x265 since the project really is new and doesn't support much of HEVC atm.)
-
kvazaar 0.21 requires MSVCR100D.dll; is that the debug symbol containing version of MSVCR100.dll? I thought I have all MSVC runtime libraries installed... Please either re-publish compiled in release mode, or include this DLL (if MSVS license permits ... probably not, may not be redistributable).
-
busy atm. will look at it a bit later (didn't realize the debug symbols were on, assumed that switching to release would automatically remove this dependency)
-
uploaded a new version, should be statically build without external dependencies
-
I meant the release on github, also reported by Marchand in the x265 thread...
-
Here goes a GCC build,
I still don't understand why people keep messing around with Visual Studio
without a VERY-good reason -
Code:
Usage: hevc_encoder -i <input> -w <width> -h <height> -o <output>
-
@LigH: not sure if anyone of the Kvazaar team is monitoring this thread, so posting requests might be better off in the issue tracker on the project page.
@El Heggunte: I normally, on Windows, have less problems compiling stuff with MSVC than with GCC. + For University projects Visual Studio is often used due to MSNAA. -
@Selur,
thanks for confirming that Michael $oft is even more evil than I thought -
Do be clear MSNAA doesn't require the universities to use VS, but since the got their MSDNAA membership to get free Windows versions, for themselves and their students, they get VS for free and so instead of using eclipse and the compiler of your choice you are normally required to produce VS projects.
Nobody hinders you to develop under another IDE, but C/C++ code I created for university always had do include VS project files.
Cu Selur
Ps.: tsMuxeR can mux Kvazaars output to m2tsLast edited by Selur; 6th Feb 2014 at 13:36.
-
Post #2 includes both a 32bit and a 64bit version.
Assuming you got Visual Studio installed, building 64bit is rather simply.
1. Checkout latest source
2. Open Visual Studio solution file (.sln)
3. In Visual Studio change from Debug to Release and from Win32 to x64
4. Change "Configuration Properties->C/C++->Code Generation->Runtime Library" to 'Multi-threaded (/MT)' if you want a static build
5. Build->Build solution
6. Once the building is finished, the bin/Release folder should contain the HEVC_encoder.exe
If you want to use GCC you probably could ask El Heggunte since he uploaded a GCC build. -
I only have Visual Studio 12
So no way to use Visual Studio 2010 build
I do not want to install Visual Studio 2010 -
Visual Studio 2012 should be able to import and convert Visual Studio 2010 solution files without a problem.
-
Error Messages
Error 2 error LNK1104: can not open file "E: \ kvazaar \ build \ Win32-Release-libs \ HEVC_encoder.lib" E: \ kvazaar \ build \ HEVC_interface \ LINK HEVC_interface
Error 1 error MSB3721: Command "vsyasm.exe-Xvc-f Win32-d" ARCH_X86_64 = 0 "-d" PREFIX "-o" Win32-Release \ \ "-rnasm-pnasm .. \ .. \ src \ x86 \ cpu.asm "exited with return code 1. E: \ kvazaar \ build \ yasm \ vsyasm.targets 45 5 HEVC_encoder
-
oh, yeah sorry, I forgot you need vsyasm (see: http://yasm.tortall.net/Download.html) download and follow the readme instructions.
-
1> ------ Rebuild All started: Project: HEVC_encoder, Configuration: Release x64 ------
1> Assembling cpu.asm
1> cl: Command line warning D9002: ignoring unknown option "/ arch: SSE2"
1> bitstream.c
1> cabac.c
1> config.c
1> context.c
1> debug.c
1> encmain.c
1> encoder.c
1> getopt.c
1> filter.c
1> inter.c
1> intra.c
1> nal.c
1> picture.c
1> rdo.c
1> sao.c
1> search.c
1> transform.c
1> Generating Code ...
1> HEVC_encoder.vcxproj -> E: \ kvazaar \ build \ x64-Release-libs \ HEVC_encoder.lib
2> ------ Skipped Rebuild All: Project: HEVC_encoder_tests, Configuration: Release x64 ------
2> No configuration selected for this solution to generate project
3> ------ Rebuild All started: Project: HEVC_interface, Configuration: Release x64 ------
3> cl: Command line warning D9002: ignoring unknown option "/ arch: SSE2"
3> interface_main.c
3> HEVC_interface.vcxproj -> E: \ kvazaar \ build \ .. \ bin \ Release \ HEVC_encoder.exe
========== Rebuild All: Success 2, failed 0 skipped ========== 1
Can not build HEVC_encoder.EXE
-
according to the log you did not build the solution like I wrote, but you tried to only build the 'HEVC_encoder' project,..
-
Error 1 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ picture_list_tests.c 1 1 HEVC_encoder_tests
Error 2 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ sad_tests.c 1 1 HEVC_encoder_tests
Error 3 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ tests_main.c 1 1 HEVC_encoder_tests
Warning 4 warning LNK4098: default library "msvcrtd.lib" Use conflicts with other libraries; Use / NODEFAULTLIB: library E: \ kvazaar \ build \ HEVC_interface \ MSVCRT.lib (cinitexe.obj) HEVC_interface
Lack greatest.h -
don't have it either, it should not be needed for Release builds, greatest is a unit-test-framework,....
"msvcrtd.lib"<- that one should only be needed for debug builds
-> looks to me like you didn't follow the instructions I wrote down,... -
Error 1 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ tests_main.c 1 1 HEVC_encoder_tests
Error 2 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ sad_tests.c 1 1 HEVC_encoder_tests
Error 3 error C1083: Can not open include file: "greatest / greatest.h": No such file or directory E: \ kvazaar \ tests \ picture_list_tests.c 1 1 HEVC_encoder_tests
lack greatest.h -
"No such file or directory E: \ kvazaar \ tests \ tests_main.c"
tests/test_main.c tests/sad_test.c and tests/picture_list_test.c all come with the source
-> best start anew with cloning the repository
Similar Threads
-
Zond 265, the first professional HEVC / H.265 Analyzer from SolveigMM
By DmitryV in forum Latest Video NewsReplies: 5Last Post: 13th May 2024, 09:02 -
Kvazaar HEVC Encoder
By El Heggunte in forum Newbie / General discussionsReplies: 1Last Post: 31st Jan 2014, 06:00 -
theX.265 (a free HEVC) codec. Have you ever tried that HEVC encoder? (HELP)
By Stears555 in forum Video ConversionReplies: 41Last Post: 16th Sep 2013, 11:15 -
8K Ultra HD compact camera and H.265 encoder developed by NHK #DigInfo
By Stears555 in forum Camcorders (DV/HDV/AVCHD/HD)Replies: 3Last Post: 16th Aug 2013, 02:03 -
New information on H.265
By bearsfan in forum Video ConversionReplies: 9Last Post: 20th Jan 2013, 10:11