Jan Pohanka <xhpohanka@...> writes: > I'm muxing a raw h264 stream from hadrdware encoder to mkv using > libavformat library. The resulting file is playable, but not properly > seekable I'm testing it in ffplay - moving to certains times causes the > image to disappear or break and there are these warnings: > [h264 @ 0x7f3298008500] Missing reference picture > [h264 @ 0x7f3298008500] decode_slice_header error > > I think that the problem does not lie in the encoded stream, > because when I try a following sequence on the file > ffmpeg -i vtest.mkv -vcodec copy -f rawvideo vtest.h264 > ffmpeg -i vtest.h264 -vcodec copy vtest2.mkv > the resulting vtest2.mkv is then seekable without any problems
What happens if you use ffmpeg to mux the hardware-generated h264 file into mkv: $ ffmpeg -i hardware.h264 -vcodec copy test.mkv Is the resulting file seekable? Could you provide a file that does not allow keyframe-seeking? I am curious if the decoding can be fixed. Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
