ffmpeg-python
ffmpeg-python copied to clipboard
Unable to run ffmpeg- python file
stream = ffmpeg.input('C:/My_Work_Quixy/yolov5_final/yolov5_env/runs/detect/exp/Crossroads.mp4')
stream = ffmpeg.output(input,'C:/My_Work_Quixy/yolov5_final/yolov5_env/data/video_outputs/out.h264')
ffmpeg.run(stream)
this is my code everything is correct still showing error, here i need to convert mp4 file to H264 so thta i can run it in streamlit(since extracted video using yolov5 is unable to run) , TypeError: Expected incoming stream(s) to be of one of the following types: ffmpeg.nodes.FilterableStream; got <class 'builtin_function_or_method'>