From owner-freebsd-questions@freebsd.org Wed May 25 07:45:02 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7FB5B49E12 for ; Wed, 25 May 2016 07:45:02 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm30-vm3.bullet.mail.ir2.yahoo.com (nm30-vm3.bullet.mail.ir2.yahoo.com [212.82.97.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 244B91242 for ; Wed, 25 May 2016 07:45:01 +0000 (UTC) (envelope-from emorrasg@yahoo.es) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1464162170; bh=wNMoor8LEOOVXqOdyz71SPX2EQ4XXPh4LzHbDrISleE=; h=Date:From:To:Subject:In-Reply-To:References:From:Subject; b=SH01DkfvYUaEjHnWuJyzlbT1q81l4fDOFNxXNBUGAk/JgVO7bcfFzi69vTxKxevNnIbHuNmMcmfvQRPxb1qD5QYaWtWCLsdF5FCwleWqRPWQrfsvThFxY7kMpaobRWL7UI6vN8FkLdws2ckHEX2CfgIFlCr+VrcIit9fQXV26NG/0A3TCgcQ2FxSPjn1iNbgZ3QSgCWwkqXAj+6fMkCnqoIaty17VixhYEpRzI6b6IFBWGnpaRJEutuU97MLeWae+pamoA6B31H+3NL1uLUpmNoOp8Vabd9Nf9QRCzTv4g6mxM1TxYqoAKVVfUVX84qqgytIzF/ZSOlX3CapNicwIg== Received: from [212.82.98.126] by nm30.bullet.mail.ir2.yahoo.com with NNFMP; 25 May 2016 07:42:50 -0000 Received: from [46.228.39.78] by tm19.bullet.mail.ir2.yahoo.com with NNFMP; 25 May 2016 07:42:50 -0000 Received: from [127.0.0.1] by smtp115.mail.ir2.yahoo.com with NNFMP; 25 May 2016 07:42:50 -0000 X-Yahoo-Newman-Id: 360155.8616.bm@smtp115.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Ww7BdzAVM1kANwZ0YbJZODMLd24vygnt6.siG6BBLW6tDT9 COCmyjCeWOP0Q0AYhj2lZC_kkw2hwAbJcFpdzgAlp2Vjdg9zTcLUZhmn.z8c QIfp0wvjy20Ig9U0A7yxUM7CAFCkoQOlEsjIvxnuV2g6mZLpobNGR25gTdAY OksvP8lZF.u8e94T4s_MBATMe9UgkRLXRLw.c.bvuKlTr81QInVi_GMpVdle BTZhXCKsi0PM4BDwwq2g.W0AfgFDOAP9wd0oLJNUdF.D97HlulRtVZ4xTytw 3.lrBCdFY9AGiy_KqkCBBhUr1VJtdT0xiQb0QTAmEQ9offMRexhE3q8ZDMdJ UElrtHYMEhHwAaLHPzllZDX0H7N8cfuHgOpFnigeuKVaOaWLefLfx8Y6T8iT 2CwEWzyweyOShkgGIIKo1yInDYRiRyY9xKe02AHW1zQ3qycBn_atW5K2lpL6 Wg9kggoBNCmZ.bxB6Z.3.c10LbTdkBgbuz2QAXwIEKev4sxuE4f7GLOD3jLQ l5Y7MsGw0 X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR Date: Wed, 25 May 2016 09:42:53 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Matroska video format Message-Id: <20160525094253.541154f11b56e6f37cab3cb1@yahoo.es> In-Reply-To: References: <37fefe15-0f0c-31d0-8192-d49735f89b43@columbus.rr.com> <20160524133246.2bb528a21dfd14290e536b5f@yahoo.es> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd10.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 07:45:02 -0000 On Tue, 24 May 2016 20:12:23 -0400 Baho Utot wrote: > On 05/24/16 07:32, Eduardo Morras via freebsd-questions wrote: > > On Sun, 22 May 2016 20:42:41 -0400 > > Baho Utot wrote: > > > >> I would like to play a Matroskavisoe using vlc, Is this possible? > > vlc supports mkv container format. > > > >> It starts to play but the picture goes in and out of grey > > It's a video codec problem, not mkv. > > > > If it happens once or mixed with other defects, it's (>90%) a tiny > > corruption on video file. > > > > If it happens too often and in the same way (you see 1-2 pictures > > and goes grey, 1-2 pictures and again grey repeteadly) then the > > video was codified with a feature vlc can't decode. Upgrade vlc and > > it's dependence libraries or use other viewer (ffplay from ffmepg) > > that uses other library (for H264 you have OpenH264, ffmpeg, x264, > > etc.. and not all of them supports all H264 subformats/modes). > > > > If you transcode it with ffmpeg check first ffmpeg/ffplay can play > > it nicely. > It does indeed appear as a codec problem, windog 7 will play the > video just fine. To know the codec information, use (assuming you have ffmpep installed) %ffprobe -hide_banner input_file Input #0, avi, from 'input_file': Metadata: encoder : VirtualDubMod 1.5.10.2 (build 2540/release) Duration: 01:58:56.04, start: 0.000000, bitrate: 1676 kb/s Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 704x292 [SAR 1:1 DAR 176:73], 1022 kb/s, 25 fps, 25 tbr, 25 tbn, 25 tbc Stream #0:1: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 320 kb/s Stream #0:2: Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1(side), fltp, 320 kb/s At Stream #0 you can see video codec (mp4), the profile used (Avanced Simple) and codec implementation (xvid) These kind of problem occurs when codec use other standard profiles not implemented in decoder or non standard profiles options. > I tried to transcode it but it did not work Transcode needs to play it, if the codec library don't support the feature used by creator codec, obtained output file will show the same problems. Install or reinstall ffmpeg from ports, configure it with SDL support (if not, ffplay is not created) and a) #cd /usr/ports/multimedia/ffmpeg b) #make config c) Check SDL, x264, if they're not checked d) UnCheck OpenH264, if it's checked e) # make install Use '%ffplay filename' to play the video. > I am now trying to find out which codec are availiable and if I have > them installed. To show the codecs (decoders) available by your ffmpeg compiled you can use: %ffmpeg -decoders and to show everything your compiled ffmpeg can do: %ffmpeg --help full adding a new codec needs reconfiguration and recompilation. P.S. If you config ffmepg port and don't know what were the default ffmpeg port configuration, do '#make rmconfig' to reset it. HTH --- --- Eduardo Morras