hi all

i try to decode h264-video in directshow filter, but avcodec_decode_video always return error

but if i open video like this

  av_open_input_file ( FFormatCtx, ...
  av_find_stream_info ( FFormatCtx ...
  FVideoDecoder := avcodec_find_decoder(FFormatCtx.streams ...
  avcodec_open ( FFormatCtx.streams [FVideoIdx].codec, FVideoDecoder ...
  ...
  r := avcodec_decode_video2 ( FFormatCtx.streams [FVideoIdx].codec ...

- decoding works

clearly av_find_stream_info make some initialization for decoding, but how to initialize decoder if i get only encoded data?


wbr, Victor

p.s. sorry for my english

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

Reply via email to