Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 118568 Details for
Bug 177662
ffmpeg-0.4.9_p20070330 breaks media-video/dvd-slideshow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to dvd-slideshow to add 'k' after all -ab parameters to ffmpeg
dvd-slideshow-diff.txt (text/plain), 5.32 KB, created by
Peter Fox
on 2007-05-08 16:14:52 UTC
(
hide
)
Description:
Patch to dvd-slideshow to add 'k' after all -ab parameters to ffmpeg
Filename:
MIME Type:
Creator:
Peter Fox
Created:
2007-05-08 16:14:52 UTC
Size:
5.32 KB
patch
obsolete
>--- dvd-slideshow~ 2007-03-09 17:22:40.000000000 +0000 >+++ dvd-slideshow 2007-05-08 06:09:32.000000000 +0100 >@@ -4174,7 +4174,7 @@ > # checkfor_lame > myecho "[dvd-slideshow] Decoding mp3 audio: $file" > # use ffmpeg instead of lame! >- ffmpeg -i "$file" -y -vn -ab $audio_bitrate -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 >+ ffmpeg -i "$file" -y -vn -ab ${audio_bitrate}k -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 > # lame --decode "$file" "$tmpdir/audio$track"_"$audio_index_padded.wav" 2> /dev/null > elif [ "$suffix" == "ogg" ] ; then > checkfor_oggdec >@@ -5815,11 +5815,11 @@ > checkfor_lame > myecho "[dvd-slideshow] decoding mp3 audio file... be patient..." > if [ "$audiosmp" -eq 1 ] ; then >- ffmpeg -i "$file" -y -vn -ab $audio_bitrate -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 & >+ ffmpeg -i "$file" -y -vn -ab ${audio_bitrate}k -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 & > # lame --decode "${file}" "$tmpdir/audio$track"_"$audio_index_padded.wav" 2> /dev/null & > # ffmpeg -i "$file" -y -vn -ab $audio_bitrate -acodec pcm_s16be -f s16be -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.raw" >> "$outdir/$logfile" 2>&1 & > else >- ffmpeg -i "$file" -y -vn -ab $audio_bitrate -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 >+ ffmpeg -i "$file" -y -vn -ab ${audio_bitrate}k -f wav -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.wav" >> "$outdir/$logfile" 2>&1 > # lame --decode "${file}" "$tmpdir/audio$track"_"$audio_index_padded.wav" 2> /dev/null > # ffmpeg -i "$file" -y -vn -ab $audio_bitrate -acodec pcm_s16be -f s16be -ar $audio_sample_rate -ac 2 "$tmpdir/audio$track"_"$audio_index_padded.raw" >> "$outdir/$logfile" 2>&1 > fi >@@ -6103,7 +6103,7 @@ > if [ "$ac3" -eq 1 ] && [ "$output_format" != 'flv' ] ; then > checkforprog ffmpeg > myecho "[dvd-slideshow] Creating ac3 audio for $file..." >- ffmpeg -i "$tmpdir/audio1.wav" -y -vn -ab $audio_bitrate -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio1.ac3" >> "$outdir/$logfile" 2>&1 >+ ffmpeg -i "$tmpdir/audio1.wav" -y -vn -ab ${audio_bitrate}k -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio1.ac3" >> "$outdir/$logfile" 2>&1 > if [ $? -ne 0 ] ; then > ## ffmpeg errored > myecho "[dvd-slideshow] ERROR during ffmpeg execution!" >@@ -6321,7 +6321,7 @@ > checkforprog ffmpeg > check_rm "$tmpdir/audio1.ac3" > # find "$tmpdir" -name audio1_\?\?\?\?.raw -print0 | xargs -0 sox -t raw -w -s -c 2 -r $audio_sample_rate - "$tmpdir/audio1.wav" >- cat "$tmpdir"/audio1_????.raw | sox -t raw -w -s -c 2 -r $audio_sample_rate - -t wav - 2> /dev/null | ffmpeg -i - -vn -ab $audio_bitrate -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio1.ac3" >> "$outdir/$logfile" 2>&1 >+ cat "$tmpdir"/audio1_????.raw | sox -t raw -w -s -c 2 -r $audio_sample_rate - -t wav - 2> /dev/null | ffmpeg -i - -vn -ab ${audio_bitrate}k -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio1.ac3" >> "$outdir/$logfile" 2>&1 > # ffmpeg -i "$tmpdir/audio1.wav" -vn -ab $audio_bitrate -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio1.ac3" >> "$outdir/$logfile" 2>&1 > if [ $? -ne 0 ] ; then > ## ffmpeg errored >@@ -6550,7 +6550,7 @@ > myecho "[dvd-slideshow] Creating ac3 audio..." > checkforprog ffmpeg > check_rm "$tmpdir/audio2.ac3" >- ffmpeg -i "$tmpdir/audio2.wav" -vn -ab $audio_bitrate -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio2.ac3" >> "$outdir/$logfile" 2>&1 >+ ffmpeg -i "$tmpdir/audio2.wav" -vn -ab ${audio_bitrate}k -acodec ac3 -ar $audio_sample_rate -ac 6 "$tmpdir/audio2.ac3" >> "$outdir/$logfile" 2>&1 > if [ $? -ne 0 ] ; then > ## ffmpeg errored > myecho "[dvd-slideshow] ERROR during ffmpeg execution!" >@@ -6598,7 +6598,7 @@ > verbosity=0 > if [ "$output_format" == 'flv' ] ; then # only one audio track for .flv, .swf, and .mp4, etc... > myecho "[dvd-slideshow] Adding audio to .flv file" >- ffmpeg -y -i "$tmpdir/audio1.wav" -i "$tmpdir/video.flv" -vcodec copy -f flv -ar 22050 -ab 48 -ac 1 "$tmpdir/video1.flv" >> "$outdir"/"$logfile" 2>&1 >+ ffmpeg -y -i "$tmpdir/audio1.wav" -i "$tmpdir/video.flv" -vcodec copy -f flv -ar 22050 -ab 48k -ac 1 "$tmpdir/video1.flv" >> "$outdir"/"$logfile" 2>&1 > mv "$tmpdir/video1.flv" "$outdir"/"$slideshow_name".flv > myecho "[dvd-slideshow] Generating video thumbnail..." > ffmpeg -y -i "$outdir"/"$slideshow_name".flv -f mjpeg -t 0.001 "$outdir"/"$slideshow_name".jpg >> "$outdir"/"$logfile" 2>&1 >@@ -6608,7 +6608,7 @@ > fi > elif [ "$output_format" == 'swf' ] ; then > myecho "[dvd-slideshow] Adding audio to .swf file" >- ffmpeg -y -i "$tmpdir/audio1.wav" -i "$tmpdir/video.swf" -vcodec copy -f swf -ar 22050 -ab 48 -ac 1 "$tmpdir/video1.swf" >> "$outdir"/"$logfile" 2>&1 >+ ffmpeg -y -i "$tmpdir/audio1.wav" -i "$tmpdir/video.swf" -vcodec copy -f swf -ar 22050 -ab 48k -ac 1 "$tmpdir/video1.swf" >> "$outdir"/"$logfile" 2>&1 > mv "$tmpdir/video1.swf" "$outdir"/"$slideshow_name".swf > myecho "[dvd-slideshow] Generating video thumbnail..." > ffmpeg -y -i "$outdir"/"$slideshow_name".swf -f mjpeg -t 0.001 "$outdir"/"$slideshow_name".jpg >> "$outdir"/"$logfile" 2>&1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 177662
: 118568 |
118570
|
121691
|
130173
|
130175