Hello,

I found a bashism in export_mp2.so, it uses the redirection '>&/dev/null' which is supposed to be a shortcut for '>/dev/null 2>&1' but doesn't work under a POSIX shell like dash. I'm using the 1.0.2 version packaged for Ubuntu 7.10, so it's possibly already fixed, but I wanted to be sure.

And if someone knows of a workaround, I'd be very grateful.

Find below the exact error messages.

Thanks, Eric

$ /usr/bin/transcode -i 2825_MVI.AVI -y ffmpeg,mp2 -F mpeg2video --export_fps 25 -J modfps -E 48000,16,2 --encode_fields p -o .tmpmjpg/film --ext .m2v,.mpa --print_status 10,0
transcode v1.0.2 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source 2825_MVI.AVI (ok)
[transcode] V: import format    | MJPG RIFF data, AVI (V=ffmpeg|A=avi)
[transcode] V: import frame     | 640x480  1.33:1
[transcode] V: bits/pixel       | 0.195
[transcode] V: decoding fps,frc | 30.000,0
[transcode] V: Y'CbCr           | YV12/I420
[transcode] A: import format | 0x1 PCM [11024, 8,1] 88 kbps [transcode] A: export format | 0x55 MPEG layer-3 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame  | 441 (440.960000)
[transcode] A: adjustment       | [EMAIL PROTECTED]
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
tc_memcpy: using sse for memcpy
[transcode] V: video buffer     | 10 @ 640x480
[import_avi.so] v0.4.2 (2002-05-24) (video) * | (audio) *
[import_ffmpeg.so] v0.1.12 (2004-05-07) (video) ffmpeg: MS MPEG4v1-3/MPEG4/MJPEG
[filter_modfps.so] v0.10 (2003-08-18) plugin to modify framerate
[filter_modfps.so] converting from 29.9700fps to 25.0000fps
[export_mp2.so] v0.2.1 (2004-08-06) (audio) MPEG 1/2
[export_ffmpeg.so] v0.3.13 (2004-08-03) (video) Lavc1d.51.38.0 | (audio) MPEG/AC3/PCM
[import_avi.so] format=0x1, rate=11024 Hz, bits=8, channels=1, bitrate=88
[transcode] input is mjpeg, reducing range from YUVJ420P to YUV420P
[filter.c] Filter "levels=output=16-240:pre=1" with args (levels=output=16-240:pre=1)
[filter.c] Filter "levels=output=16-240:pre=1" not loaded. Loading ...
[filter.c] Loading (levels=output=16-240:pre=1) ..
[filter_levels.so]: v1.0.0 (2004-06-09) Luminosity level scaler #0
[filter_levels.so]: scaling 0-255 gamma 1.000000 to 16-240
[filter_levels.so]: pre-processing filter
[export_ffmpeg.so] Using FFMPEG codec 'mpeg2video' (FourCC 'mpg2', MPEG2 compliant video).
[export_ffmpeg.so]: INFO: No profile selected
[export_ffmpeg.so] Neither './ffmpeg.cfg' nor '~/.transcode/ffmpeg.cfg'
[export_ffmpeg.so] found. Default settings will be used instead.
[export_ffmpeg.so]: INFO: Starting 1 thread(s)
[export_ffmpeg.so]: INFO: Set display aspect ratio to input
[mpeg2video @ 0xb590dac8]removing common factors from framerate
[export_mp2.so] ffmpeg -y -f s16le -ac 2 -ar 11024 -i - -ab 128 -ar 48000 -f mp2 .tmpmjpg/film.mpa >&/dev/null
sh: Syntax error: Bad fd number

Reply via email to