<div>Hi Matt,</div>
<div> </div>
<div>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.</div>

<div> </div>
<div>Thanks,</div>
<div>Disha<br><br></div>
<div class="gmail_quote">On Thu, Aug 4, 2011 at 1:35 AM, Matthew Einhorn <span dir="ltr"><<a href="mailto:moiein2000@gmail.com">moiein2000@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Running "ffmpeg -formats" list all the codecs that ffmpeg can<br>decode/encode. If you look at vc1 you'll see that ffmpeg can only<br>
decode it not encode it. So you cannot save a file in vc1 format (I<br>think). You'll have to select a different output format.<br><br>Matt<br>
<div>
<div></div>
<div class="h5"><br>On Wed, Aug 3, 2011 at 2:33 PM, disha mishra <<a href="mailto:disha.mishra@gmail.com">disha.mishra@gmail.com</a>> wrote:<br>> Yes I tried  -vcodec copy but that doesn't work.<br>><br>> Thanks,<br>
><br>> On Wed, Aug 3, 2011 at 10:49 AM, Matthew Einhorn <<a href="mailto:moiein2000@gmail.com">moiein2000@gmail.com</a>><br>> wrote:<br>>><br>>> On Wed, Aug 3, 2011 at 1:35 PM, disha mishra <<a href="mailto:disha.mishra@gmail.com">disha.mishra@gmail.com</a>><br>
>> wrote:<br>>> > Hi<br>>> > I have a VC-1 file at Simple profile, medium level, bit rate = 236 kbps.<br>>> > I<br>>> > use the following command to change bit rate and frame rate of file<br>
>> ><br>>> > ffmpeg -i input.wmv -b 128k -r 15 output.wmv<br>>> ><br>>> > When I check the information of output file, it shows a file with MPEG-4<br>>> > Visual format and codec MP43. Is there any way to produce an output file<br>
>> > with the  same VC1 Simple profile, medium level information as input<br>>> > file<br>>> > using ffmpeg?<br>>> ><br>>> > I tried using -f vc1 switch in the command but thats only for having raw<br>
>> > vc1<br>>> > video output.<br>>> ><br>>> > Thanks,<br>>> ><br>>><br>>> Have you tried -vcodec copy? It's in the ffmpeg documentation.<br>>><br>>> Matt<br>
>> ><br>>> > _______________________________________________<br>>> > Libav-user mailing list<br>>> > <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>>> > <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
>> ><br>>> ><br>>> _______________________________________________<br>>> Libav-user mailing list<br>>> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>><br>> _______________________________________________<br>> Libav-user mailing list<br>> <a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>> <a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
><br>><br>_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br><a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br>