[Libav-user] Q regarding ffmpeg command to change bit rate of wmv file

disha mishra disha.mishra at gmail.com
Thu Aug 4 17:50:04 CEST 2011


Hi Matt,

Actually I tried to do the same thing with H264 files. I took an H264 file
as input file and specifed -b with some bit rate and tried to save it in
same container as input file but the output file that I get is an MPEG4-2
file.

Thanks,
Disha

On Thu, Aug 4, 2011 at 1:35 AM, Matthew Einhorn <moiein2000 at gmail.com>wrote:

> Running "ffmpeg -formats" list all the codecs that ffmpeg can
> decode/encode. If you look at vc1 you'll see that ffmpeg can only
> decode it not encode it. So you cannot save a file in vc1 format (I
> think). You'll have to select a different output format.
>
> Matt
>
> On Wed, Aug 3, 2011 at 2:33 PM, disha mishra <disha.mishra at gmail.com>
> wrote:
> > Yes I tried  -vcodec copy but that doesn't work.
> >
> > Thanks,
> >
> > On Wed, Aug 3, 2011 at 10:49 AM, Matthew Einhorn <moiein2000 at gmail.com>
> > wrote:
> >>
> >> On Wed, Aug 3, 2011 at 1:35 PM, disha mishra <disha.mishra at gmail.com>
> >> wrote:
> >> > Hi
> >> > I have a VC-1 file at Simple profile, medium level, bit rate = 236
> kbps.
> >> > I
> >> > use the following command to change bit rate and frame rate of file
> >> >
> >> > ffmpeg -i input.wmv -b 128k -r 15 output.wmv
> >> >
> >> > When I check the information of output file, it shows a file with
> MPEG-4
> >> > Visual format and codec MP43. Is there any way to produce an output
> file
> >> > with the  same VC1 Simple profile, medium level information as input
> >> > file
> >> > using ffmpeg?
> >> >
> >> > I tried using -f vc1 switch in the command but thats only for having
> raw
> >> > vc1
> >> > video output.
> >> >
> >> > Thanks,
> >> >
> >>
> >> Have you tried -vcodec copy? It's in the ffmpeg documentation.
> >>
> >> Matt
> >> >
> >> > _______________________________________________
> >> > Libav-user mailing list
> >> > Libav-user at ffmpeg.org
> >> > http://ffmpeg.org/mailman/listinfo/libav-user
> >> >
> >> >
> >> _______________________________________________
> >> Libav-user mailing list
> >> Libav-user at ffmpeg.org
> >> http://ffmpeg.org/mailman/listinfo/libav-user
> >
> >
> > _______________________________________________
> > Libav-user mailing list
> > Libav-user at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/libav-user
> >
> >
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110804/d7813c67/attachment.html>


More information about the Libav-user mailing list