[FFmpeg-user] Setting the fps on a WMV
Lou
lou at lrcd.com
Thu Aug 2 03:07:16 CEST 2012
See inline replies.
On Wed, 1 Aug 2012 15:16:56 -0700 (PDT)
johlaf <john.lafferty at awm.gov.au> wrote:
> Hope this helps :)
>
> D:\dev_WMV>ffmpeg -i file.MXF -r 25 -vcodec wmv2 -qscale 4 -vf
> "scale=-1:288" -y file.wmv
> ffmpeg version N-41975-gb536e2f Copyright (c) 2000-2012 the FFmpeg
> developers
> built on Jun 26 2012 20:37:12 with gcc 4.7.1
> configuration: --enable-gpl --enable-version3 --disable-w32threads
> --enable-runtime-cpudetect --enable-avisynth --enab
> le-bzlib --enable-frei0r --enable-libass --enable-libcelt
> --enable-libopencore-amrnb --enable-libopencore-amrwb --enable
> -libfreetype --enable-libgsm --enable-libmp3lame --enable-libnut
> --enable-libopenjpeg --enable-librtmp --enable-libschro
> edinger --enable-libspeex --enable-libtheora --enable-libutvideo
> --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
> libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
> --enable-zlib
> libavutil 51. 63.100 / 51. 63.100
> libavcodec 54. 29.101 / 54. 29.101
> libavformat 54. 11.100 / 54. 11.100
> libavdevice 54. 0.100 / 54. 0.100
> libavfilter 3. 0.100 / 3. 0.100
> libswscale 2. 1.100 / 2. 1.100
> libswresample 0. 15.100 / 0. 15.100
> libpostproc 52. 0.100 / 52. 0.100
> Guessed Channel Layout for Input Stream #0.1 : mono
> Guessed Channel Layout for Input Stream #0.2 : mono
> Input #0, mxf, from 'file.MXF':
> Metadata:
> timecode : 09:01:29:24
> Duration: 00:01:15.76, start: 0.000000, bitrate: 30516 kb/s
> Stream #0:0: Video: dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 25
> fps, 25 tbr, 25 tbn, 25 tbc
Your input is already 25 fps. FFmpeg will attempt to inherit the input
frame rate for the output if possible.
> Stream #0:1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Stream #0:2: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
> Please use -q:a or -q:v, -qscale is ambiguous
This is telling you to use -qscale:v or -q:v (same thing, just shorter).
> [graph 0 input from stream 0:0 @ 00000000003fdd00] w:720 h:576
> pixfmt:yuv420p tb:1/25 fr:25/1 sar:16/15 sws_param:flags=
> 2
> [output stream 0:0 @ 00000000003fde20] No opaque field provided
> [Parsed_scale_0 @ 00000000003fdc60] w:720 h:576 fmt:yuv420p sar:16/15 ->
> w:360 h:288 fmt:yuv420p sar:16/15 flags:0x4
> [graph 1 input from stream 0:1 @ 00000000003fdf40] tb:1/25 samplefmt:s16
> samplerate:48000 chlayout:0x4
> Output #0, asf, to 'file.wmv':
> Metadata:
> timecode : 09:01:29:24
> WM/EncodingSettings: Lavf54.11.100
> Stream #0:0: Video: wmv2 (WMV2 / 0x32564D57), yuv420p, 360x288 [SAR
> 16:15 DAR 4:3], q=2-31, 200 kb/s, 1k tbn, 25 tbc
This looks like 25 to me.
> Stream #0:1: Audio: wmav2 (a[1][0][0] / 0x0161), 48000 Hz, mono, s16,
> 127 kb/s
> Stream mapping:
> Stream #0:0 -> #0:0 (dvvideo -> wmv2)
> Stream #0:1 -> #0:1 (pcm_s16le -> wmav2)
> Press [q] to stop, [?] for help
> frame= 1894 fps=243 q=4.0 Lsize= 11629kB time=00:01:15.72
> bitrate=1258.2kbits/s
> video:10154kB audio:1183kB subtitle:0 global headers:0kB muxing overhead
> 2.584494%
Why do you think that the output is 30 fps? What player are you using?
> --
> View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Setting-the-fps-on-a-WMV-tp4652201p4652223.html
> Sent from the FFmpeg-users mailing list archive at Nabble.com.
Note that using Nabble (and therefore probably not subscribing to the
mailing list) can cause your messages to be held in the moderation
queue, and it can take up to 48 hours to get approved; although it is
usually a much shorter wait.
More information about the ffmpeg-user
mailing list