audio out of sync when transcoding..
Here is the command used by ffmpeg:
2013-01-10 22:20:04,413 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /data/Teleseries/Jekyll.S01.FRENCH.PDTV.XViD-NYJ/Jekyll.S01E05.FRENCH.PDTV.XViD-NYJ/Jekyll.S01E05.FRENCH.PDTV.XViD-NYJ.avi -y -copyts -c:v mpeg2video -qscale:v 3 -r 25 -g 15 -c:a ac3 -b:a 128k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-6434-viera2011-ORIGINAL.stf
I also try with Best video quality and downmix to stereo without any success. I also select to use 4 core on the 6 my cpu have. And I have 2.4gb of free ram when transcoding and enough space disk.
Here is the info if the file played:
media@mediastation:/data/Teleseries/Jekyll.S01.FRENCH.PDTV.XViD-NYJ/Jekyll.S01E05.FRENCH.PDTV.XViD-NYJ$ ffmpeg -i Jekyll.S01E05.FRENCH.PDTV.XViD-NYJ.avi
ffmpeg version N-42368-gbf53863 Copyright (c) 2000-2012 the FFmpeg developers
built on Dec 27 2012 00:44:49 with gcc 4.6.3
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab --enable-libvpx --enable-librtmp --enable-libxvid
libavutil 51. 64.100 / 51. 64.100
libavcodec 54. 33.100 / 54. 33.100
libavformat 54. 15.102 / 54. 15.102
libavdevice 54. 1.100 / 54. 1.100
libavfilter 3. 1.100 / 3. 1.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'Jekyll.S01E05.FRENCH.PDTV.XViD-NYJ.avi':
Metadata:
encoder : MediaCoder 0.6
Duration: 00:51:30.08, start: 0.000000, bitrate: 941 kb/s
Stream #0:0: Video: mpeg4 (Simple Profile) (XVID / 0x44495658), yuv420p, 640x352 [SAR 183:178 DAR 1830:979], SAR 11264:10955 DAR 4096:2191, 25 tbr, 25 tbn, 25 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
Thanks for your help!