Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] convert wmv to mp4?
Date: Tue, 01 May 2012 18:52:19
Message-Id: CAK2H+efHNE=vU55adHg8cZad11RpDnBi-cT=Ew2vv4EtZfx5Pw@mail.gmail.com
In Reply to: Re: [gentoo-user] convert wmv to mp4? by Mark Knecht
1 On Tue, May 1, 2012 at 11:19 AM, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Tue, May 1, 2012 at 10:56 AM, Michael Orlitzky <michael@××××××××.com> wrote:
3 <SNIP>
4 >> Can you play the WMV?
5 >>
6 >> The "wmv" extension usually indicates an ASF container, and the ASF
7 >> container can have DRM. I see them every once in a while, and
8 >> ffmpeg/mplayer have no idea what to do with them.
9 >>
10 >
11 > I Cannot play the files on my Gentoo box using Linux. No player that
12 > I've tried so far - xine, mplayer, dragon player in KDE - none of them
13 > play these files. However I can play the files within a Win7 VM on
14 > this machine which is what I've been doing this morning so far. I sort
15 > of doubt the DRM restriction on this stuff. The web site asks
16 > subscribers not to farward these to their friends, etc., and says
17 > subscribers are on the honor system. They appears to be simple
18 > recordings of of his screen and audio coming from an inexpensive mic.
19 > Nothing more.
20 >
21 > I just got access to these files today so until this morning I didn't
22 > even know what format they'd be in.
23
24 Expanding a bit I copied one of the files to a test directory to play
25 with. It seems smplayer will actually play the audio but won't display
26 video. midentify gives some data. When I look at the ffmpeg info it
27 seems to me it's also having trouble with the video portion. At least
28 it seems to understand the audio portion.
29
30 I'm guessing the pivot point here is the video format code:
31
32 ID_VIDEO_FORMAT=MSS2
33
34 Cheers,
35 Mark
36
37 mark@c2stable ~/WMV-Test $ midentify Test1.wmv
38 ID_AUDIO_ID=1
39 ID_VIDEO_ID=2
40 ID_FILENAME=Test1.wmv
41 ID_DEMUXER=asf
42 ID_VIDEO_FORMAT=MSS2
43 ID_VIDEO_BITRATE=4971000
44 ID_VIDEO_WIDTH=1366
45 ID_VIDEO_HEIGHT=740
46 ID_VIDEO_FPS=1000.000
47 ID_VIDEO_ASPECT=0.0000
48 ID_AUDIO_FORMAT=353
49 ID_AUDIO_BITRATE=0
50 ID_AUDIO_RATE=0
51 ID_AUDIO_NCH=0
52 ID_START_TIME=5.00
53 ID_LENGTH=9130.09
54 ID_SEEKABLE=1
55 ID_CHAPTERS=0
56 ID_AUDIO_BITRATE=20008
57 ID_AUDIO_RATE=44100
58 ID_AUDIO_NCH=1
59 ID_AUDIO_CODEC=ffwmav2
60 ID_EXIT=EOF
61 mark@c2stable ~/WMV-Test $
62
63 mark@c2stable ~/WMV-Test $ ffmpeg -i Test1.wmv
64 ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
65 built on Apr 27 2012 16:07:57 with gcc 4.5.3
66 configuration: --prefix=/usr --libdir=/usr/lib64
67 --shlibdir=/usr/lib64 --mandir=/usr/share/man --enable-shared
68 --cc=x86_64-pc-linux-gnu-gcc --cxx=x86_64-pc-linux-gnu-g++
69 --ar=x86_64-pc-linux-gnu-ar --optflags='-O2 -march=native -pipe'
70 --extra-cflags='-O2 -march=native -pipe' --extra-cxxflags='-O2
71 -march=native -pipe' --disable-static --enable-gpl --enable-version3
72 --enable-postproc --enable-avfilter --disable-stripping
73 --disable-debug --disable-doc --disable-network --disable-vaapi
74 --disable-vdpau --enable-libmp3lame --enable-libvo-aacenc
75 --enable-libvorbis --enable-libx264 --enable-libxvid
76 --disable-indev=v4l --disable-indev=v4l2 --disable-indev=oss
77 --disable-indev=jack --enable-x11grab --disable-outdev=oss
78 --enable-libfreetype --enable-libopenjpeg --disable-amd3dnow
79 --disable-amd3dnowext --disable-altivec --disable-avx --disable-mmx2
80 --disable-vis --disable-neon --cpu=host --enable-hardcoded-tables
81 libavutil 51. 35.100 / 51. 35.100
82 libavcodec 53. 61.100 / 53. 61.100
83 libavformat 53. 32.100 / 53. 32.100
84 libavdevice 53. 4.100 / 53. 4.100
85 libavfilter 2. 61.100 / 2. 61.100
86 libswscale 2. 1.100 / 2. 1.100
87 libswresample 0. 6.100 / 0. 6.100
88 libpostproc 52. 0.100 / 52. 0.100
89 [asf @ 0x626320] max_analyze_duration 5000000 reached at 5200000
90 [asf @ 0x626320] decoding for stream 1 failed
91 [asf @ 0x626320] Could not find codec parameters (Video: none (MSS2 /
92 0x3253534D), 1366x740, 4971 kb/s)
93 Input #0, asf, from 'Test1.wmv':
94 Metadata:
95 WMFSDKVersion : 12.0.7601.17514
96 WMFSDKNeeded : 0.0.0.0000
97 IsVBR : 0
98 Duration: 02:32:10.26, start: 0.000000, bitrate: 42 kb/s
99 Stream #0:0(eng): Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, 1
100 channels, s16, 20 kb/s
101 Stream #0:1(eng): Video: none (MSS2 / 0x3253534D), 1366x740, 4971
102 kb/s, 1k tbr, 1k tbn, 1k tbc
103 At least one output file must be specified
104 mark@c2stable ~/WMV-Test $

Replies

Subject Author
Re: [gentoo-user] convert wmv to mp4? Michael Mol <mikemol@×××××.com>