# HG changeset patch # User michael # Date 1109103858 0 # Node ID 35001ce5b853b0868466654d312e2c30a57440aa # Parent 106106dac710f0307bcb92f11e1e91db734a9238 switch from DIVX -> FMP4 fourcc for libavcodec diff -r 106106dac710 -r 35001ce5b853 etc/codecs.conf --- a/etc/codecs.conf Tue Feb 22 20:24:15 2005 +0000 +++ b/etc/codecs.conf Tue Feb 22 20:24:18 2005 +0000 @@ -459,6 +459,7 @@ videocodec ffodivx info "FFmpeg MPEG-4" status working + fourcc FMP4,fmp4 fourcc DIVX,divx fourcc DIV1,div1 divx fourcc MP4S,mp4s ; ISO MPEG-4 Video V1 diff -r 106106dac710 -r 35001ce5b853 libmpcodecs/ve_lavc.c --- a/libmpcodecs/ve_lavc.c Tue Feb 22 20:24:15 2005 +0000 +++ b/libmpcodecs/ve_lavc.c Tue Feb 22 20:24:18 2005 +0000 @@ -990,7 +990,7 @@ else if (!strcasecmp(lavc_param_vcodec, "ljpeg")) mux_v->bih->biCompression = mmioFOURCC('L', 'J', 'P', 'G'); else if (!strcasecmp(lavc_param_vcodec, "mpeg4")) - mux_v->bih->biCompression = mmioFOURCC('D', 'I', 'V', 'X'); + mux_v->bih->biCompression = mmioFOURCC('F', 'M', 'P', '4'); else if (!strcasecmp(lavc_param_vcodec, "msmpeg4")) mux_v->bih->biCompression = mmioFOURCC('d', 'i', 'v', '3'); else if (!strcasecmp(lavc_param_vcodec, "msmpeg4v2")) diff -r 106106dac710 -r 35001ce5b853 libmpdemux/aviheader.c --- a/libmpdemux/aviheader.c Tue Feb 22 20:24:15 2005 +0000 +++ b/libmpdemux/aviheader.c Tue Feb 22 20:24:18 2005 +0000 @@ -289,6 +289,8 @@ case mmioFOURCC('D', 'X', '5', '0'): case mmioFOURCC('X', 'V', 'I', 'D'): case mmioFOURCC('x', 'v', 'i', 'd'): + case mmioFOURCC('F', 'M', 'P', '4'): + case mmioFOURCC('f', 'm', 'p', '4'): idxfix_divx=2; // set index recovery mpeg4 flavour: generic mpeg4 mp_msg(MSGT_HEADER,MSGL_V,"Regenerating keyframe table for MPEG4 video\n"); break;