tzwenn / pyh264decode

Decode H.264 packets with external avcC to YUV frames
Other
30 stars 6 forks source link

compatible with python 3.6 and ffmpeg(libavcodec 57 and libavutil 55). how to use? #8

Open Wen-lee opened 7 years ago

Wen-lee commented 7 years ago

Hi, I'm a newbie with ffmpeg. I changed your code to compatible with python 3.6 and ffmpeg 3.3.1(libavcodec 57 and libavutil 55). But I didnot know how to use it. In your guidence(Usage), where is the avccPacket and frameGenerator came from? Please give more detail. Thanks in advance! Wen Lee

Wen-lee commented 7 years ago

PythonWin 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32. Portions Copyright 1994-2008 Mark Hammond - see 'Help/About PythonWin' for further copyright information.

import h264decode help(h264decode) Help on module themodulename:

NAME themodulename - This is a module

CLASSES builtins.object h264decode.Decoder h264decode.YUVFrame