I found dump_format() function (not av_dump_format() ) among ffmpeg source codes : dump_format(ic, 0, is->filename, 0);<br>but i would be pleased if you let me know how can i find a tutorial which shows how can i use the function ? and which header should be included?<br>
<br>BTW i need to extract raw pictures from any video as input which i can achieve this by the below command :<br>
<p class="MsoNormal"><b><span style="color:#339966">ffmpeg -i input.avi -r 1 –f </span><span style="color:red">image2</span><span style="color:#339966"> </span><span style="color:maroon">–vcodec rawvideo</span></b> <b><span style="color:blue">-pix_fmt
yuvj420p</span><span style="color:#339966"> Img-%03d.yuv</span></b></p>
can you advice how can i achieve this in my c program? (I know that i can run the command by popen() or sytem(), but i think there are some functions that can do this for me too)<br><br><div class="gmail_quote">On Tue, Jul 5, 2011 at 3:25 PM, Clément Bœsch <span dir="ltr"><<a href="mailto:ubitux@gmail.com">ubitux@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Tue, Jul 05, 2011 at 02:13:14PM +1000, Amir Rouhi-Rmit wrote:<br>
> Hellow everybody<br>
> How can i get the basic info of any video file which i need by ffmpeg? the<br>
> information i need i just frame size and length of video. using below<br>
> command seems not standard:<br>
> ffmpeg -i "path of input video"<br>
<br>
</div>Yes, ffprobe is more appropriate.<br>
<div class="im"><br>
> BTW is there any function in ffmpeg to call it in my c program to get my<br>
> information? if yes whats the name and the method of calling the function?<br>
><br>
<br>
</div>av_dump_format()<br>
<font color="#888888"><br>
--<br>
Clément B.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br><div>Amir H. Rouhi</div>
<div>PhD Student/ CSIT RMIT University</div>
<div>Room: 14-09-04</div>
<div><a href="mailto:rouhi_amirhossein@student.rmit.edu.au" target="_blank">rouhi_amirhossein@student.rmit.edu.au</a></div>
<div><a href="mailto:amir.rouhi@rmit.edu.au" target="_blank">amir.rouhi@rmit.edu.au</a></div>
<div> </div><br>