Nicolas Krieger wrote:
> 
> Do you think the method I use is the good way to do what I want
> (av_read_frame then av_write_frame) ? If yes, then, there is a bug in my
> programm, but I will keep on this way. 
> 
Yes. 
Good helper to get inside libav* details will be adding some printf's to the
sources to see how it opens files, finds stream info, etc.


Nicolas Krieger wrote:
> 
> I've tried using ffmpeg executable. It does what I want, but a video
> stream
> is destroyed (there are two video streams and one audio stream in the
> original file).
> 

There are plenty of command line options, probably you didn't use all
available ones.
I think, you should learn about -map option.

-- 
View this message in context: 
http://www.nabble.com/how-to-copy-a-video-file-tp19146378p19252183.html
Sent from the libav-users mailing list archive at Nabble.com.

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to