I know there's a lot of posts about this, but I'm not that familiar with ffmpeg and the whole transcoding thing so wonder if someone can give me some step by step working examples on how to get videos playing correctly in the browser. I'm using CentOS 6.3.
[root@wibble transcode]# ffmpeg
FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
I don't really want to recompile ffmpeg if possible.
I have the default transcoding options and am getting the "video not found or access denied error". I tried removing the -ac 2 option as suggested and got a different error
DEBUG InputStreamReaderThread - (/home/subsonic/transcode/ffmpeg) Unrecognized option 'preset'
So I removed some of the preset stuff now I get:
DEBUG InputStreamReaderThread - (/home/subsonic/transcode/ffmpeg) Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
So, any step by step how to fix it suggestions would be appreciated.
Thanks,
Nigel
