[FFmpeg-devel] Decoding AVCHD using multi-threaded code

Jean-Michel Pouré jm
Wed Dec 17 11:11:09 CET 2008


Dear Friends,

Are there any chances to parallelize decoding of this AVCHD file:
http://www.kdenlive.org/videos/avchd-test-1.mts

This is a typical camcorder file.

Do you see any hope to parallelize or should be drop official AVCHD
support in Kdenlive until multi-threading comes along?

Kind regards,
Jean-Michel

**************************

ffmpeg -threads 4 -i avchd-test-1.mts -acodec copy -vcodec rawvideo
avchd-test.avi
FFmpeg version SVN-r16185, Copyright (c) 2000-2008 Fabrice Bellard, et
al.
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--incdir=/usr/include/ffmpeg --enable-shared --enable-libmp3lame
--enable-gpl --enable-libfaad --enable-libvorbis --enable-pthreads
--enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab
--enable-libgsm --enable-libx264 --enable-libtheora --enable-swscale
--enable-libdc1394 --enable-nonfree --disable-stripping
--enable-avfilter --enable-libdirac --disable-decoder=libdirac
--enable-libschroedinger --disable-encoder=libschroedinger
--enable-libspeex --enable-avfilter-lavf --enable-xvmc
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 7. 0 / 52. 7. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 1. 0 /  0. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Dec 17 2008 09:28:50, gcc: 4.3.2
Input #0, mpegts, from 'avchd-test-1.mts':
  Duration: 00:00:09.85, start: 1.040000, bitrate: 16676 kb/s
  Program 1 
    Stream #0.0[0x1011]: Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR
16:9], 25.00 tb(r)
    Stream #0.1[0x1100]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
File 'avchd-test.avi' already exists. Overwrite ? [y/N] y
Output #0, avi, to 'avchd-test.avi':
    Stream #0.0: Video: rawvideo, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
q=2-31, 200 kb/s, 25.00 tb(c)
    Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[h264 @ 0x185fb80]Cannot parallelize deblocking type 1, decoding such
frames in sequential order
frame=   37 fps= 27 q=0.0 Lsize=  112425kB time=1.15
bitrate=799468.1kbits/s    





More information about the ffmpeg-devel mailing list