diff options
author | rik <rik@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-19 22:15:37 +0000 |
---|---|---|
committer | rik <rik@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-12-19 22:15:37 +0000 |
commit | fe0b80deee4e550a1ce6863ef1c51e91188a060d (patch) | |
tree | b8dc33d024eabbd01d64cc1085ee6055e213feba /libmpcodecs/vf.c | |
parent | fbb3b63a3998e8d18e1dcb58c028f820654e1d38 (diff) | |
download | mpv-fe0b80deee4e550a1ce6863ef1c51e91188a060d.tar.bz2 mpv-fe0b80deee4e550a1ce6863ef1c51e91188a060d.tar.xz |
vf_zrmjpeg MJPEG encoding filter, works together with vo_zr2. Only YV12
colorspace input supported for now. Autocropping is also not implemented.
Example usage: mplayer -vo zr2 -vf zrmjpeg foo.avi.
vf_zrmjpeg and vo_zr2 should obsolete vo_zr and libvo/jpeg_enc.c in the future.
Problem is that it needs some paramters of the zoran card (max resolution), for
now the user needs to tell vf_zrmjpeg those parameters (which is stupid,
because zrmjpeg should be able to query vo_zr2 for that information....) The
filter currently uses code which is also present in libvo/jpeg_enc.c, in the
future the (then enhanced) ffmpeg mjpeg encoder should/will be used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11663 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf.c')
-rw-r--r-- | libmpcodecs/vf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index 9627dee0be..2f7f2bba9d 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -41,6 +41,7 @@ extern vf_info_t vf_info_rotate; extern vf_info_t vf_info_mirror; extern vf_info_t vf_info_palette; extern vf_info_t vf_info_lavc; +extern vf_info_t vf_info_zrmjpeg; extern vf_info_t vf_info_dvbscale; extern vf_info_t vf_info_cropdetect; extern vf_info_t vf_info_test; @@ -111,6 +112,9 @@ static vf_info_t* filter_list[]={ &vf_info_lavc, &vf_info_lavcdeint, #endif +#ifdef HAVE_ZR + &vf_info_zrmjpeg, +#endif &vf_info_dvbscale, &vf_info_cropdetect, &vf_info_test, |