Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 474368

Summary: net-misc/clipgrab-3.2.0.11: uses ffmpeg command directly and does not work with libav
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: Current packagesAssignee: Michael Weber (RETIRED) <xmw>
Status: RESOLVED UPSTREAM    
Severity: normal CC: lu_zero
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://clipgrab.uservoice.com/forums/37083-clipgrab/suggestions/4114991-neben-ffmpeg-auch-libav-unterst%C3%BCtzt-wird-
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 474408    

Description Nikoli 2013-06-22 21:55:00 UTC
$ grep -Ri 'ffmpegCall' converter_ffmpeg.cpp 
        ffmpegCall =  "\"" + QApplication::applicationDirPath() + "/ffmpeg\" -i \"" + inputFile->fileName() + "\" -y";
        ffmpegCall = "ffmpeg -i \"" + inputFile->fileName() + "\" -y";
    ffmpeg->start(ffmpegCall + " -codecs");
        ffmpegCall = ffmpegCall + " -an";
            ffmpegCall = ffmpegCall + " -acodec copy";
                    ffmpegCall = ffmpegCall + " -acodec libvorbis -aq 9";
                    ffmpegCall = ffmpegCall + " -acodec vorbis -aq 9 -strict experimental";
                ffmpegCall = ffmpegCall + " -acodec " + acceptedAudioCodec[0] + " -ab 256k";
        ffmpegCall = ffmpegCall + " -vn";
            ffmpegCall = ffmpegCall + " -vcodec copy";
                ffmpegCall = ffmpegCall + " -vb " + QString::number(videoBitrate.toInt()*1.2) + "k" + " -vcodec " + acceptedVideoCodec[0];
                ffmpegCall = ffmpegCall + " -sameq -vcodec " + acceptedVideoCodec[0];
    ffmpegCall = ffmpegCall + " -metadata title=\"" + metaTitle + "\"";
    ffmpegCall = ffmpegCall + " -metadata author=\"" + metaArtist + "\"";
    ffmpegCall = ffmpegCall + " -metadata artist=\"" + metaArtist + "\"";
    ffmpegCall = ffmpegCall + " \"" + target + "\"";
    qDebug() << "Executing ffmpeg: " << ffmpegCall;
    ffmpeg->start(ffmpegCall);
$ grep -Ri avconv
Comment 1 Michael Weber (RETIRED) gentoo-dev 2013-06-23 10:22:22 UTC
Ok, so the virtual/ffmpeg dep is wrong right now.

@Nikoli: have you tried replacing the ffmpeg program name with the corresponding libav one? Are the parameters compatible? If so, can you report the issue upstream as enhancement proposal, pls?
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-06-23 16:15:38 UTC
+*clipgrab-3.2.1.0 (23 Jun 2013)
+
+  23 Jun 2013; Michael Weber <xmw@gentoo.org> +clipgrab-3.2.1.0.ebuild,
+  +files/clipgrab-3.2.1.0-obey.patch, -clipgrab-3.2.0.10.ebuild,
+  -clipgrab-3.2.0.9.ebuild, -files/3.2.0.6-obey.patch, clipgrab-3.2.0.11.ebuild:
+  Version bump, revert to media-libs/ffmpeg (bug 474368 by Nikoli), drop old.
+
Comment 3 Michael Weber (RETIRED) gentoo-dev 2013-06-23 16:26:01 UTC
request on feedback site (german language)
http://clipgrab.uservoice.com/forums/37083-clipgrab/suggestions/4114991-neben-ffmpeg-auch-libav-unterst%C3%BCtzt-wird-