Summary: | amarok passes invalid option -n to libav's ffmpeg | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Piotr Keplicz <keplicz> |
Component: | Transcoding | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | matej, teo |
Priority: | NOR | Keywords: | release_blocker |
Version: | 2.5-git | ||
Target Milestone: | 2.6 | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/amarok/b1dfac7932bc89127b4ea1098a143efe9e068f99 | Version Fixed In: | 2.6 |
Sentry Crash Report: |
Description
Piotr Keplicz
2012-05-24 10:54:33 UTC
Gosh, another ffmpeg incopatibility. The lines //... no not overwrite output files but exit if file exists, otherwise ffmpeg is interactive and hangs *m_transcoder << QString( "-n" ); are there for purpose! Piotr, is there another option to make libav's ffmpeg non-interactive? (especially when the target file already exists) That would be: -y Overwrite output files. (In reply to comment #2) > That would be: -y Overwrite output files. Hmm, we probably don't want this, but at least something. There's no equivalent of the -n option that does the contrary? No, there isn't: http://libav.org/ffmpeg.html#Main-options I suppose -n was added to ffmpeg only recently. Indeed avconv/ffmpeg drops to interactive mode, when the output file exists: $ ffmpeg -i 01.m4a 01.mp3 [...] File '01.mp3' already exists. Overwrite ? [y/N] We don't want to release 2.6 wihout fix to this bug. I'll have a look at it after beta tagging. Git commit b1dfac7932bc89127b4ea1098a143efe9e068f99 by Matěj Laitl. Committed on 26/05/2012 at 18:05. Pushed by laitl into branch 'master'. TranscodingJob: don't pass -n to ffmpeg, check file existence manually BUGFIXES: * Transcoding: fix compatibility with libav's ffmpeg FIXED-IN: 2.6 DIGEST: Bugfix M +1 -0 ChangeLog M +19 -5 src/transcoding/TranscodingJob.cpp M +5 -1 src/transcoding/TranscodingJob.h http://commits.kde.org/amarok/b1dfac7932bc89127b4ea1098a143efe9e068f99 |