Hi, Am 05.05.2011 22:35, schrieb Phill Clarke: > Hello, > > My first post to this list, and I must say so far today I've found Gmerlin to > be quick useful, especially the visible timecode function in the Gmerlin > Transcode. > > This specific post however is regarding a failure to transcode an XDCAM HD > file containing 16-bit PCM audio. > > When I attempt to transcode, the error I receive with Gmerlin Transcode is: > > avcodec_open failed for audio > > When I query this file using FFmpeg, it returns the following data: > > Fmpeg version 0.6.2, Copyright (c) 2000-2010 the FFmpeg developers > built on Mar 26 2011 11:23:58 with gcc 4.5.2 > configuration: --prefix=/usr --extra-cflags='-Wall -g ' --cc='ccache cc' > --enable-shared --enable-libmp3lame --enable-gpl --enable-libvorbis > --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc > --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb > --enable-libopencore-amrwb --enable-libx264 --enable-libspeex > --enable-nonfree --disable-stripping --enable-avfilter --enable-libdirac > --disable-decoder=libdirac --enable-libschroedinger > --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg > --enable-libvpx --enable-librtmp > --extra-libs=-lgcrypt --disable-altivec --disable-armv5te --disable-armv6 > --disable-vis > libavutil 50.15. 1 / 50.38. 0 > libavcodec 52.72. 2 / 52.112. 1 > libavformat 52.64. 2 / 52.99. 0 > libavdevice 52. 2. 0 / 52. 2. 3 > libavfilter 1.19. 0 / 1.76. 0 > libswscale 0.11. 0 / 0.12. 0 > libpostproc 51. 2. 0 / 51. 2. 0 > Input #0, mxf, from 'port0004_01.mxf': > Duration: 00:01:36.44, start: 0.000000, bitrate: 38502 kb/s > Stream #0.0(und): Video: mpeg2video, yuv420p, 1920x1080p [PAR 1:1 DAR > 16:9], 35000 kb/s, 25.00 fps > Stream #0.1(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s > Stream #0.2(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s > Stream #0.3(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s > Stream #0.4(und): Audio: pcm_s16le, 48000 Hz, 1 channels, s16, 768 kb/s > > To me it seems like my file contains pretty straight forward 4 channels of > 16-bit PCM audio, which FFmpeg should handle (I've chosen FFmpeg audio/video > encoder in the "Encoder" preferences). > > Any thoughts much appreciated.
Looks like the problem happens during the initialization of the audio encoder. Unfortunately the ffmpeg API doesn't allow me to capture error messages and send them to my message window. But if you start gmerlin_transcoder from a terminal you should see them. Burkhard ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Gmerlin-general mailing list Gmerlin-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gmerlin-general