Skip to content

Commit

Permalink
Merge pull request #4 from svleeuwen/patch-1
Browse files Browse the repository at this point in the history
Remove file_type data from fixture
  • Loading branch information
jbittel committed Feb 9, 2015
2 parents 3f40821 + 32d8d3e commit c7ae415
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions multimedia/fixtures/encode-profiles.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"pk": 1,
"model": "multimedia.encodeprofile",
"fields": {
"file_type": "video",
"container": "mp4",
"command": "ffmpeg -y -i \"%(input)s\" -codec:v libx264 -profile:v high -preset slow -crf 20 -b:v 500k -maxrate 500k -bufsize 1000k -vf scale=trunc(oh*a/2)*2:360 -threads 0 -codec:a libfaac -b:a 96k -ac 1 \"%(output)s\"",
"name": "H.264"
Expand All @@ -13,7 +12,6 @@
"pk": 2,
"model": "multimedia.encodeprofile",
"fields": {
"file_type": "video",
"container": "webm",
"command": "ffmpeg -y -i \"%(input)s\" -codec:v libvpx -quality good -cpu-used 0 -b:v 500k -qmin 10 -qmax 31 -maxrate 500k -bufsize 1000k -vf scale=-1:360 -threads 0 -codec:a libvorbis -b:a 96k -ac 1 \"%(output)s\"",
"name": "WebM"
Expand All @@ -23,7 +21,6 @@
"pk": 3,
"model": "multimedia.encodeprofile",
"fields": {
"file_type": "video",
"container": "ogv",
"command": "ffmpeg -y -i \"%(input)s\" -codec:v libtheora -cpu-used 0 -b:v 800k -qmin 10 -qmax 31 -maxrate 800k -bufsize 1000k -vf scale=-1:360 -codec:a libvorbis -b:a 96k -ac 1 \"%(output)s\"",
"name": "Ogg Theora"
Expand All @@ -33,7 +30,6 @@
"pk": 4,
"model": "multimedia.encodeprofile",
"fields": {
"file_type": "audio",
"container": "mp3",
"command": "ffmpeg -y -i \"%(input)s\" -vn \"%(output)s\"",
"name": "MP3"
Expand All @@ -43,7 +39,6 @@
"pk": 5,
"model": "multimedia.encodeprofile",
"fields": {
"file_type": "image",
"container": "jpg",
"command": "ffmpeg -y -i \"%(input)s\" -ss 10 -frames:v 1 -vf scale=-1:360 \"%(output)s\"",
"name": "Video Thumbnail"
Expand Down

0 comments on commit c7ae415

Please sign in to comment.