Wed Oct 26, 2011 12:32 pm by lselinger
zip wrote:you should be able to apply the 2 patches (util.c and matroskadec2) manually, it's just a few lines.
The code structs don't even exist so I can't patch anything. In the newest version of the ffmpeg code it looks like all of this has been either rewritten to fix the issues, or just rewritten in general. I can't apply those patches because the objects/stanzas they patch, no longer exist

EDIT: tried patching the sources on the Serviio download page manually however the lines of code that were changed no longer exist ... there has to be someone on this list that has gotten it working in Linux?? and if they have I need the package they are using lol ... I'm at a loss again
EDIT2: It's only some mkv files ... others work fine:
- Code:
# ffmpeg -i /mt/Videos/TV/The\ Walking\ Dead/Season\ 1/The\ Walking\ Dead\ -\ S01E03\ -\ 720p\ BluRay\ x264-SiNNERS.mkv -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec copy -map 0:0 -map 0:1 -sn -f mpegts /tmp/Serviio/transcoding-temp-589-MPEG2TS.stf
ffmpeg version 0.8.git, Copyright (c) 2000-2011 the FFmpeg developers
built on Oct 26 2011 07:24:19 with gcc 4.5.2
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-x11grab --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-memalign-hack --enable-libmp3lame --enable-librtmp --enable-runtime-cpudetect --enable-pthreads --enable-libvpx
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 8. 0 / 53. 8. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 25. 0 / 2. 25. 0
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 0x2ac5440] Estimating duration from bitrate, this may be inaccurate
Input #0, matroska,webm, from '/mt/Videos/TV/The Walking Dead/Season 1/The Walking Dead - S01E03 - 720p BluRay x264-SiNNERS.mkv':
Duration: 00:45:11.10, start: 0.000000, bitrate: 640 kb/s
Stream #0.0(eng): Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, s16, 640 kb/s (default)
Stream #0.2(eng): Subtitle: [0][0][0][0] / 0x0000
[mpegts @ 0x2ac8da0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-589-MPEG2TS.stf':
Metadata:
encoder : Lavf53.6.0
Stream #0.0(eng): Video: libx264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 90k tbn, 23.98 tbc (default)
Stream #0.1(eng): Audio: ac3, 48000 Hz, 5.1, 640 kb/s (default)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop, [?] for help
frame= 7228 fps=2165 q=-1.0 Lsize= 274380kB time=00:05:01.38 bitrate=7458.0kbits/s
video:230002kB audio:23552kB global headers:0kB muxing overhead 8.213401%