Skip to content

Vertically Squished Video #76

@justinchevrier

Description

@justinchevrier

I've run into an issue using a BC-H16480A card. The encoders (I've tried the first 2 or 3) all output video that is squished vertically so that it only takes up about half the proper height and the remainder is filled with corruption/grey space. This happens in Zoneminder (1.28.0) as well as ffmpeg (version 2.6.1) with both H264 and MJPEG. I'm running code from head, but I've also tried going to back 2.4.11 with no change. Kernel version is 3.18.9 on AMD64 and the distribution is Gentoo. Cameras are NTSC at 704x480 resolution. I've been able to apply video filters via ffmpeg to crop and stretch the image, but I'm not sure if I'm losing detail, it looks not too bad though. Here is the command I used to do this:

ffmpeg -f v4l2 -input_format h264 -standard ntsc-m -s 704x480 -i /dev/video1 -vf "crop=704:240:0:0",scale=iw:ih*2 test.mp4

Screenshot:
00001-capture

Thoughts?

Thanks guys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions