Hi, I'm trying to decode + display a video stream from an IR-camera.
The RTSP/RDP/SDP/RDCP/*insert random protocol* madness is dealt with using live555. I can dump the raw stream data to a file. You can take a look at a few seconds of streaming results here:
http://roggisch.de/camera.output The file-command identifies this as mac-dir:CocoaPlayer deets$ file /tmp/camera.output /tmp/camera.output: MPEG sequence, v4, video, simple @ L3 So I tried so set up a decoder + feed the data into it: av_register_all(); pCodec = avcodec_find_decoder(CODEC_ID_MSMPEG4V3); pCodecCtx = avcodec_alloc_context(); avcodec_open(pCodecCtx, pCodec) pFrame=avcodec_alloc_frame(); stream-read callback: int err = avcodec_decode_video(pCodecCtx, pFrame, &frameFinished, buffer, frameSize); The last call fails, with this output on console: [msmpeg4 @ 0x1815200] invalid qscale [msmpeg4 @ 0x1815200] header damaged Any help whatsoever is greatly appreciatied. Thanks, Diez _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
