On 29/10/15 17:49, Carl Eugen Hoyos wrote: > MrNice <wxcvbn2006 <at> iol.ie> writes: > >> When I capture some video with the CL >> ./ffmpeg -debug 1 -f v4l2 -ts mono2abs -channel 1 >> -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 >> -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 >> -pix_fmt yuv422p /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv >> -aspect 4:3 -f sdl "Dazzle output" > >> from a S-VHS tape and Dazzle DVC100, I was thinking to >> get an interlaced video file. > > Why? > I mean: How is FFmpeg (or the FFV1 encoder) supposed to know > that your v4l input is interlaced? (And why shouldn't your > S-VHS recording be low-resolution progressive?) > Maybe I miss something but in this case please explain. > > Doesn't removing "-flags +ilme+ildct" from your h264 > command line produces the same output wrt interlacing > as above command line? > Doesn't adding it to the ffv1 command line solve your > issue? > > Carl Eugen >
> Why? Output has [video4linux2,v4l2 @ 0x28d49e0] The V4L2 driver is using the interlaced mode As S-VHS tape player has interlaced output, and I suppose Dazzle converter and v4l keep it as it is. So I suppose FFV1/h264 keep it. Am I wrong? > Doesn't adding it to the ffv1 command line solve your > issue? ./ffmpeg -debug 1 -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -c:v ffv1 -level 3 -g 1 -aspect 4:3 -flags +ilme+ildct -aspect 4:3 -pix_fmt yuv422p /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ffmpeg version N-76232-gabae43a Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 4.100 / 55. 4.100 libavcodec 57. 9.100 / 57. 9.100 libavformat 57. 10.101 / 57. 10.101 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 13.100 / 6. 13.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 matched as AVOption 'debug' with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'. Reading option '-ts' ... matched as AVOption 'ts' with argument 'mono2abs'. Reading option '-channel' ... matched as AVOption 'channel' with argument '1'. Reading option '-video_size' ... matched as AVOption 'video_size' with argument '720x576'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuyv422'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument '/dev/video0'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'ffv1'. Reading option '-level' ... matched as AVOption 'level' with argument '3'. Reading option '-g' ... matched as AVOption 'g' with argument '1'. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-flags' ... matched as AVOption 'flags' with argument '+ilme+ildct'. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '/Store3/Test/t_20151029_1944.mkv' ... matched as output file. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-f' ... matched as option 'f' (force format) with argument 'sdl'. Reading option 'Dazzle output' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file /dev/video0. Applying option f (force format) with argument v4l2. Applying option pix_fmt (set pixel format) with argument yuyv422. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4linux2,v4l2 @ 0x3457a40] fd:3 capabilities:85220001 [video4linux2,v4l2 @ 0x3457a40] Selecting input_channel: 1 [video4linux2,v4l2 @ 0x3457a40] Current input_channel: 1, input_name: S-Video, input_std: ffffff [video4linux2,v4l2 @ 0x3457a40] The V4L2 driver is using the interlaced mode [video4linux2,v4l2 @ 0x3457a40] Current standard: PAL, id: ff, frameperiod: 1/25 [video4linux2,v4l2 @ 0x3457a40] Detected monotonic timestamps, converting [video4linux2,v4l2 @ 0x3457a40] All info found Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1446147861.251192, bitrate: 165888 kb/s Stream #0:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576, 1/1000000, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc Successfully opened the file. Parsing a group of options: output file /Store3/Test/t_20151029_1944.mkv. Applying option c:v (codec name) with argument ffv1. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Last message repeated 1 times Applying option pix_fmt (set pixel format) with argument yuv422p. Successfully parsed a group of options. Opening an output file: /Store3/Test/t_20151029_1944.mkv. Successfully opened the file. Parsing a group of options: output file Dazzle output. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option f (force format) with argument sdl. Successfully parsed a group of options. Opening an output file: Dazzle output. Successfully opened the file. detected 8 logical cores [graph 0 input from stream 0:0 @ 0x3457620] Setting 'video_size' to value '720x576' [graph 0 input from stream 0:0 @ 0x3457620] Setting 'pix_fmt' to value '1' [graph 0 input from stream 0:0 @ 0x3457620] Setting 'time_base' to value '1/1000000' [graph 0 input from stream 0:0 @ 0x3457620] Setting 'pixel_aspect' to value '0/1' [graph 0 input from stream 0:0 @ 0x3457620] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x3457620] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x3457620] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [format @ 0x3471120] compat: called with args=[yuv422p] [format @ 0x3471120] Setting 'pix_fmts' to value 'yuv422p' [auto-inserted scaler 0 @ 0x3472260] Setting 'flags' to value 'bicubic' [auto-inserted scaler 0 @ 0x3472260] w:iw h:ih flags:'bicubic' interl:0 [format @ 0x3471120] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format' [AVFilterGraph @ 0x346f160] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed [auto-inserted scaler 0 @ 0x3472260] w:720 h:576 fmt:yuyv422 sar:0/1 -> w:720 h:576 fmt:yuv422p sar:0/1 flags:0x4 [graph 1 input from stream 0:0 @ 0x3481780] Setting 'video_size' to value '720x576' [graph 1 input from stream 0:0 @ 0x3481780] Setting 'pix_fmt' to value '1' [graph 1 input from stream 0:0 @ 0x3481780] Setting 'time_base' to value '1/1000000' [graph 1 input from stream 0:0 @ 0x3481780] Setting 'pixel_aspect' to value '0/1' [graph 1 input from stream 0:0 @ 0x3481780] Setting 'sws_param' to value 'flags=2' [graph 1 input from stream 0:0 @ 0x3481780] Setting 'frame_rate' to value '25/1' [graph 1 input from stream 0:0 @ 0x3481780] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [AVFilterGraph @ 0x3471040] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed [sdl @ 0x346d980] w:720 h:576 fmt:yuyv422 -> w:720 h:540 Output #0, matroska, to '/Store3/Test/t_20151029_1944.mkv': Metadata: encoder : Lavf57.10.101 Stream #0:0, 0, 1/1000: Video: ffv1, 1 reference frame (FFV1 / 0x31564646), yuv422p, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.9.100 ffv1 Output #1, sdl, to 'Dazzle output': Metadata: encoder : Lavf57.10.101 Stream #1:0, 0, 1/25: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.9.100 rawvideo Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native)) Stream #0:0 -> #1:0 (rawvideo (native) -> rawvideo (native)) Press [q] to stop, [?] for help Cliping frame in rate conversion by 0.000008 [matroska @ 0x3459f40] Writing block at offset 756, size 206728, pts 0, dts 0, duration 40, keyframe 1 [matroska @ 0x3459f40] Starting new cluster at offset 207492 bytes, pts 40dts 40 [matroska @ 0x3459f40] Writing block at offset 207507, size 187953, pts 40, dts 40, duration 40, keyframe 1 Cliping frame in rate conversion by 0.000969 ffprobe -show_frames t_20151029_1944.mkv ffprobe version 2.6.4 Copyright (c) 2007-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 't_20151029_1944.mkv': Metadata: ENCODER : Lavf57.10.101 Duration: 00:00:01.48, start: 0.000000, bitrate: 37710 kb/s Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, SAR 16:15 DAR 4:3, 25 fps, 25 tbr, 1k tbn, 1k tbc (default) Metadata: ENCODER : Lavc57.9.100 ffv1 DURATION : 00:00:01.480000000 [FRAME] media_type=video key_frame=1 pkt_pts=0 pkt_pts_time=0.000000 pkt_dts=0 pkt_dts_time=0.000000 best_effort_timestamp=0 best_effort_timestamp_time=0.000000 pkt_duration=40 pkt_duration_time=0.040000 pkt_pos=760 pkt_size=206728 width=720 height=576 pix_fmt=yuv422p sample_aspect_ratio=16:15 pict_type=I coded_picture_number=0 display_picture_number=0 interlaced_frame=0 top_field_first=0 repeat_pict=0 [/FRAME] Answer is NO > Doesn't removing "-flags +ilme+ildct" from your h264 > command line produces the same output wrt interlacing > as above command line? ./ffmpeg -debug 1 -f v4l2 -ts mono2abs -channel 1 -video_size 720x576 -pix_fmt yuyv422 -thread_queue_size 512 -i /dev/video0 -c:v libx264 -preset slow -qp 0 -aspect 4:3 -pix_fmt yuv422p /Store3/Test/t_`date +%Y%m%d_%H%M`.mkv -aspect 4:3 -f sdl "Dazzle output" ffmpeg version N-76232-gabae43a Copyright (c) 2000-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --enable-libpulse --enable-gpl --enable-libx264 libavutil 55. 4.100 / 55. 4.100 libavcodec 57. 9.100 / 57. 9.100 libavformat 57. 10.101 / 57. 10.101 libavdevice 57. 0.100 / 57. 0.100 libavfilter 6. 13.100 / 6. 13.100 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.100 / 2. 0.100 libpostproc 54. 0.100 / 54. 0.100 matched as AVOption 'debug' with argument '1'. Reading option '-f' ... matched as option 'f' (force format) with argument 'v4l2'. Reading option '-ts' ... matched as AVOption 'ts' with argument 'mono2abs'. Reading option '-channel' ... matched as AVOption 'channel' with argument '1'. Reading option '-video_size' ... matched as AVOption 'video_size' with argument '720x576'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuyv422'. Reading option '-thread_queue_size' ... matched as option 'thread_queue_size' (set the maximum number of queued packets from the demuxer) with argument '512'. Reading option '-i' ... matched as input file with argument '/dev/video0'. Reading option '-c:v' ... matched as option 'c' (codec name) with argument 'libx264'. Reading option '-preset' ... matched as AVOption 'preset' with argument 'slow'. Reading option '-qp' ... matched as AVOption 'qp' with argument '0'. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv422p'. Reading option '/Store3/Test/t_20151029_1954.mkv' ... matched as output file. Reading option '-aspect' ... matched as option 'aspect' (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument '4:3'. Reading option '-f' ... matched as option 'f' (force format) with argument 'sdl'. Reading option 'Dazzle output' ... matched as output file. Finished splitting the commandline. Parsing a group of options: global . Successfully parsed a group of options. Parsing a group of options: input file /dev/video0. Applying option f (force format) with argument v4l2. Applying option pix_fmt (set pixel format) with argument yuyv422. Applying option thread_queue_size (set the maximum number of queued packets from the demuxer) with argument 512. Successfully parsed a group of options. Opening an input file: /dev/video0. [video4linux2,v4l2 @ 0x2200960] fd:3 capabilities:85220001 [video4linux2,v4l2 @ 0x2200960] Selecting input_channel: 1 [video4linux2,v4l2 @ 0x2200960] Current input_channel: 1, input_name: S-Video, input_std: ffffff [video4linux2,v4l2 @ 0x2200960] The V4L2 driver is using the interlaced mode [video4linux2,v4l2 @ 0x2200960] Current standard: PAL, id: ff, frameperiod: 1/25 [video4linux2,v4l2 @ 0x2200960] Detected monotonic timestamps, converting [video4linux2,v4l2 @ 0x2200960] All info found Input #0, video4linux2,v4l2, from '/dev/video0': Duration: N/A, start: 1446148444.284251, bitrate: 165888 kb/s Stream #0:0, 1, 1/1000000: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576, 1/1000000, 165888 kb/s, 25 fps, 25 tbr, 1000k tbn, 1000k tbc Successfully opened the file. Parsing a group of options: output file /Store3/Test/t_20151029_1954.mkv. Applying option c:v (codec name) with argument libx264. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option pix_fmt (set pixel format) with argument yuv422p. Successfully parsed a group of options. Opening an output file: /Store3/Test/t_20151029_1954.mkv. Successfully opened the file. Parsing a group of options: output file Dazzle output. Applying option aspect (set aspect ratio (4:3, 16:9 or 1.3333, 1.7777)) with argument 4:3. Applying option f (force format) with argument sdl. Successfully parsed a group of options. Opening an output file: Dazzle output. Successfully opened the file. detected 8 logical cores [graph 0 input from stream 0:0 @ 0x2200420] Setting 'video_size' to value '720x576' [graph 0 input from stream 0:0 @ 0x2200420] Setting 'pix_fmt' to value '1' [graph 0 input from stream 0:0 @ 0x2200420] Setting 'time_base' to value '1/1000000' [graph 0 input from stream 0:0 @ 0x2200420] Setting 'pixel_aspect' to value '0/1' [graph 0 input from stream 0:0 @ 0x2200420] Setting 'sws_param' to value 'flags=2' [graph 0 input from stream 0:0 @ 0x2200420] Setting 'frame_rate' to value '25/1' [graph 0 input from stream 0:0 @ 0x2200420] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [format @ 0x2210c00] compat: called with args=[yuv422p] [format @ 0x2210c00] Setting 'pix_fmts' to value 'yuv422p' [auto-inserted scaler 0 @ 0x22115e0] Setting 'flags' to value 'bicubic' [auto-inserted scaler 0 @ 0x22115e0] w:iw h:ih flags:'bicubic' interl:0 [format @ 0x2210c00] auto-inserting filter 'auto-inserted scaler 0' between the filter 'Parsed_null_0' and the filter 'format' [AVFilterGraph @ 0x2206dc0] query_formats: 4 queried, 2 merged, 1 already done, 0 delayed [auto-inserted scaler 0 @ 0x22115e0] w:720 h:576 fmt:yuyv422 sar:0/1 -> w:720 h:576 fmt:yuv422p sar:0/1 flags:0x4 [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'video_size' to value '720x576' [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'pix_fmt' to value '1' [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'time_base' to value '1/1000000' [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'pixel_aspect' to value '0/1' [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'sws_param' to value 'flags=2' [graph 1 input from stream 0:0 @ 0x2220f80] Setting 'frame_rate' to value '25/1' [graph 1 input from stream 0:0 @ 0x2220f80] w:720 h:576 pixfmt:yuyv422 tb:1/1000000 fr:25/1 sar:0/1 sws_param:flags=2 [AVFilterGraph @ 0x2211c60] query_formats: 3 queried, 2 merged, 0 already done, 0 delayed [libx264 @ 0x22041a0] using mv_range_thread = 24 [libx264 @ 0x22041a0] using SAR=16/15 [libx264 @ 0x22041a0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX XOP FMA4 LZCNT [libx264 @ 0x22041a0] profile High 4:4:4 Predictive, level 3.0, 4:2:2 8-bit [libx264 @ 0x22041a0] 264 - core 142 r2495 6a301b6 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=5 deblock=1:0:0 analyse=0x1:0x111 me=umh subme=8 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0 [sdl @ 0x2204ba0] w:720 h:576 fmt:yuyv422 -> w:720 h:540 Output #0, matroska, to '/Store3/Test/t_20151029_1954.mkv': Metadata: encoder : Lavf57.10.101 Stream #0:0, 0, 1/1000: Video: h264 (libx264), -1 reference frame (H264 / 0x34363248), yuv422p, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=-1--1, 25 fps, 1k tbn, 25 tbc Metadata: encoder : Lavc57.9.100 libx264 Output #1, sdl, to 'Dazzle output': Metadata: encoder : Lavf57.10.101 Stream #1:0, 0, 1/25: Video: rawvideo, 1 reference frame (YUY2 / 0x32595559), yuyv422, 720x576 [SAR 16:15 DAR 4:3], 1/25, q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc Metadata: encoder : Lavc57.9.100 rawvideo Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264)) Stream #0:0 -> #1:0 (rawvideo (native) -> rawvideo (native)) Press [q] to stop, [?] for help Cliping frame in rate conversion by 0.000008 Cliping frame in rate conversion by 0.001869 Cliping frame in rate conversion by 0.000343 Cliping frame in rate conversion by 0.002174 Cliping frame in rate conversion by 0.002312 Cliping frame in rate conversion by 0.002419 Cliping frame in rate conversion by 0.002647 Cliping frame in rate conversion by 0.002739 Cliping frame in rate conversion by 0.002846 Cliping frame in rate conversion by 0.000740 Cliping frame in rate conversion by 0.000847 Cliping frame in rate conversion by 0.003242 Cliping frame in rate conversion by 0.003349 Cliping frame in rate conversion by 0.003395 [libx264 @ 0x22041a0] frame= 0 QP=0.00 NAL=3 Slice:I Poc:0 I:1620 P:0 SKIP:0 size=180392 bytes [matroska @ 0x2202ea0] Writing block at offset 722, size 180922, pts 0, dts 0, duration 40, keyframe 1 Cliping frame in rate conversion by 0.003441 ffprobe -show_frames t_20151029_1954.mkv ffprobe version 2.6.4 Copyright (c) 2007-2015 the FFmpeg developers built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect libavutil 54. 20.100 / 54. 20.100 libavcodec 56. 26.100 / 56. 26.100 libavformat 56. 25.101 / 56. 25.101 libavdevice 56. 4.100 / 56. 4.100 libavfilter 5. 11.102 / 5. 11.102 libavresample 2. 1. 0 / 2. 1. 0 libswscale 3. 1.101 / 3. 1.101 libswresample 1. 1.100 / 1. 1.100 libpostproc 53. 3.100 / 53. 3.100 Input #0, matroska,webm, from 't_20151029_1954.mkv': Metadata: ENCODER : Lavf57.10.101 Duration: 00:00:01.16, start: 0.000000, bitrate: 32281 kb/s Stream #0:0: Video: h264 (High 4:4:4 Predictive), yuv422p, 720x576 [SAR 16:15 DAR 4:3], 25 fps, 25 tbr, 1k tbn, 50 tbc (default) Metadata: ENCODER : Lavc57.9.100 libx264 DURATION : 00:00:01.160000000 [FRAME] media_type=video key_frame=1 pkt_pts=0 pkt_pts_time=0.000000 pkt_dts=0 pkt_dts_time=0.000000 best_effort_timestamp=0 best_effort_timestamp_time=0.000000 pkt_duration=N/A pkt_duration_time=N/A pkt_pos=726 pkt_size=180923 width=720 height=576 pix_fmt=yuv422p sample_aspect_ratio=16:15 pict_type=I coded_picture_number=0 display_picture_number=0 interlaced_frame=0 top_field_first=0 repeat_pict=0 [/FRAME] Output says interlaced_frame=0 _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user