[FFmpeg-user] FFv1: newer ffmpeg builds create larger files?

Peter B. pb at das-werkstatt.com
Mon Jun 4 01:22:27 CEST 2012


On 06/04/2012 12:59 AM, Michael Niedermayer wrote:
>> ...and do I have any possibility to verify/check/see the ffv1-parameters
>> the original file actually has? Maybe it has a GOP>1 and I'm not aware
>> of it?
> you can see some information on the used parameters with -debug 1
> the latest git shows a bit more than older versions
Hm... I don't see any information about the bitstream parameters.
I've tried 2 things with "-debug 1":
1) calling ffprobe on the original
2) transcoding the original as before

//------------------------
$ ffprobe -debug 1 -i bsp-00001-100.avi
//------------------------
ffprobe version N-41256-g7f17f4f Copyright (c) 2007-2012 the FFmpeg
developers
  built on Jun  3 2012 13:29:41 with gcc 4.6.1
  configuration: --prefix=/usr/local
  libavutil      51. 56.100 / 51. 56.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 @ 0x179c3a0] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x179c9c0] use odml:1
[avi @ 0x179c3a0] non-interleaved AVI
[avi @ 0x179c3a0] File position before avformat_find_stream_info() is 10048
[avi @ 0x179c3a0] parser not found for codec ffv1, packets or times may
be invalid.
[avi @ 0x179c3a0] parser not found for codec pcm_s16le, packets or times
may be invalid.
[avi @ 0x179c3a0] All info found
[avi @ 0x179c3a0] File position after avformat_find_stream_info() is 285888
Input #0, avi, from 'bsp-00001-100.avi':
  Metadata:
    IARL            : bsp-00001
    date            : 2012-03-11T02:49:06+01:00
    track           : 101 / 185
    encoder         : Lavf52.111.0
  Duration: 00:01:00.00, start: 0.000000, bitrate: 60324 kb/s
    Stream #0:0, 1, 1/25: Video: ffv1 (FFV1 / 0x31564646), yuv422p,
720x576, 1/25, 25 tbr, 25 tbn, 25 tbc
    Stream #0:1, 1, 1/48000: Audio: pcm_s16le ([1][0][0][0] / 0x0001),
48000 Hz, 2 channels, s16, 1536 kb/s
[ffv1 @ 0x17a27e0] detected 8 logical cores


//------------------------
$ ffmpeg -i bsp-00001-100.avi -acodec copy -vcodec ffv1 -level 1 -g 1
-debug 1 output/delme.avi
//------------------------
ffmpeg version N-41256-g7f17f4f Copyright (c) 2000-2012 the FFmpeg
developers
  built on Jun  3 2012 13:29:41 with gcc 4.6.1
  configuration: --prefix=/usr/local
  libavutil      51. 56.100 / 51. 56.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 @ 0x20e6100] non-interleaved AVI
Guessed Channel Layout for  Input Stream #0.1 : stereo
Input #0, avi, from 'bsp-00001-100.avi':
  Metadata:
    IARL            : bsp-00001
    date            : 2012-03-11T02:49:06+01:00
    track           : 101 / 185
    encoder         : Lavf52.111.0
  Duration: 00:01:00.00, start: 0.000000, bitrate: 60324 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 @ 0x20ee400] w:720 h:576 pixfmt:yuv422p tb:1/25 sar:0/1
sws_param:flags=2
[buffersink @ 0x20f7de0] No opaque field provided
[ffv1 @ 0x2105fc0] detected 8 logical cores
[ffv1 @ 0x20ec4c0] detected 8 logical cores
Output #0, avi, to 'output/delme.avi':
  Metadata:
    IARL            : bsp-00001
    ICRD            : 2012-03-11T02:49:06+01:00
    IPRT            : 101 / 185
    ISFT            : Lavf54.6.101
    Stream #0:0, 0, 1/25: Video: ffv1 (FFV1 / 0x31564646), yuv422p,
720x576, 1/25, q=2-31, 200 kb/s, 25 tbn, 25 tbc
    Stream #0:1, 0, 1/48000: 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= 1500 fps= 18 q=0.0 Lsize=  462531kB time=00:01:00.00
bitrate=63151.0kbits/s   
video:451166kB audio:11250kB global headers:0kB muxing overhead 0.025075%




Is there something I've misunderstood/overlooked?

Thanks,
Pb


More information about the ffmpeg-user mailing list