gaggio
Posts: 22
Joined: Sat Jun 08, 2013 6:44 pm

OMXplayer not able to play camera board videos

Mon Nov 02, 2015 1:19 pm

Hi,
I just started with a fresh install of raspbian jessie on a Raspi2, and a strange issue happens with omxplayer.
While it is able to play correctly random videos of different sources, I can't make it play correcly raw h264 videos from the camera module. No error message dumped to the terminal, I just see a green-ish noisy image which barely resembles the original scene. This happens both with videos acquired by the same raspi2 with the same camera but on a previous installation (wheezy) and with newly recorded videos. I was able to correcly play the videos on wheezy.
It is quite disturbing that when I process the videos with opencv and then plot the frames, they look correct, this confirms that the data is not corrupted.

Any clue?

Thanks

gaggio
Posts: 22
Joined: Sat Jun 08, 2013 6:44 pm

Re: OMXplayer not able to play camera board videos

Tue Dec 08, 2015 1:15 am

I clarified thgat the problemi is not omxplayer. It seems that recording in python with picamera package corrupts the data. The same camera on the same system produces good videos through raspivid.
Is there any known bug and solution?

Thanks

gaggio
Posts: 22
Joined: Sat Jun 08, 2013 6:44 pm

Re: OMXplayer not able to play camera board videos

Mon Dec 14, 2015 10:38 pm

Other news: while trying to process one of those badly encoded videos, I found that the I-frames are correctly encoded. For example, if I set intra_period=30, the first frame is ok, then the net 29 frames are not valid, and the 31st frame is again ok.

Anyone has suggestions?

Return to “Camera board”