From 30ebd3ab8d0b800a91cec14b796425271553f2ab Mon Sep 17 00:00:00 2001 From: Markus Koschany Date: Sun, 2 Nov 2014 00:57:00 +0100 Subject: [PATCH] use avconv Use avconv command instead of ffmpeg because the latter is not available on Debian systems. This should be revisited for Jessie+1. Forwarded: not-needed Gbp-Pq: Name use-avconv.patch --- tools/ss_extract.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ss_extract.cc b/tools/ss_extract.cc index 2a94110..6677b8f 100644 --- a/tools/ss_extract.cc +++ b/tools/ss_extract.cc @@ -213,7 +213,7 @@ struct Process { } if (g_mkvcompress) { std::cerr << ">>> Compressing video into video.m4v" << std::endl; - std::string cmd = "ffmpeg -i \"" + (path / "video.mpg").string() + "\" -vcodec libx264 -profile main -crf 25 -threads 0 -metadata album=\"" + song.edition + "\" -metadata author=\"" + song.artist + "\" -metadata comment=\"" + song.genre + "\" -metadata title=\"" + song.title + "\" \"" + (path / "video.m4v\"").string(); + std::string cmd = "avconv -i \"" + (path / "video.mpg").string() + "\" -vcodec libx264 -profile main -crf 25 -threads 0 -metadata album=\"" + song.edition + "\" -metadata author=\"" + song.artist + "\" -metadata comment=\"" + song.genre + "\" -metadata title=\"" + song.title + "\" \"" + (path / "video.m4v\"").string(); std::cerr << cmd << std::endl; if (std::system(cmd.c_str()) == 0) { // FIXME: std::system return value is not portable fs::remove(path / "video.mpg"); -- 2.30.2