-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
building x264 for mp4 output ("gpac or L-SMASH support") #218
Comments
You set --build-lsw=n so no build_lsw() and no build_lsmash(). Then just run the script for a 2nd time and you should get an MP4 capable x264.exe ... |
OK ! |
Hmm, did that, it didn't work. The x264 exe's are identical before and after. |
Sorry, but that's not what I said. You set --built-lsw=y and leave it like that ALWAYS and then run the script again right after its first completion and without touching/cleaning anything out of the sandbox ... The output of x264 --fullhelp should begin like this if successful: x264 core:148 r2762 90a61ec Infile can be raw (in which case resolution is required), |
BTW: that's an old version .... |
Replace
with
in build_libx264() Don't know why rdp is doing/hardcoding that when there's git_get_latest=y which is what I use .... |
Thank you !! That worked just fine. Since I'm changing rdp's beaut build script anyway to build with nvidia openCL, every time rdp releases a new script - as a terrible but effective hack, I added a variation of that "double build" by also changing it to
Now x264.exe can accept .mpg and whatnot as input and can deliver .mp4 as output. That's handy. cross_compile_ffmpeg_opencl_lsw.sh.txt |
@rdp would you maybe consider
|
Unless I'm doing obviously wrong, just building it ordinarily once with --build-lsw=y seemed to work, after I deleted the sandbox build x32/x64 folders and ran it. |
Deleting the sandbox isn't proper cleaning actually. There's $mingw_w64_x86_64_prefix/lib/* and headers/files etc left and, IIRC, it also depends on --build-x264-with-libav=y/n as one of them is doing the "extra first round" already so lsmash will be there already as well so no extra run/build_lsw() is needed then ... |
those are all in the sandbox?
…On Sun, Apr 2, 2017 at 8:02 AM, Schmidt, Hubert ***@***.***> wrote:
Deleting the sandbox isn't proper cleaning actually. There's
$mingw_w64_x86_64_prefix/lib/* and headers/files etc left and, IIRC, it
also depends on --build-x264-with-libav=y/n as one of them is doing the
"extra first round" already so lsmash will be there already as well so no
extra run/build_lsw() is needed then ...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#218 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAw0H5dFFaKNapnb37eFfGRYlIIgYBFks5rr7hygaJpZM4Mp-7E>
.
|
Yes, sorry. What I meant was actually that some people only delete the win32 and x86_64 folders inside the sandbox and keep the cross_compilers folder, and that's not good enough ... |
That's what I did, which wasn't good enough. |
This one seems to result in a build, with nvidia-OpenCL and MP4box-with-gpac and x264-with-libav-and-LSMASH edit: this is now superseded, refer #219 (comment) It has software versions more aligned with the build on Zeranoe's site (except for openjpeg 2.1.2 which fails to build for me) and an additional dependence on a small Opus 1.1.4 patch from this person's website #219 |
You can use opus.git now, check #219. |
Yes, OK changed to that now, however the updated patch by Reino17 still seems to need to be applied to the GIT version.. |
openjpeg 2.1.2 builds just fine, after a PROPER cleanup of the sandbox and a quick READ UP on some of the ~30 openjpeg CMakeLists.txt files and #37 ...
|
Thank you schmidthubert. Serves me right, I should have paid attention :) updated script will arrive over at #219 after it's tested |
Hello. Just wondering.
"x264.exe --help" shows this
which suggests that x264 coud be built with mp4 outputfile capability ("gpac or L-SMASH support").
Here's a run of the existing x264 build and its output
That x264 was built with " --build-x264-with-libav=y " which, by the good graces of you, gives it .mpg/.mp4 "input file" capability :-
Would it be possible to build it so that it also has MP4 output file capability too ?
The text was updated successfully, but these errors were encountered: