I'm working on a simple media streaming service and need to write a video
archive from h264 rtsp stream.

In current implementation rtsp stream is written as-is into a series of mp4
files, one minute each. When current output file reaches it's length, I
simply close it and then open a new one, write file header and continue
pushing packets into a new file (with some timestamp magic). And it works
rather reliable for most sources.

But here is the problem: with some sources I get the error message
"unspecified pixel format" (with ffprobe) for every resulting file after the
first one. During execution libav display the format correctly.
So here is the question: How can I manually specify the pixel format for
each fragment after the first one, ideally, without any transcoding?

Thanks,
Alexander Yushkov

_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to