[FFmpeg-user] ffplay and a cctv file

John Sheehan john.d.sheehan at gmail.com
Thu Oct 26 00:58:23 EEST 2017


On Tue, Oct 24, 2017 at 2:01 AM, <> wrote:

> 2017-10-23 0:44 GMT+02:00 John Sheehan <john.d.sheehan at gmail.com>:
>
> > I have a cctv data file (h264, I think) and when I try to play it with
> > ffplay the bottom half of the video is corrupted. Is there some command
> > line options which will enable playing if?
> >
> > I have attached a screenshot and uploaded a 1MB sample to
> > https://www.dropbox.com/s/8n8s40mz5zrw7jj/cctv.sample
>
> Which player plays the sample better?
>
I tried ffplay, built from ffmpeg-snapshot. Same result, the bottom of the
video appears corrupted

: air 0 %;  ./ffmpeg/bin/ffplay ./cctv.sample
ffplay version N-88140-g953d55f Copyright (c) 2003-2017 the FFmpeg
developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
  configuration: --prefix=/home/sheehan/ffmpeg/build
--pkg-config-flags=--static
--extra-cflags=-I/home/sheehan/ffmpeg/build/include
--extra-ldflags=-L/home/sheehan/ffmpeg/build/lib
--bindir=/home/sheehan/ffmpeg/bin --enable-gpl --enable-libfreetype
--enable-libx264 --enable-nonfree
  libavutil      56.  0.100 / 56.  0.100
  libavcodec     58.  0.100 / 58.  0.100
  libavformat    58.  0.100 / 58.  0.100
  libavdevice    58.  0.100 / 58.  0.100
  libavfilter     7.  0.100 /  7.  0.100
  libswscale      5.  0.100 /  5.  0.100
  libswresample   3.  0.100 /  3.  0.100
  libpostproc    55.  0.100 / 55.  0.100
[h264 @ 0x7fabd8001f00] left block unavailable for requested intra mode
[h264 @ 0x7fabd8001f00] error while decoding MB 0 24, bytestream 20873
[h264 @ 0x7fabd8001f00] concealing 577 DC, 577 AC, 577 MV errors in I frame
Input #0, h264, from './cctv.sample':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 704x576, 30 fps,
30 tbr, 1200k tbn, 60 tbc
[h264 @ 0x7fabd8005260] left block unavailable for requested intra mode
[h264 @ 0x7fabd8005260] error while decoding MB 0 24, bytestream 20873
[h264 @ 0x7fabd8005260] concealing 577 DC, 577 AC, 577 MV errors in I frame
[h264 @ 0x7fabd83fd880] left block unavailable for requested intra mode
[h264 @ 0x7fabd83fd880] error while decoding MB 0 25, bytestream 18573
[h264 @ 0x7fabd83fd880] concealing 533 DC, 533 AC, 533 MV errors in I frame
[h264 @ 0x7fabd83fd880] left block unavailable for requested intra4x4 mode
-1
[h264 @ 0x7fabd83fd880] error while decoding MB 0 25, bytestream 17217
[h264 @ 0x7fabd83fd880] concealing 533 DC, 533 AC, 533 MV errors in I frame
[h264 @ 0x7fabd83fd880] left block unavailable for requested intra mode
[h264 @ 0x7fabd83fd880] error while decoding MB 0 24, bytestream 21581
[h264 @ 0x7fabd83fd880] concealing 577 DC, 577 AC, 577 MV errors in I frame
[h264 @ 0x7fabd83fd880] left block unavailable for requested intra4x4 mode
-1
[h264 @ 0x7fabd83fd880] error while decoding MB 0 24, bytestream 20499
[h264 @ 0x7fabd83fd880] concealing 577 DC, 577 AC, 577 MV errors in I frame
[h264 @ 0x7fabd83fd880] error while decoding MB 27 13, bytestream -18
[h264 @ 0x7fabd83fd880] concealing 1034 DC, 1034 AC, 1034 MV errors in I
frame
    nan M-V:    nan fd=   0 aq=    0KB vq=    0KB sq=    0B f=0/0




> How did you create the file?
>
I connect to the cctv dvr port and request a stream. I write the data to
file. cctv.sample
is an example of that datafile.



> Please remember that only current FFmpeg git head is supported here,
> Carl Eugen
>


More information about the ffmpeg-user mailing list