[FFmpeg-user] Converting to WMV - Fails under Media Player

Tim Bradstock tim.bradstock at googlemail.com
Sun Jul 22 22:29:16 CEST 2012


Hi,

Attached for reference is a copy of the command line activity for both
tests. As mentioned, only the WinFF WMV will play under Windows Media
Player - the other WMV created by FFmpeg (Shared) fails to play - even
though exactly the same command line parameters were used in both
instances...

ffmpeg -y -i Input.flv -vcodec wmv2 -acodec wmav2 -b:v 1000k -b:a 160k -r
25 output.wmv

Tim



On Sun, Jul 22, 2012 at 7:24 PM, Tim Bradstock <tim.bradstock at googlemail.com
> wrote:

> Hi Bat,
>
> Yes that seems to be the case.
>
> WMV files produced by "FFmpeg git-85761ef 32-bit Shared (2012-07-20)"
> won't play OK with the default installation of Windows Media Player.
> However, using the same command line with WinFF generates a WMV which does
> correctly play under Windows Media Player.
>
> Best wishes,
>
> Tim
>
>  On Sun, Jul 22, 2012 at 7:20 PM, bat guano <batguano999 at hotmail.com>wrote:
>
>>
>>
>>
>>
>> >
>> > I'm trying to convert FLV files to WMV...
>>
>> Hi
>> WinFF-v1.4.2 for Windows uses "FFmpeg version N-38632-g4cda8aa".
>>
>> When you use command:-
>> ... -vcodec wmv2 -acodec wmav2 -b:v 1000k -b:a 160k -r25...
>> Are you suggesting that files produced by "FFmpeg version
>> N-38632-g4cda8aa" will play OK with Windows Media Player...
>> and files produced by "FFmpeg git-85761ef 32-bit Shared (2012-07-20)"
>> won't play OK with Windows Media Player?
>>
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
-------------- next part --------------
FFmpeg_LGPL>ffmpeg -y -i Input.flv -vcodec wmv2 -acodec wmav2 -b:v 1000k -b:a 160k -r 25 outputMyWinFFString.wmv

ffmpeg version N-40601-g9eb99ab Copyright (c) 2000-2012 the FFmpeg developers
  built on May 11 2012 20:32:47 with gcc 4.6.3
  configuration: --disable-static --enable-shared --enable-version3 --disable-w3
2threads --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-fr
ei0r --enable-libass --enable-libcelt --enable-libopencore-amrnb --enable-libope
ncore-amrwb --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-li
bnut --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --enable-lib
speex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
libvorbis --enable-libvpx --enable-zlib
  libavutil      51. 50.100 / 51. 50.100
  libavcodec     54. 21.101 / 54. 21.101
  libavformat    54.  4.100 / 54.  4.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 72.105 /  2. 72.105
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 11.100 /  0. 11.100
Input #0, flv, from 'Input.flv':
  Metadata:
    starttime       : 0
    totalduration   : 596
    totaldatarate   : 1097
    bytelength      : 81844829
    canseekontime   : true
    sourcedata      : BD43847C6HH1342369653122385
    purl            :
    pmsg            :
  Duration: 00:09:56.41, start: 0.000000, bitrate: 1097 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 100
5 kb/s, 24 tbr, 1k tbn, 48 tbc
    Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 110 kb/s
[buffer @ 01a2ac60] w:854 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:fl
ags=2
[buffersink @ 01a2ae80] No opaque field provided
Output #0, asf, to 'outputMyWinFFString.wmv':
  Metadata:
    starttime       : 0
    totalduration   : 596
    totaldatarate   : 1097
    bytelength      : 81844829
    canseekontime   : true
    sourcedata      : BD43847C6HH1342369653122385
    purl            :
    pmsg            :
    WM/EncodingSettings: Lavf54.4.100
    Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 854x480 [SAR 1:1 DAR
427:240], q=2-31, 1000 kb/s, 1k tbn, 25 tbc
    Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16, 159
kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> wmv2)
  Stream #0:1 -> #0:1 (aac -> wmav2)
Press [q] to stop, [?] for help
frame=   28 fps=0.0 q=2.0 size=     135kB time=00:00:01.12 bitrate= 990.2kbits/s
-------------- next part --------------
C:\Program Files\WinFF>title Converting Input.flv (1/1)

C:\Program Files\WinFF>"C:\Program Files\WinFF\ffmpeg.exe" -y -i "C:\FFmpeg_LGPL
\Input.flv" -vcodec wmv2 -acodec wmav2 -b:v 1000k -b:a 160k -r 25 "C:\FFmpeg_LGP
L\Successfull WMF Conversions\Input.wmv"
ffmpeg version N-38632-g4cda8aa Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar  8 2012 02:38:08 with gcc 4.5.0 20100414 (Fedora MinGW 4.5.0-1.fc
14)
  configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build --arch=
x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686-pc-min
gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-cpudetect
--enable-cross-compile --enable-static --disable-shared --extra-libs='-lws2_32 -
lwinmm' --extra-cflags='--static -I/var/www/users/research/ffmpeg/snapshots/buil
d/include' --extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/b
uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3 --enable-n
onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-libvorbis
--enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-libopencor
e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
  libavutil      51. 42.100 / 51. 42.100
  libavcodec     54. 10.100 / 54. 10.100
  libavformat    54.  2.100 / 54.  2.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 63.100 /  2. 63.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  7.100 /  0.  7.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, flv, from 'C:\FFmpeg_LGPL\Input.flv':
  Metadata:
    starttime       : 0
    totalduration   : 596
    totaldatarate   : 1097
    bytelength      : 81844829
    canseekontime   : true
    sourcedata      : BD43847C6HH1342369653122385
    purl            :
    pmsg            :
  Duration: 00:09:56.41, start: 0.000000, bitrate: 1097 kb/s
    Stream #0:0: Video: h264 (Main), yuv420p, 854x480 [SAR 1:1 DAR 427:240], 100
5 kb/s, 24 tbr, 1k tbn, 48 tbc
    Stream #0:1: Audio: aac, 44100 Hz, stereo, s16, 110 kb/s
[buffer @ 0x3de0da0] w:854 h:480 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:
Output #0, asf, to 'C:\FFmpeg_LGPL\Successfull WMF Conversions\Input.wmv':
  Metadata:
    starttime       : 0
    totalduration   : 596
    totaldatarate   : 1097
    bytelength      : 81844829
    canseekontime   : true
    sourcedata      : BD43847C6HH1342369653122385
    purl            :
    pmsg            :
    WM/EncodingSettings: Lavf54.2.100
    Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 854x480 [SAR 1:1 DAR
427:240], q=2-31, 1000 kb/s, 1k tbn, 25 tbc
    Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 44100 Hz, stereo, s16, 159
kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> wmv2)
  Stream #0:1 -> #0:1 (aac -> wmav2)
Press [q] to stop, [?] for help
frame=   35 fps=0.0 q=2.0 size=     207kB time=00:00:01.40 bitrate=1212.7kbits/s


More information about the ffmpeg-user mailing list