Registered Member
|
Hello!
There are some profiles in which I can't render: Dailymotion Vimeo Youtube Apple Quicktime H.264 HTC G1 Most important for me is, to render in H.264... how can I achieve that? Regards, Puzzle EDIT: I just realized, that my PC has problems now with playing videos - ANY videos... and I don't get it, why it won't play anything... |
Registered Member
|
If you are not using a recent version of Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/ffmpeg/+bug/303537 |
Registered Member
|
I believe libx264 is used for rendering H.264. Do you have it installed? If you run the ffmpeg command in a terminal window, you should be able to see --enable-libx264 somewhere in the output.
|
Registered Member
|
I recently found that ffmpeg svn version requires libx264 version 0.78 or higher, which wasn't in Ubuntu repos yet.
|
Registered Member
|
I don't see --enable-libx264 on your ffmpeg output. I am no ffmpeg expert, but I am fairly sure you need that, otherwise ffmpeg doesn't take advantage of libx264 even if it's installed.
|
Registered Member
|
Here the ffmpeg output I get. Notice I built ffmpeg today.
FFmpeg version SVN-r20577, Copyright (c) 2000-2009 Fabrice Bellard, et al. built on Nov 22 2009 08:01:29 with gcc 4.3.3 configuration: --prefix=/usr/local --enable-shared --enable-libmp3lame --enable-gpl --enable-libfaad --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libdc1394 --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac --disable-decoder=libdirac --enable-libschroedinger --disable-encoder=libschroedinger --enable-avfilter-lavf --enable-libx264 libavutil 50. 4. 0 / 50. 4. 0 libavcodec 52.41. 0 / 52.41. 0 libavformat 52.39. 2 / 52.39. 2 libavdevice 52. 2. 0 / 52. 2. 0 libavfilter 1. 8. 0 / 1. 8. 0 libswscale 0. 7. 1 / 0. 7. 1 libpostproc 51. 2. 0 / 51. 2. 0 At least one output file must be specified As you can see, there is --enable-libfaac as well as --enable-libx264. I guess you will need to find a a version of ffmpeg that has both of those options set, or build your own. |
Registered Member
|
Since you installed the new ffmpeg in /usr/local, you need to define and export LD_LIBRARY_PATH so the /usr/local libraries are found at run time. On a terminal window type:
export LD_LIBRARY_PATH=/usr/local/lib kdenlive Run the wizard on kdenlive, and hopefully you will then be able to render to h264. |
Registered Member
|
By the way, if you want to know the locations of libraries found by a program at run time, you can use the ldd command.
Try this on a terminal window: ldd `which ffmpeg` ldd `which kdenlive` |
Registered Member
|
For you kind information, Debian multimedia FFmpeg, MLT and Kdenlive are always updated on a regular basis, usually 1 or 2 weeks. Just install a Debian SID with Debian multimedia repositories and you are done.
|
Registered Member
|
|
Registered Member
|
i finally managed to render to h264 on karmic using the last pakage from sunabs unstable repository
https://launchpad.net/~sunab/+archive/sunab2 rendering seems to crash at 100% but the file is actually rendered, all formats i tried so far are working (mp4,xvid,theora flash) |
Registered Member
|
Ok, on your output I see
libx264.so.67 => /usr/lib/libx264.so.67 (0x00007f68bed07000) That means ffmpeg is linking with version 67 of libx264. However earlier Weevil wrote that svn ffmpeg needs libx264 78, and you responded saying you have 78 installed. So do you really have 78 installed, and where exactly is it installed? Also what's the output of all of this: which ffmpeg whereis ffmpeg /usr/bin/ffmpeg /usr/local/bin/ffmpeg ldd /usr/local/bin/ffmpeg |
Registered Member
|
Hey, fred, don't go crazy, just fire off a message to the FFmpeg devs and ask what's going on with things like support for x264 and vdpau. :) I just recompiled and reinstalled the latest SVN FFmpeg, the latest MLT, the latest x264, and the latest Kdenlive. Still no joy here with the missing rendering codecs (MPEG4, Xvid4, X264, Theora), despite their inclusion in ffmpeg, so I'm done with it for now, at least on Jaunty. I intend to use the Builder on my Karmic box, hopefully that will work better.
Meanwhile Kdenlive 0.7.7 is otherwise very nice. Good luck. Updated 11/25: The Builder Wizard worked fine on Karmic, with the exception of two failures while building FFmpeg. Both libx264 and libtheora required versions unavailable in the Karmic official repos, so I built them myself. After compiling and installing those libs the wizard completed its task and I now have Kdenlive 0.7.7 on my notebook. Rendering options now include Theora and H264, but Xvid4 is still unavailable. I'm not sure what I have to do to get that one. Any advice ? Best, dp |
Registered Member
|
|
Registered Member
|
Ok, all that looks better to me. The svn ffmpeg is installed in /usr/local, it has the --enable-libx264 and --enable-libfaac, there is no ffmpeg anywhere else, and ffmpeg is finding all the latest libav* libraries in /usr/local and also is finding version 78 of libx264.
EDIT: I notice your ffmpeg isn't using libavfilter or libpostproc, but my ffmpeg does. Not sure if it's relevant to your problem, but I mention it just in case. Now we need to know if mlt is finding the correct libraries too, because kdenlive uses mlt and mlt in turn uses the libav* libraries and the libx264 library. What is the output of all of this: ls /usr/lib/libmlt* ls /usr/lib/mlt/ ldd /usr/lib/mlt/libmltavformat.so ls /usr/local/lib/libmlt* ls /usr/local/lib/mlt/ ldd /usr/local/lib/mlt/libmltavformat.so |
Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient