ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

loading bytes object failed.

Open fake-warrior8 opened this issue 2 years ago • 1 comments

Hi, I used the command used in Memory file -> numpy -> memory file #156,

input_data = client.get()  # bytes object
decode = (
                ffmpeg
                .input('pipe:')
                .output('pipe:')
                .get_args()
            )
output_data = p.communicate(input=input_data)[0]

However, I get some errors.

1. Could not find codec parameters for stream 0 (Video: mpeg4 (mp4v / 0x7634706D), none, 210 kb/s): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options

2. [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55ee01839e80] stream 0, offset 0x1bc655: partial file
pipe:: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!

How to solve these problems?

fake-warrior8 avatar Aug 02 '22 13:08 fake-warrior8

Hello, have you been able to solve this issue?

gvidaspr avatar Dec 05 '23 10:12 gvidaspr