[FFmpeg-user] FFv1 interlaced
Peter B.
pb at das-werkstatt.com
Mon May 27 08:56:10 CEST 2013
Hello,
I wanted to compare FFv1's compression between interlaced and
progressive mode, but the output-files' MD5 checksums are identical.
The documentation I found online only mentions "ilme" and "ildct" [1],
which I presume are meant for lossy encoding. Tim Nicholson once
mentioned to use "-top 0/1" to enable interlaced encoding.
However, the files produced with and without "-top" produce identical files:
-------------
77d97dc84a5b62b493526576f1804e98 output-bff.nut
77d97dc84a5b62b493526576f1804e98 output-progressive.nut
77d97dc84a5b62b493526576f1804e98 output-tff.nut
-------------
Since Derf's collection only contains deinterlaced material, I've chosen
to use interlaced Digibeta material from our archive [2].
Am I missing any flag, or doing something else wrong?
Any hints/info appreciated.
Thank you very much,
Peter B.
== References:
[1]
http://ffmpeg.org/faq.html#Interlaced-video-looks-very-bad-when-encoded-with-ffmpeg_002c-what-is-wrong_003f
[2] http://ffmpeg.org/pipermail/ffmpeg-devel/2013-February/138882.html
[3]
http://download.das-werkstatt.com/pb/mthk/FFv1-Examples/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi
Used commandline and complete, uncut console output here:
//---------------------------
$ ffmpeg_git -i
/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi
-an -vcodec ffv1 -level 3 -strict experimental -slices 24 -coder 0
-context 0 -g 1 output-progressive.nut
//---------------------------
ffmpeg version N-53487-g53ec1c8 Copyright (c) 2000-2013 the FFmpeg
developers
built on May 27 2013 08:48:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 70.101 / 3. 70.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0x168ef40] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from
'/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi':
Metadata:
date : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf52.111.0
Duration: 00:01:00.00, start: 0.000000, bitrate: 79300 kb/s
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, 25
tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Output #0, nut, to 'output-progressive.nut':
Metadata:
X-CreationTime : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf55.7.100
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576,
q=2-31, 200 kb/s, 51200 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (ffv1 -> ffv1)
Press [q] to stop, [?] for help
frame= 1500 fps=111 q=-1.0 Lsize= 580683kB time=00:01:00.00
bitrate=79282.6kbits/s
video:580631kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.008949%
//---------------------------
$ ffmpeg_git -i
/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi
-an -vcodec ffv1 -level 3 -strict experimental -slices 24 -coder 0
-context 0 -g 1 -top 0 output-bff.nut
//---------------------------
ffmpeg version N-53487-g53ec1c8 Copyright (c) 2000-2013 the FFmpeg
developers
built on May 27 2013 08:48:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 70.101 / 3. 70.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0x2144f40] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from
'/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi':
Metadata:
date : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf52.111.0
Duration: 00:01:00.00, start: 0.000000, bitrate: 79300 kb/s
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, 25
tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Output #0, nut, to 'output-bff.nut':
Metadata:
X-CreationTime : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf55.7.100
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576,
q=2-31, 200 kb/s, 51200 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (ffv1 -> ffv1)
Press [q] to stop, [?] for help
frame= 1500 fps=110 q=-1.0 Lsize= 580683kB time=00:01:00.00
bitrate=79282.6kbits/s
video:580631kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.008949%
//---------------------------
$ ffmpeg_git -i
/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi
-an -vcodec ffv1 -level 3 -strict experimental -slices 24 -coder 0
-context 0 -g 1 -top 1 output-tff.nut
//---------------------------
ffmpeg version N-53487-g53ec1c8 Copyright (c) 2000-2013 the FFmpeg
developers
built on May 27 2013 08:48:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 70.101 / 3. 70.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[avi @ 0x3167f40] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from
'/home/pb/JobsToDo/Mediathek/DVA-Profession/testvideos/mthk/vx-04988_01-1min-ffv1-DIGIBETA-anamorphic.avi':
Metadata:
date : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf52.111.0
Duration: 00:01:00.00, start: 0.000000, bitrate: 79300 kb/s
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, 25
tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, s16, 1536 kb/s
Output #0, nut, to 'output-tff.nut':
Metadata:
X-CreationTime : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf55.7.100
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576,
q=2-31, 200 kb/s, 51200 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (ffv1 -> ffv1)
Press [q] to stop, [?] for help
frame= 1500 fps=110 q=-1.0 Lsize= 580683kB time=00:01:00.00
bitrate=79282.6kbits/s
video:580631kB audio:0kB subtitle:0 global headers:0kB muxing overhead
0.008949%
pb at pb-combat:/media/MyBook_3TB/ffv1_tests/interlaced$ ffplay_git
output-bff.nut
ffplay version N-53487-g53ec1c8 Copyright (c) 2003-2013 the FFmpeg
developers
built on May 27 2013 08:48:57 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree
--enable-version3 --enable-postproc --enable-swscale --enable-avfilter
--enable-pthreads --enable-bzlib --enable-libmp3lame --enable-libvorbis
--enable-libxvid --enable-zlib --enable-libopenjpeg --enable-decoder=png
--enable-encoder=png --enable-libfreetype --enable-libschroedinger
libavutil 52. 34.100 / 52. 34.100
libavcodec 55. 12.100 / 55. 12.100
libavformat 55. 7.100 / 55. 7.100
libavdevice 55. 1.101 / 55. 1.101
libavfilter 3. 70.101 / 3. 70.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, nut, from 'output-bff.nut':B vq= 0KB sq= 0B f=0/0
Metadata:
date : 2012-03-01T22:16:10+01:00
encoded_by : Österreichische Mediathek Wien
IARL : vx-04988_01
title : Feste Biomasse [In: Erneuerbare Energie [Enthalten
in: Erneuerbare Energie] ; 01]
encoder : Lavf55.7.100
Duration: 00:00:59.96, start: 0.000000, bitrate: 79335 kb/s
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576, 25
fps, 25 tbr, 51200 tbn, 51200 tbc
14.36 A-V: 0.000 fd= 1 aq= 0KB vq= 2118KB sq= 0B f=0/0
More information about the ffmpeg-user
mailing list