Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
videotrans
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Debian Multimedia Team
videotrans
Commits
71cb6e33
Commit
71cb6e33
authored
Oct 15, 2012
by
Alessio Treglia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ffmpeg -> avconv conversion.
parent
48b35b1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
0 deletions
+53
-0
03-ffmpeg_to_avconv.patch
debian/patches/03-ffmpeg_to_avconv.patch
+52
-0
series
debian/patches/series
+1
-0
No files found.
debian/patches/03-ffmpeg_to_avconv.patch
0 → 100644
View file @
71cb6e33
Description: Migrate from ffmpeg to avconv.
Author: Alessio Treglia <alessio@debian.org>
---
data/library.sh.in | 8 ++++----
src/movie-title.in | 2 +-
src/movie-to-dvd.in | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
--- videotrans.orig/data/library.sh.in
+++ videotrans/data/library.sh.in
@@ -250,15 +250,15 @@ audio_params()
then
if [ "${force_or_auto}" = "ac3" ]
then
- msg="${msg}Converting the audio from WAV to AC3 with ${new_ch} channels using ffmpeg. "
+ msg="${msg}Converting the audio from WAV to AC3 with ${new_ch} channels using avconv. "
if [ "${audio_bitrate_override}" != "auto" -a "${audio_bitrate_override}" != "" ]
then
- audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab ${audio_bitrate_override}k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
+ audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a ${audio_bitrate_override}k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
elif [ "${new_ch}" = "2" ]
then
- audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab 192k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
+ audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a 192k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
else
- audio_encode="ffmpeg -y -v 0 -f wav -i /dev/stdin -ab 448k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
+ audio_encode="avconv -y -v 0 -f wav -i /dev/stdin -b:a 448k -ar 48000 -ac ${new_ch} `shellescape "${output}.ac3"`"
fi
audio_ext="ac3"
else
--- videotrans.orig/src/movie-title.in
+++ videotrans/src/movie-title.in
@@ -961,7 +961,7 @@ else
\> "${TEMP}.mplayer" 2\>\&1 \< /dev/null \&
mplayer_pid="$!"
- # Start mp2enc or ffmpeg to encode the audio
+ # Start mp2enc or avconv to encode the audio
{
< "${TEMP}.wav" $audio_filter_cmd | eval ${audio_encode}
--- videotrans.orig/src/movie-to-dvd.in
+++ videotrans/src/movie-to-dvd.in
@@ -698,7 +698,7 @@ do
} > "${TEMP}.video" 2>&1 &
video_enc_pid="$!"
- # Start mp2enc or ffmpeg to encode the audio
+ # Start mp2enc or avconv to encode the audio
{
< "${TEMP}.wav" $audio_filter_cmd | eval ${audio_encode}
debian/patches/series
View file @
71cb6e33
01-fix_shebang.patch
02-buildsystem.patch
03-ffmpeg_to_avconv.patch
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment