<div dir="ltr">Hello,<br>I would like to decode a video file and then encode it in h264.<br>I have gone through the Example: encoding_decoding.c, demuxing.c, muxing.c and examples from <a href="http://dranger.com">dranger.com</a>. <br>
demuxing.c example was quite helpful, as using it i could decode a video from "file" into rawvideo. But, other examples only generated dummy data to encode these "dummy data" into a video file. <br><br>
So, please someone help me on this, so i can read data from a file (not generate some dummy data), decode it into rawvideo, then read rawvideo and encode it in a separate codec like h264.<br><br>Flow: video in a specific codec ----------> rawvideo   (decode)<div>
<br></div><div>        rawvideo ------------------------> video in h264     (encode)</div><div><br></div><div><br></div><div>Thanks in advance<br clear="all"><div><br></div>-- <br>MD. Tanjim Hossain Sifat<br>Bangladesh University of Engineering and Technology,<br>
Dhaka<br>
</div></div>