2008/3/6, hic -99 <[EMAIL PROTECTED]>:
>
>
>
> step 2 i changed tutorial08.c like this:
> after the funtion av_read_frame:
>
> av_read_frame(is->pFormatCtx, packet)
>   crypt_packet(pkt , pkt->size);


Well, my guess is that av_read_frame doesn't work as expected because it
can't understand your encrypted data. av_read_frame will give you one frame
(our an integer number of frames) according to
http://www.dranger.com/ffmpeg/functions.html#av_read_frame
But if you encrypt your data, it can't know where it should find the
beginning or end of a frame.

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

Reply via email to