~ubuntu-branches/ubuntu/trusty/kino/trusty

« back to all changes in this revision

Viewing changes to scripts/exports/ffmpeg_h264_dual.sh

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-02-03 22:05:31 UTC
  • mfrom: (1.1.10 upstream) (2.1.4 sid)
  • Revision ID: james.westby@ubuntu.com-20100203220531-10nx20lcxdwin5yl
Tags: 1.3.4-1ubuntu1
* Merge from debian testing.  Remaining changes: LP: #511203
  - Add Breaks on udev to get correct version.(Change has to be 
    carried as udev versioning before 146-2 version is different in 
    debian and ubuntu) 

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        case "$profile" in 
59
59
                "0" ) ffmpeg -threads $threads -f dv -i pipe: -pass $pass -passlogfile "$file" \
60
60
                        -vcodec $x264 -g 300 $hq $interlace -aspect $aspect -b 2048$kilo -ab 192$audio_kilo \
61
 
                        -title "$title" -author "$author" -comment "$comment" -copyright "$copyright" \
 
61
                        ${opt_title}"${title}" ${opt_author}"${author}" ${opt_comment}"${comment}" ${opt_copyright}"${copyright}" \
62
62
                        -y "$file".mp4 ;;
63
63
                "1" ) ffmpeg -threads $threads -f dv -i pipe: -pass $pass -passlogfile "$file" \
64
64
                        -vcodec $x264 -g 300 $hq $progressive -s $full_res -aspect $aspect -b 2048$kilo -ab 192$audio_kilo \
65
 
                        -title "$title" -author "$author" -comment "$comment" -copyright "$copyright" \
 
65
                        ${opt_title}"${title}" ${opt_author}"${author}" ${opt_comment}"${comment}" ${opt_copyright}"${copyright}" \
66
66
                        -y "$file".mp4 ;;
67
67
                "2" ) ffmpeg -threads $threads -f dv -i pipe: -pass $pass -passlogfile "$file" \
68
68
                        -vcodec $x264 -g 300 $hq $progressive -s $med_res -aspect $aspect -b 1024$kilo -ab 128$audio_kilo -ar 44100 \
69
 
                        -title "$title" -author "$author" -comment "$comment" -copyright "$copyright" \
 
69
                        ${opt_title}"${title}" ${opt_author}"${author}" ${opt_comment}"${comment}" ${opt_copyright}"${copyright}" \
70
70
                        -y "$file".mp4 ;;
71
71
                "3" ) ffmpeg -threads $threads -f dv -i pipe: -pass $pass -passlogfile "$file" \
72
72
                        -vcodec $x264 -g 300 $hq $progressive -s $med_res -aspect $aspect -b 500$kilo -ab 64$audio_kilo -ar 32000 \
73
 
                        -title "$title" -author "$author" -comment "$comment" -copyright "$copyright" \
 
73
                        ${opt_title}"${title}" ${opt_author}"${author}" ${opt_comment}"${comment}" ${opt_copyright}"${copyright}" \
74
74
                        -y "$file".mp4 ;;
75
75
                "4" ) ffmpeg -threads $threads -f dv -i pipe: -pass $pass -passlogfile "$file" \
76
76
                        -vcodec $x264 $hq $progressive -r 12 -g 120 -s qcif -aspect $aspect -b 90$kilo -minrate 0 -maxrate 100$kilo -bufsize 40$bufsize \
77
77
                        -ac 1 -ab 24$audio_kilo -ar 16000 \
78
 
                        -title "$title" -author "$author" -comment "$comment" -copyright "$copyright" \
 
78
                        ${opt_title}"${title}" ${opt_author}"${author}" ${opt_comment}"${comment}" ${opt_copyright}"${copyright}" \
79
79
                        -y "$file".mp4 ;;
80
80
        esac
81
81
        [ $pass -eq "2" ] && rm -f "$file-0.log"