[FFmpeg-devel] FFV1.3
Peter B.
pb at das-werkstatt.com
Wed May 30 22:29:04 CEST 2012
On 05/23/2012 10:30 PM, Michael Niedermayer wrote:
> If theres significant additional video that isnt played, it surely
> makes sense to look at why it isnt
> if ffplay behaves very different from how it does on the undamaged
> file it might be interrestin too
>
I've checked it again, and it seems that "ffplay" in general does not
stop playback at the end of *any* videofile I'm playing: The video just
stops, but the counter in the commandline is running as if it'd still be
playing...
However, I've found something interesting:
When disabling Slice-CRCs, the resulting file may be corrupted afterwards:
// ----------------------------------------
$ ffplay output/test-off.avi
// ----------------------------------------
ffplay version N-41161-ga1fc1d2 Copyright (c) 2003-2012 the FFmpeg
developers
built on May 30 2012 21:26:47 with gcc 4.6.1
configuration: --prefix=/usr/local
libavutil 51. 55.100 / 51. 55.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
[avi @ 0x166f240] non-interleaved AVI
[ffv1 @ 0x1670100] slice count 0 is invalid
Input #0, avi, from 'output/test-off.avi':
Metadata:
IARL : bsp-00001
date : 2012-03-11T02:49:06+01:00
track : 101 / 185
encoder : Lavf54.6.101
Duration: 00:00:10.00, start: 0.000000, bitrate: 61370 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, 2
channels, s16, 1536 kb/s
[format @ 0x167ce60] auto-inserting filter 'auto-inserted scaler 0'
between the filter 'src' and the filter 'format'
[scale @ 0x179fb80] w:720 h:576 fmt:yuv422p sar:0/1 -> w:720 h:576
fmt:yuv420p sar:0/1 flags:0x4
[ffv1 @ 0x1670100] slice count 0 is invalid
Last message repeated 31 times
[ffv1 @ 0x1670100] CRC mismatch 851AFD47!
[ffv1 @ 0x1670100] slice count 0 is invalid7KB vq= 1739KB sq= 0B f=0/0
Last message repeated 29 times
[ffv1 @ 0x1670100] CRC mismatch 24D277BC!
[ffv1 @ 0x1670100] slice count 0 is invalid1673KB sq= 0B f=0/0
[ffv1 @ 0x1670100] CRC mismatch 1922B889!
[ffv1 @ 0x1670100] slice count 0 is invalid
Last message repeated 21 times
[ffv1 @ 0x1670100] CRC mismatch 9B104277!
[ffv1 @ 0x1670100] slice count 0 is invalid1709KB sq= 0B f=0/0
Last message repeated 34 times
[ffv1 @ 0x1670100] CRC mismatch EEC98467!
[ffv1 @ 0x1670100] slice count 0 is invalid1871KB sq= 0B f=0/0
Last message repeated 48 times
[ffv1 @ 0x1670100] CRC mismatch 9EEEC936!
// ----------------------------------------
The file was encoded as follows:
// ----------------------------------------
ffmpeg -y -i "bsp-00001-100-10s.avi" -strict experimental -acodec copy
-vcodec ffv1 -level 3 -pix_fmt yuv422p -threads 8 -g 1 -coder 1 -level 3
-slices 4 -slicecrc 0 output/test-off.avi
// ----------------------------------------
ffmpeg version N-41161-ga1fc1d2 Copyright (c) 2000-2012 the FFmpeg
developers
built on May 30 2012 21:26:47 with gcc 4.6.1
configuration: --prefix=/usr/local
libavutil 51. 55.100 / 51. 55.100
libavcodec 54. 23.100 / 54. 23.100
libavformat 54. 6.101 / 54. 6.101
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
[avi @ 0x2530100] non-interleaved AVI
Guessed Channel Layout for Input Stream #0.1 : stereo
Input #0, avi, from 'bsp-00001-100-10s.avi':
Metadata:
IARL : bsp-00001
date : 2012-03-11T02:49:06+01:00
track : 101 / 185
encoder : Lavf53.3.0
Duration: 00:00:10.00, start: 0.000000, bitrate: 59007 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
[buffer @ 0x2548060] w:720 h:576 pixfmt:yuv422p tb:1/25 sar:0/1
sws_param:flags=2
[buffersink @ 0x25425e0] No opaque field provided
Output #0, avi, to 'output/test-off.avi':
Metadata:
IARL : bsp-00001
ICRD : 2012-03-11T02:49:06+01:00
IPRT : 101 / 185
ITCH : Österreichische Mediathek Wien
ISFT : Lavf54.6.101
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), yuv422p, 720x576,
q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz,
stereo, 1536 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (ffv1 -> ffv1)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 250 fps= 30 q=0.0 Lsize= 74916kB time=00:00:10.00
bitrate=61370.9kbits/s
video:73013kB audio:1875kB global headers:0kB muxing overhead 0.036643%
// ----------------------------------------
I assume that this is not the intended behavior?
Pb
PS: As all this is FFv1.3-related, I'm still using this thread, but
should I start a new thread for an issue like this one?
More information about the ffmpeg-devel
mailing list