Discussion:
[MPlayer-users] Raspberry Pi video sample
Oliver Seitz
2016-11-30 08:43:27 UTC
Permalink
Hi!

While VLC plays this file, I cant get mplayer to play it. Are there any
secret switches which I should press?

It's recorded from the raspberry pi camera using

raspivid -b 10000000 -fps 30 -o raspivid_output.h264 -t 300000 -pts

The existing file was then truncated using dd.

Greets,
Kiste


Sample file (10MB):
https://cloud.1und1.de/ngcloud/external?guestToken=xMP9oKnTRQCri_PWDJhaLg&loginName=313544263

mplayer output:

#>mplayer raspivid_output.h264
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
FPS not specified in the header or invalid, use the -fps option.
MPlayer SVN-r37905-4.8 (C) 2000-2016 MPlayer Team

Playing raspivid_output.h264.
libavformat version 57.58.101 (internal)
H264-ES file format detected.
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.



MPlayer interrupted by signal 13 in module: init_video_codec


And on stderr (truncated):

mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.
FPS not specified in the header or invalid, use the -fps option.
[h264 @ 0x7f74f0cf1080]No start code is found.
[h264 @ 0x7f74f0cf1080]Error splitting the input into NAL units.
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]non-existing PPS 0 referenced
[h264 @ 0x7f74f0cf1080]decode_slice_header error
[h264 @ 0x7f74f0cf1080]no frame!
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]non-existing PPS 0 referenced
[h264 @ 0x7f74f0cf1080]decode_slice_header error
[h264 @ 0x7f74f0cf1080]no frame!
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]non-existing PPS 0 referenced
[h264 @ 0x7f74f0cf1080]decode_slice_header error
[h264 @ 0x7f74f0cf1080]no frame!
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]No start code is found.
[h264 @ 0x7f74f0cf1080]Error splitting the input into NAL units.
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]No start code is found.
[h264 @ 0x7f74f0cf1080]Error splitting the input into NAL units.
Error while decoding frame!
[h264 @ 0x7f74f0cf1080]non-existing PPS 0 referenced
[h264 @ 0x7f74f0cf1080]decode_slice_header error
[h264 @ 0x7f74f0cf1080]no frame!
Error while decoding frame!
Carl Eugen Hoyos
2016-11-30 09:24:00 UTC
Permalink
Post by Oliver Seitz
https://cloud.1und1.de/ngcloud/external?guestToken=xMP9oKnTRQCri_PWDJhaLg&loginName=313544263
Doesn't work here.
Post by Oliver Seitz
FPS not specified in the header or invalid, use the -fps option.
Did you try this?

Carl Eugen
Oliver Seitz
2016-11-30 09:30:16 UTC
Permalink
Post by Carl Eugen Hoyos
Post by Oliver Seitz
FPS not specified in the header or invalid, use the -fps option.
Did you try this?
Oh my god. Stupid me. It really does work. I was so sure that mplayer
would assume 25 or 30 fps that I indeed did not try setting it manually.

Thanks for helping a noob which uses mplayer for over a decade...

Kiste
Rasz
2016-11-30 11:00:52 UTC
Permalink
Post by Oliver Seitz
https://cloud.1und1.de/ngcloud/external?guestToken=xMP9oKnTRQCri_PWDJhaLg&loginName=313544263
works fine under windows and slighlt older build
MPlayer Redxii-SVN-r37594-4.9.3 (x86_64) (C) 2000-2016 MPlayer Team
--
Who logs in to gdm? Not I, said the duck.
Loading...