summaryrefslogtreecommitdiffstats
path: root/encode_lavc.c
Commit message (Collapse)AuthorAgeFilesLines
* make compile with recent libavStefano Pigozzi2012-11-031-14/+14
|
* encode: bail out on missing A or V streamRudolf Polzer2012-11-011-2/+8
| | | | | | | | | In mplayer2, it was valid to try to start encoding before all streams were initialized. mpv avoids this situation and thus allows us to properly bail out on some kinds of failures. Also, this commit fixes a missing check in ao uninit which could cause heap corruption when ao initialization did not complete.
* encode: remove dependency on current ffmpegRudolf Polzer2012-10-011-233/+238
| | | | | | | | | | | | | Apparently, libav doesn't have the change for the new way to create a libavformat context merged yet. So, we can't use that... Rather, this commit fixes format specific avoptions another way. On the downside, invalid format options are now detected very late, and any attempt to set an option value to +something or -something will append to the previously set option value (this logic can no longer be specific to options of bitflag type, as finding out the option type is what we simply cannot do with this interface).
* encode: add options --ovfirst and --oafirstRudolf Polzer2012-09-291-7/+32
| | | | | | This allows to define which stream is to be used as first output stream. This is useful because dvdauthor refuses VOB files where the audio stream is the first stream.
* encode: update to current ffmpeg APIRudolf Polzer2012-09-291-28/+8
| | | | This gets rid of some quite ugly code.
* encode: video encoding now supported using mencoder-like optionsRudolf Polzer2012-09-181-0/+1062