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

« back to all changes in this revision

Viewing changes to scripts/exports/ffmpeg_utils.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:
31
31
                med_res=`[ "$normalisation" = "pal" ] && echo "384x288" || echo "320x240"`
32
32
                low_res=`[ "$normalisation" = "pal" ] && echo "192x144" || echo "160x120"`
33
33
        fi
 
34
 
 
35
        test_metadata=`echo $ffmpeg_help | grep '\-metadata' | wc -l`
 
36
        opt_title=`[ "$test_metadata" -gt 0 ] && echo "-metadata title=" || "-title "`
 
37
        opt_author=`[ "$test_metadata" -gt 0 ] && echo "-metadata author=" || "-author "`
 
38
        opt_comment=`[ "$test_metadata" -gt 0 ] && echo "-metadata comment=" || "-comment "`
 
39
        opt_copyright=`[ "$test_metadata" -gt 0 ] && echo "-metadata copyright=" || "-copyright "`
34
40
fi
35
41
 
36
42
# Generate FFMPEG hiqh quality settings based upon version