[FFmpeg-user] ffplay and a cctv file
John Sheehan
john.d.sheehan at gmail.com
Mon Oct 23 01:44:48 EEST 2017
Hi,
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?dl=0
Thank you,
John
output from ffplay,
: air 0 %; ffplay -v 9 -loglevel 99 cctv.sample
ffplay version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2003-2017 the FFmpeg
developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1
--build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl
--enable-shared --disable-stripping --disable-decoder=libopenjpeg
--disable-decoder=libschroedinger --enable-avresample --enable-avisynth
--enable-gnutls --enable-ladspa --enable-libass --enable-libbluray
--enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame
--enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp
--enable-libschroedinger --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora
--enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack
--enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi
--enable-openal --enable-opengl --enable-x11grab --enable-libdc1394
--enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264
--enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Probing h264 score:51 size:16384 0KB vq= 0KB sq= 0B f=0/0
Probing mp3 score:1 size:16384
[h264 @ 0x7fefc8009280] Format h264 probed with size=16384 and score=51
[h264 @ 0x7fefc8009280] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0
Invalid UE golomb code
[h264 @ 0x7fefc80073c0] Unknown NAL code: 0 (276 bits)
[h264 @ 0x7fefc80073c0] Unknown NAL code: 0 (6292 bits)
[h264 @ 0x7fefc80073c0] Unknown NAL code: 0 (0 bits)
Invalid UE golomb code
[h264 @ 0x7fefc80073c0] left block unavailable for requested intra mode at
0 24
[h264 @ 0x7fefc80073c0] error while decoding MB 0 24, bytestream 20873
[h264 @ 0x7fefc80073c0] concealing 577 DC, 577 AC, 577 MV errors in I frame
Invalid UE golomb code
Last message repeated 4 times
[h264 @ 0x7fefc8009280] 0: start_time: -9223372036854.775 duration:
-9223372036854.775
[h264 @ 0x7fefc8009280] stream: start_time: -9223372036854.775 duration:
-9223372036854.775 bitrate=0 kb/s
[h264 @ 0x7fefc8009280] After avformat_find_stream_info() pos: 1048576
bytes read:1048576 seeks:0 frames:120
Input #0, h264, from 'cctv.sample':
Duration: N/A, bitrate: N/A
Stream #0:0, 120, 1/1200000: Video: h264 (High), 1 reference frame,
yuv420p(left), 704x576, 1/60, 30 fps, 30 tbr, 1200k tbn, 60 tbc
detected 4 logical cores
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (276 bits)
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (6292 bits)
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (0 bits)
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (276 bits)
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (6292 bits)
[h264 @ 0x7fefc8260500] Unknown NAL code: 0 (0 bits)
Invalid UE golomb code
[h264 @ 0x7fefc8260500] left block unavailable for requested intra mode at
0 24
[h264 @ 0x7fefc8260500] error while decoding MB 0 24, bytestream 20873
[h264 @ 0x7fefc8260500] concealing 577 DC, 577 AC, 577 MV errors in I frame
Video frame changed from size:0x0 format:none serial:-1 to size:704x576
format:yuv420p serial:1
[ffplay_buffer @ 0x7fefc009e220] Setting 'video_size' to value '704x576'
[ffplay_buffer @ 0x7fefc009e220] Setting 'pix_fmt' to value '0'
[ffplay_buffer @ 0x7fefc009e220] Setting 'time_base' to value '1/1200000'
[ffplay_buffer @ 0x7fefc009e220] Setting 'pixel_aspect' to value '0/1'
[ffplay_buffer @ 0x7fefc009e220] Setting 'frame_rate' to value '60/2'
[ffplay_buffer @ 0x7fefc009e220] w:704 h:576 pixfmt:yuv420p tb:1/1200000
fr:60/2 sar:0/1 sws_param:
[ffplay_crop @ 0x7fefc009fa20] Setting 'out_w' to value 'floor(in_w/2)*2'
[ffplay_crop @ 0x7fefc009fa20] Setting 'out_h' to value 'floor(in_h/2)*2'
[AVFilterGraph @ 0x7fefc009ec80] query_formats: 3 queried, 2 merged, 0
already done, 0 delayed
[ffplay_crop @ 0x7fefc009fa20] w:704 h:576 sar:0/1 -> w:704 h:576 sar:0/1
[ffplay_crop @ 0x7fefc009fa20] n:0 t:nan pos:0.000000 x:0 y:0 x+w:704
y+h:576
[ffplay_crop @ 0x7fefc009fa20] n:1 t:nan pos:69568.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
[ffplay_crop @ 0x7fefc009fa20] n:2 t:nan pos:73532.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 1 times
[ffplay_crop @ 0x7fefc009fa20] n:3 t:nan pos:81392.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 1 times
[ffplay_crop @ 0x7fefc009fa20] n:4 t:nan pos:86244.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:5 t:nan pos:93264.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:6 t:nan pos:98972.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:7 t:nan pos:105960.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:8 t:nan pos:111652.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:9 t:nan pos:118616.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:10 t:nan pos:124380.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:11 t:nan pos:131160.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:12 t:nan pos:136852.000000 x:0 y:0 x+w:704
y+h:576
video: delay=0.033 A-V=-nan
Last message repeated 3 times
[ffplay_crop @ 0x7fefc009fa20] n:13 t:nan pos:143
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot.png
Type: image/png
Size: 698693 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20171022/bab1d2f5/attachment.png>
More information about the ffmpeg-user
mailing list