On 01/01/2013 01:54 AM, Ken Moffat wrote: > On Mon, Dec 31, 2012 at 10:51:11PM +0100, Armin K. wrote: >> >> I have added a patch that replaces calls to avcodec_thread_init with >> correct functions. >> >> You can get it from LFS Patches Repository at >> http://www.linuxfromscratch.org/patches/downloads/transcode/transcode-1.1.7-ffmpeg-2.patch >> >> Please report if it works. I have tested it with FFmpeg 1.0.1, it >> builds. I don't know how to use it so I haven't tested it at runtime. > > Thanks for finding this! Oh, and Happy New Year ! I saw this just > before the power went out for a couple of minutes here - my server > has now finished fscking everything, so I'll just note that if > transcode calls to ffmpeg segfault (missing medium preset), the > attached patch from debian might help. >
Happy new year to you, too. Looking at your patch it looks like trasncode calls "-vpre medium" but some claim that the correct switch might be "-preset medium". That might be only true for x264 encoded files though. See "Note:" https://en.wikibooks.org/wiki/FFMPEG_An_Intermediate_Guide/h.264#Presets This is my ffmpeg configuration: $ ffmpeg ffmpeg version 1.0.1 Copyright (c) 2000-2012 the FFmpeg developers built on Dec 9 2012 19:15:54 with gcc 4.7.2 (Krejzi 4.7.2) configuration: --prefix=/usr --enable-gpl --enable-nonfree --enable-openal --enable-postproc --enable-shared --enable-vaapi --enable-version3 --enable-vdpau --enable-x11grab --disable-debug --disable-static --enable-libass --enable-libcdio --enable-libfaac --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-openssl --enable-libpulse --enable-librtmp --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid libavutil 51. 73.101 / 51. 73.101 libavcodec 54. 59.100 / 54. 59.100 libavformat 54. 29.104 / 54. 29.104 libavdevice 54. 2.101 / 54. 2.101 libavfilter 3. 17.100 / 3. 17.100 libswscale 2. 1.101 / 2. 1.101 libswresample 0. 15.100 / 0. 15.100 libpostproc 52. 0.100 / 52. 0.100 Hyper fast Audio and Video encoder > I think the real question is whether people using k3b, such as > Baho, and anyone using dvd::rip, can get those to successfully use > transcode. For people using transcode on the command line, I suspect > that transcode commands which use ffmpeg will still be problematic. > I've built dvd::rip last night, and ran some basic rip and transcode (using defaults - I don't know how to configure stuff) and I didn't seem to experience any problems. It was running too long, so I didn't let it finish. I do have k3b, too. I can try using transcode with it, but you'll need to point me at some guide for that. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
