Thanks for answering. I recently found that the problem was that I wasn't
creating the context as it was within an "IF" statement that did not return
true. 

Thanks a lot!

Candice


-----Mensaje original-----
De: [email protected] [mailto:[email protected]]
En nombre de Glen Ruedinger
Enviado el: lunes, 02 de agosto de 2010 13:33
Para: Libav* user questions and discussions
Asunto: Re: [libav-user] sws_scale problem!

Hum access violation, are you passing it a proper output buffer?

On Wed, Jul 28, 2010 at 6:44 AM, Candice Seenyen
<[email protected]>wrote:

> Just an additional note: sws_scale with srcSliceY = 0 crashed with the
> error: 0xC0000005: Access violation writing location 0x00000000
>
>
>
>
>
> De: Candice Seenyen [mailto:[email protected]]
> Enviado el: miƩrcoles, 28 de julio de 2010 12:40
> Para: '[email protected]'
> Asunto: sws_scale problem!
>
>
>
> Hi,
>
>
>
> I am trying to capture a live H.264 stream from an IP Camera using ffmpeg
> through opal libraries. I am able to open the stream, get the information
> and decode it seems. However, to be able to display the frame, I need to
> convert the frame to YUV420P using sws_scale. If I put the parameter
> srcSliceY to 0, the function crashes. If I set it to 1 or anything higher,
> the function returns 0 (which is the height of the output, right?).
>
>
>
> Can anybody help me with this issue? I need to be able to display the
> frames, one at a time.
>
>
>
> Is there a different way of converting the format of the frame other than
> sws_scale?
>
>
>
> Thank you for the help!
>
> Candice
>
>
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

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

Reply via email to