Skip to content

Commit

Permalink
presets: specify the codecs.
Browse files Browse the repository at this point in the history
This allows the following usages:
FFMPEG_DATADIR=presets ./ffmpeg -f lavfi -i testsrc=d=5 -vcodec libx264 -vpre ipod640 -f null -
FFMPEG_DATADIR=presets ./ffmpeg -f lavfi -i testsrc=d=5 -vpre libx264-ipod640 -f null -

The second example was broken even if documented.
  • Loading branch information
ubitux committed May 4, 2012
1 parent 19bc232 commit ec271c9
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions presets/libvpx-1080p.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libvpx

g=120
lag-in-frames=16
deadline=good
Expand Down
2 changes: 2 additions & 0 deletions presets/libvpx-1080p50_60.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libvpx

g=120
lag-in-frames=25
deadline=good
Expand Down
2 changes: 2 additions & 0 deletions presets/libvpx-360p.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libvpx

g=120
lag-in-frames=16
deadline=good
Expand Down
2 changes: 2 additions & 0 deletions presets/libvpx-720p.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libvpx

g=120
lag-in-frames=16
deadline=good
Expand Down
2 changes: 2 additions & 0 deletions presets/libvpx-720p50_60.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libvpx

g=120
lag-in-frames=25
deadline=good
Expand Down
2 changes: 2 additions & 0 deletions presets/libx264-ipod320.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libx264

vprofile=baseline
level=13
maxrate=768000
Expand Down
2 changes: 2 additions & 0 deletions presets/libx264-ipod640.ffpreset
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
vcodec=libx264

vprofile=baseline
level=30
maxrate=10000000
Expand Down

0 comments on commit ec271c9

Please sign in to comment.