[FFmpeg-user] Error read format to my program.

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Feb 24 18:13:49 EET 2019


2019-02-22 17:19 GMT+01:00, ABDALLAH Moussa <Moussa.ABDALLAH at nexeya.com>:

> I don't know if it's the good place to ask that but I have a problem with my
> program. It's a program to try to save a stream video from an ip camera to a
> file. When I try to execute my program this is the error that's returns on
> the console :
>
> [root at localhost Téléchargements]# ./my_streamer
> [ingenient @ 0xbeec60] Could not find codec parameters for stream 0

This indicates that either you don't feed the input data into the demuxer
or that your libavformat version is old.

[...]

> Is there a way to force the program to read a mjpeg video
> if it don't find it ?

Note that (as you can see from the console output you posted)
that your input is not mjpeg format.

Please use the correct mailing list, Carl Eugen


More information about the ffmpeg-user mailing list