Video passthrough play
Posted: Tue Feb 13, 2018 11:51 am
I have installed GIT version of Zoneminder video surveillance application on Slackware machine.
The video from camera is saved as passthrough h.264 format - unmodified video from camera.
I tested play of a short video clip saved by Zoneminder.
Slackware64-14.2 video play applications:
xine - version v0.99.9
Dragon player -version 2.0
Handbrake -version 1.0.3
VLC-2.2.8 and 3.0.0
ffplay-3.4.0 and 3.4.1
all the above failed to play the video clip!
kplayer-0.7.2-x86_64-2 and Mplayer-1.2.1-5.3.0 (SVN from 8.2.2018)- video clip played without complaint
Have no idea, what's the catch.
Video clip info (from mplayer)
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 640x480 24bpp 10.000 fps 161.1 kbps (19.7 kbyte/s)
Clip info:
major_brand: iso5
minor_version: 512
compatible_brands: iso6mp41
title: Zoneminder Security Recording
encoder: Lavf57.83.100
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Video clip info form mediainfo (http://mediaarea.net/en/MediaInfo):
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 1 frame
Format settings, GOP : M=1, N=20
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 45 s 190 ms
Bit rate mode : Variable
Bit rate : 161 kb/s
Maximum bit rate : 1 913 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 10.000 FPS
Minimum frame rate : 9.091 FPS
Maximum frame rate : 11.111 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.052
Stream size : 889 KiB (99%)
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
What bothers me - ffplay failed. This is problematic, since Zoneminder uses ffplay for video processing.
Confirm playing that clip in Zoneminder GUI in Firefox 62.6.0 ESR.
The video from camera is saved as passthrough h.264 format - unmodified video from camera.
I tested play of a short video clip saved by Zoneminder.
Slackware64-14.2 video play applications:
xine - version v0.99.9
Dragon player -version 2.0
Handbrake -version 1.0.3
VLC-2.2.8 and 3.0.0
ffplay-3.4.0 and 3.4.1
all the above failed to play the video clip!
kplayer-0.7.2-x86_64-2 and Mplayer-1.2.1-5.3.0 (SVN from 8.2.2018)- video clip played without complaint
Have no idea, what's the catch.
Video clip info (from mplayer)
[lavf] stream 0: video (h264), -vid 0
VIDEO: [H264] 640x480 24bpp 10.000 fps 161.1 kbps (19.7 kbyte/s)
Clip info:
major_brand: iso5
minor_version: 512
compatible_brands: iso6mp41
title: Zoneminder Security Recording
encoder: Lavf57.83.100
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Video clip info form mediainfo (http://mediaarea.net/en/MediaInfo):
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L3
Format settings : CABAC / 1 Ref Frames
Format settings, CABAC : Yes
Format settings, RefFrames : 1 frame
Format settings, GOP : M=1, N=20
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 45 s 190 ms
Bit rate mode : Variable
Bit rate : 161 kb/s
Maximum bit rate : 1 913 kb/s
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate mode : Variable
Frame rate : 10.000 FPS
Minimum frame rate : 9.091 FPS
Maximum frame rate : 11.111 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.052
Stream size : 889 KiB (99%)
Color range : Full
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
What bothers me - ffplay failed. This is problematic, since Zoneminder uses ffplay for video processing.
Confirm playing that clip in Zoneminder GUI in Firefox 62.6.0 ESR.