From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SPFOv-0000G0-41 for garchives@archives.gentoo.org; Tue, 01 May 2012 15:54:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE692E0654; Tue, 1 May 2012 15:53:48 +0000 (UTC) Received: from mail-qa0-f52.google.com (mail-qa0-f52.google.com [209.85.216.52]) by pigeon.gentoo.org (Postfix) with ESMTP id 055C5E073F for ; Tue, 1 May 2012 15:52:04 +0000 (UTC) Received: by qabj34 with SMTP id j34so2296480qab.11 for ; Tue, 01 May 2012 08:52:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Z6rPGNbDrQXKoxUK+mVp2nsjFqqrKqT3ejxgJjYdLOA=; b=hcrztiTi9dHgQigrcsKSLzcjalXmWPKr6lrp98HlXjXc8mde6BdAJl97AcVE7yeBMy mJEUjczY5pOU78kaBiFdUTMAtqyE/7UNS9NuRSP0u6LLR2eHS/E/Z7OeFUyRlfL7KV36 OSsg/boH37SsZhfEreag/r2tEbX5TNC9ES783xKF4F2ImANQxaqkTqW/RlR69kivAGAC JVnwOBxx/gIdxp1nKr+SMI94RQU8BDQ+5C/8jtiBps9QilvgMxc8MAwcZHK4Hqxlaq41 Ft+lA3nLqsHP1rO6EfP0yayEoUVsKRWbcUaW6E4R7UmFa/qceWNeZnht1vsrTuOTIfjv T5fA== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.102.7 with SMTP id e7mr5049034qao.15.1335887524358; Tue, 01 May 2012 08:52:04 -0700 (PDT) Received: by 10.229.236.136 with HTTP; Tue, 1 May 2012 08:52:04 -0700 (PDT) Date: Tue, 1 May 2012 08:52:04 -0700 Message-ID: Subject: [gentoo-user] convert wmv to mp4? From: Mark Knecht To: Gentoo User Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: a1d2bf5a-1112-436b-8474-c2f8f30f15c7 X-Archives-Hash: 308f5699911926b866ceac62b78a1cf9 I'm looking around on the web for ways to convert wmv files to mp4. So far the most common solution seems to be ffmpeg but when I try that it doesn't seem to understand the video files. The most common type of comment people give is that this should be straight forward if 32-bit codecs are installed. I'm running 64-bit and don't see what flags I might need to set to get that? There is a library (libwmf) which advertises the ability to do this but I don't seem to be using it in any application right now: * media-libs/libwmf Available versions: 0.2.8.4-r4 {{X debug doc expat xml}} Homepage: http://wvware.sourceforge.net/ Description: library for converting WMF files mark@c2stable ~/WMV-Test $ equery depends libwfm * These packages depend on libwfm: mark@c2stable ~/WMV-Test $ Anyone doing this successfully today or what to suggest how to do this? Thanks, Mark mark@c2stable ~/WMV-Test $ ffmpeg -i Test1.wmv -f mp4 -acodec mp2 Test1.mp4 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers built on Apr 27 2012 16:07:57 with gcc 4.5.3 configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++ --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -march=native -pipe' --extra-cflags='-O2 -march=native -pipe' --extra-cxxflags='-O2 -march=native -pipe' --disable-static --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --disable-stripping --disable-debug --disable-doc --disable-network --disable-vaapi --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc --enable-libvorbis --enable-libx264 --enable-libxvid --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss --disable-indev=jack --enable-x11grab --disable-outdev=oss --enable-libfreetype --enable-libopenjpeg --disable-amd3dnow --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx2 --disable-vis --disable-neon --cpu=host --enable-hardcoded-tables libavutil 51. 35.100 / 51. 35.100 libavcodec 53. 61.100 / 53. 61.100 libavformat 53. 32.100 / 53. 32.100 libavdevice 53. 4.100 / 53. 4.100 libavfilter 2. 61.100 / 2. 61.100 libswscale 2. 1.100 / 2. 1.100 libswresample 0. 6.100 / 0. 6.100 libpostproc 52. 0.100 / 52. 0.100 [asf @ 0x626320] max_analyze_duration 5000000 reached at 5200000 [asf @ 0x626320] decoding for stream 1 failed [asf @ 0x626320] Could not find codec parameters (Video: none (MSS2 / 0x3253534D), 1366x740, 4971 kb/s) Input #0, asf, from 'Test1.wmv': Metadata: WMFSDKVersion : 12.0.7601.17514 WMFSDKNeeded : 0.0.0.0000 IsVBR : 0 Duration: 02:32:10.26, start: 0.000000, bitrate: 42 kb/s Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1 channels, s16, 20 kb/s Stream #0:1(eng): Video: none (MSS2 / 0x3253534D), 1366x740, 4971 kb/s, 1k tbr, 1k tbn, 1k tbc File 'Test1.mp4' already exists. Overwrite ? [y/N] y Video pixel format is unknown, stream cannot be encoded mark@c2stable ~/WMV-Test $ [I] media-video/ffmpeg Available versions: 0.7.8 0.10 0.10.2{tbz2} **9999 {{(+)3dnow (+)3dnowext X aac aacplus alsa altivec amr ass avx bindist bluray +bzip2 cdio celt cpudetection custom-cflags debug dirac doc +encode faac +fftools_aviocat +fftools_cws2fws +fftools_ffeval +fftools_graph2dot +fftools_ismindex +fftools_pktdumper +fftools_qt-faststart +fftools_trasher fontconfig frei0r gnutls gsm +hardcoded-tables ieee1394 iwmmxt jack jpeg2k libv4l (+)mmx (+)mmxext modplug mp3 neon network openal openssl oss pic pulseaudio +qt-faststart rtmp schroedinger sdl speex (+)ssse3 static-libs test theora threads truetype v4l vaapi vdpau video_cards_nvidia vis vorbis vpx x264 xvid +zlib}} Installed versions: 0.10.2{tbz2}(04:08:05 PM 04/27/2012)(X aac alsa bzip2 encode fftools_aviocat fftools_cws2fws fftools_ffeval fftools_graph2dot fftools_ismindex fftools_pktdumper fftools_qt-faststart fftools_trasher hardcoded-tables jpeg2k mmx mp3 sdl ssse3 truetype vorbis x264 xvid zlib -3dnow -3dnowext -aacplus -altivec -amr -ass -avx -bindist -cdio -celt -cpudetection -debug -dirac -doc -faac -frei0r -gnutls -gsm -ieee1394 -jack -libv4l -mmxext -modplug -neon -network -openal -openssl -oss -pic -pulseaudio -rtmp -schroedinger -speex -static-libs -test -theora -threads -v4l -vaapi -vdpau -vis -vpx) Homepage: http://ffmpeg.org/ Description: Complete solution to record, convert and stream audio and video. Includes libavcodec.