Unable to create stills via cli on multicpu-system

Started by erikl, November 13, 2013, 04:06:15 PM

Previous topic - Next topic

erikl

Hi there,

I am using  Avidemux v2.5.5 for creating still extraction via command line interface on RHEL 6.4 64bit.
Since I have updated the hardware I am unable to create stills. I have located that the only thing that makes an error is the number of cpu Cores. On 2 or 8 cores avidemux works fine. On the newer System with 24 Cores I recieve this the error quite similar to this one here http://www.avidemux.org/smf/index.php?topic=12380.0


Quote
Decoder FCC: MPEG (4745504D)
Searching decoder (720 x 576, extradataSize:168)...
[lavc] Build: 3438592
[lavc] Enabling MT decoder with 24 threads
[lavc] Decoder init: CODEC_ID_MPEG2VIDEO video decoder initialized!

checking for B-Frames...
scanning 125 frames
[lavc] too many threads

[lavc] mpeg_decode_postinit() failure


[lavc] error in FFMP43/mpeg4!
[lavc] Err: -1, size :90982

***oops***
[lavc] too many threads

[lavc] mpeg_decode_postinit() failure


[lavc] error in FFMP43/mpeg4!
[lavc] Err: -1, size :8256

Does Anybody have an Idea how to fix this? Upgrading to 2.6 is not an option because 2.5 is frame based what I need and 2.6 is time based.


Thanks in advance

Erik


P.S.: I'd like to provide the full logs but unfortunately I cant post it because of exceeding the maximum allowed length.

erikl

Hi there,

I forgot to mention: I've checked on a virtual machine with
4 cores: works
8 cores: works
24 cores: green stills

It is the same virtual machine, only different amount of vCPUs.

I'm looking forward to an answer!

Erik


Output for ldd:
Quoteldd /usr/bin/avidemux2_cli
   linux-vdso.so.1 =>  (0x00007fff92a46000)
   libADM5avutil.so.50 => /usr/lib64/libADM5avutil.so.50 (0x0000003a64200000)
   libADM5postproc.so.51 => /usr/lib64/libADM5postproc.so.51 (0x0000003a63a00000)
   libADM5swscale.so.0 => /usr/lib64/libADM5swscale.so.0 (0x0000003a3e400000)
   libADM5avcodec.so.52 => /usr/lib64/libADM5avcodec.so.52 (0x0000003a3e800000)
   libADM5avformat.so.52 => /usr/lib64/libADM5avformat.so.52 (0x0000003a62a00000)
   libADM_smjs.so => /usr/lib64/libADM_smjs.so (0x0000003a62e00000)
   libADM_UICli.so => /usr/lib64/libADM_UICli.so (0x0000003a37800000)
   libADM_render_cli.so => /usr/lib64/libADM_render_cli.so (0x0000003a38000000)
   libADM_core.so => /usr/lib64/libADM_core.so (0x0000003a39400000)
   libADM_coreUI.so => /usr/lib64/libADM_coreUI.so (0x0000003a63200000)
   libADM_coreImage.so => /usr/lib64/libADM_coreImage.so (0x0000003a63600000)
   libADM_coreAudio.so => /usr/lib64/libADM_coreAudio.so (0x0000003a3cc00000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003a37000000)
   libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x0000003a39c00000)
   libvpx.so.0 => /usr/lib64/libvpx.so.0 (0x0000003a42400000)
   libdl.so.2 => /lib64/libdl.so.2 (0x0000003a36800000)
   libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003a3a800000)
   libm.so.6 => /lib64/libm.so.6 (0x0000003a37c00000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003a38c00000)
   libc.so.6 => /lib64/libc.so.6 (0x0000003a36c00000)
   libz.so.1 => /lib64/libz.so.1 (0x0000003a37400000)
   /lib64/ld-linux-x86-64.so.2 (0x0000003a36400000)

Shell-Skript which calls Avidemux:
Quote# /bin/bash

avidemux2_cli --autoindex --force-alt-h264 --run $1
cd $2

for f in *.jpg
do
  convert $f -thumbnail 200x90 thumb-$f
done