From owner-freebsd-multimedia Sat Feb 8 6:28:33 2003 Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93D0D37B401 for ; Sat, 8 Feb 2003 06:28:30 -0800 (PST) Received: from heaven.gigo.com (heaven.gigo.com [64.57.102.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id C0B7043FB1 for ; Sat, 8 Feb 2003 06:28:29 -0800 (PST) (envelope-from lioux@brturbo.com) Received: from 200-193-224-024.bsace7003.dsl.brasiltelecom.net.br (200-193-224-024.bsace7003.dsl.brasiltelecom.net.br [200.193.224.24]) by heaven.gigo.com (Postfix) with ESMTP id 769DAB93F for ; Sat, 8 Feb 2003 06:28:12 -0800 (PST) Received: (qmail 30031 invoked by uid 1001); 8 Feb 2003 14:11:13 -0000 Message-ID: <20030208141113.30030.qmail@exxodus.fedaykin.here> Date: Sat, 8 Feb 2003 12:10:51 -0200 From: Mario Sergio Fujikawa Ferreira To: freebsd-multimedia@FreeBSD.org Cc: "Thomas E. Zander" Subject: fix mplayer problems with animatrix? Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="1yeeQ81UyVL57Vl7" Content-Disposition: inline User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.7-STABLE X-Disclaimer: I hope you find what you are looking for... in life :) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, If you downloaded animatrix mov video this week, you might have noticed that latest mplayer cannot handle the video. You will hear the audio track but get no image at all. The animatrix video can be found at the official animatrix website http://www.theanimatrix.com/ Or, you can use one of the quicklinks - small - 320x136 http://progressive1.stream.aol.com/wb/gl/wbonline/progressive/thematrix/us/med/Episode1s_dl.zip - medium - 480x204 http://progressive1.stream.aol.com/wb/gl/wbonline/progressive/thematrix/us/med/Episode1m_dl.zip - large - 480x204 http://progressive1.stream.aol.com/wb/gl/wbonline/progressive/thematrix/us/med/Episode1s_dl.zip One of mplayer developers proposed a little patch that gets the video for animatrix working. DO NOT PROCEED if you're not familiar with port patching. :) This is not for the faint of heart. mplayer developers are working on a definitive solution so you might want to wait for a future port update. HOWEVER, if you are familiar with port patching and you want this patch RIGHT NOW... please continue. Check the original post with the patch at http://www.MPlayerHQ.hu/pipermail/mplayer-users/2003-February/029187.html for more information. This patch fixes the video problem but the audio of animatrix is still out of sync. Furthermore, I noticed that other mov video files still work after the patch. :) Nonetheless, it seems that I cannot forward the video anymore, i.e., it doesn't work anymore if I use the '->' arrow keys to advance any mov video. Can anyone else reproduce this? Anyway, here is how you test this patch. This patch can be found attached. 1) save attachment patch-libmpdemux::demux_mov.c somewhere 2) move patch-libmpdemux::demux_mov.c to mplayer/files/ so that it will be used as a ports patch (do not forget to remove it later) mplayer/files/patch-libmpdemux::demux_mov.c 3) recompile and reinstall mplayer 4) try animatrix. it now works but the audio is out of sync... :( deverlopers are working on it Regards, ps: I do not want to start a flame war or a huge email thread, so do not reply if you are just wishing to reply to this 'ps:'. If you any of you have the chance, check the japanese anime called 'Armitage III'. You will notice a lot of similarities to this 1st episode of animatrix. Once again, this is just an opinion. Do not reply if you want to reply to just this 'ps:' :) -- Mario S F Ferreira - DF - Brazil - "I guess this is a signature." Computer Science Undergraduate | FreeBSD Committer | CS Developer flames to beloved devnull@someotherworldbeloworabove.org feature, n: a documented bug | bug, n: an undocumented feature --1yeeQ81UyVL57Vl7 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch-libmpdemux::demux_mov.c" --- libmpdemux/demux_mov.c.orig Sat Feb 8 11:31:57 2003 +++ libmpdemux/demux_mov.c Sat Feb 8 11:32:29 2003 @@ -597,7 +597,10 @@ unsigned int fourcc=stream_read_dword_le(demuxer->stream); if(len<8) break; // error mp_msg(MSGT_DEMUX,MSGL_V,"MOV: %*s desc #%d: %.4s (%d bytes)\n",level,"",i,&fourcc,len-16); - if(!i){ + if(fourcc!=trak->fourcc && i) + mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_MOVvariableFourCC); + //if(!i) + { trak->fourcc=fourcc; // read type specific (audio/video/time/text etc) header // NOTE: trak type is not yet known at this point :((( @@ -605,8 +608,6 @@ trak->stdata=malloc(trak->stdata_len); stream_read(demuxer->stream,trak->stdata,trak->stdata_len); } - if(fourcc!=trak->fourcc && i) - mp_msg(MSGT_DEMUX,MSGL_WARN,MSGTR_MOVvariableFourCC); if(!stream_seek(demuxer->stream,pos+len)) break; } break; --1yeeQ81UyVL57Vl7-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message