public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] convert wmv to mp4?
@ 2012-05-01 15:52 99% Mark Knecht
  0 siblings, 0 replies; 1+ results
From: Mark Knecht @ 2012-05-01 15:52 UTC (permalink / raw
  To: Gentoo User

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.



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-05-01 15:52 99% [gentoo-user] convert wmv to mp4? Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox