[MPlayer-dev-eng] [PATCH]Support (?) Bitmap Brothers JV

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 14 10:48:04 CET 2011


Hi!

Attached patch adds support for Bitmap Brothers JV files, I didn't commit 
since both video and audio (and the demuxer) seem broken to me...

only sample is in incoming/jv

Carl Eugen
-------------- next part --------------
Index: libmpcodecs/vd_ffmpeg.c
===================================================================
--- libmpcodecs/vd_ffmpeg.c	(revision 33081)
+++ libmpcodecs/vd_ffmpeg.c	(working copy)
@@ -283,7 +283,7 @@
     if(vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug)
         ctx->do_slices=1;
 
-    if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH)
+    if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH && lavc_codec->id != CODEC_ID_JV)
         ctx->do_dr1=1;
     ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64;
     ctx->ip_count= ctx->b_count= 0;
Index: libmpdemux/mp_taglists.c
===================================================================
--- libmpdemux/mp_taglists.c	(revision 33081)
+++ libmpdemux/mp_taglists.c	(working copy)
@@ -101,6 +101,7 @@
     { CODEC_ID_FLIC,              MKTAG('F', 'L', 'I', 'C')},
     { CODEC_ID_IDCIN,             MKTAG('I', 'D', 'C', 'I')},
     { CODEC_ID_INTERPLAY_VIDEO,   MKTAG('I', 'N', 'P', 'V')},
+    { CODEC_ID_JV,                MKTAG('F', 'F', 'J', 'V')},
     { CODEC_ID_MDEC,              MKTAG('M', 'D', 'E', 'C')},
     { CODEC_ID_MOTIONPIXELS,      MKTAG('M', 'V', 'I', '1')},
     { CODEC_ID_NUV,               MKTAG('N', 'U', 'V', '1')},
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf	(revision 33081)
+++ etc/codecs.conf	(working copy)
@@ -3058,6 +3058,14 @@
   dll "fraps"
   out BGR24,YV12,I420
 
+videocodec ffjv
+  info "FFmpeg Bitmap Brothers JV"
+  status working
+  fourcc FFJV ; internal MPlayer FourCC
+  driver ffmpeg
+  dll "jv"
+  out BGR8
+
 videocodec fftiertexseq
   info "FFmpeg Tiertex SEQ"
   status working


More information about the MPlayer-dev-eng mailing list