2008/9/1, Vladimir Eremeev <[EMAIL PROTECTED]>:
>
>
>
> 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.
>


Thank you all. I have managed using -newvideo option. But I think I'll
continue trying doing it by myself. I think the problem is
packet.stream_index, I haven't done anything for it in my program.

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

Reply via email to