Thanks for yout input in trying to resolve my problem. I have compiled ffmpeg and other libraries from the source located on the download page. ffmpeg appears to be working fine. I have even tested ffmpeg to transcode a file at the cli and it works fine. I've gone so far as to run
- Code:
ffmpeg -i /mnt/user/TV\ Shows/20120114111133.mkv -t 10 -acodec libmp3lame -ab 192K -ac 2 -vcodec libx264 -s 800x480 /mnt/user/TV\ Shows/2012.mkv
to create a 10 second low res MKV of a file. The resulting file plays fine when I put in on a USB flash drive and stick it in the media box that will not play files via serviio.
- Code:
root@Tower:/boot/scripts# ffmpeg -i /mnt/user/TV\ Shows/20120114111133.mkv -t 10 -acodec libmp3lame -ab 192K -ac 2 -vcodec libx264 -s 800x480 /mnt/user/TV\ Shows/2012.mkv
ffmpeg version git-2012-04-06-e0f30a5 Copyright (c) 2000-2012 the FFmpeg developers
built on Apr 6 2012 20:33:52 with gcc 4.6.1
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. 44.100 / 51. 44.100
libavcodec 54. 13.100 / 54. 13.100
libavformat 54. 3.100 / 54. 3.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 66.101 / 2. 66.101
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 10.100 / 0. 10.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, matroska,webm, from '/mnt/user/TV Shows/20120114111133.mkv':
Duration: 00:00:14.56, start: 0.000000, bitrate: 8061 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 20k tbn, 50 tbc (default)
File '/mnt/user/TV Shows/2012.mkv' already exists. Overwrite ? [y/N] y
w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:1/1 sws_param:flags=2
[scale @ 0x913fe00] w:1280 h:720 fmt:yuv420p sar:1/1 -> w:800 h:480 fmt:yuv420p sar:16/15 flags:0x4
[libx264 @ 0x914c840] using SAR=16/15
[libx264 @ 0x914c840] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
[libx264 @ 0x914c840] profile High, level 3.0
[libx264 @ 0x914c840] 264 - core 122 r2184 5c85e0a - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, matroska, to '/mnt/user/TV Shows/2012.mkv':
Metadata:
encoder : Lavf54.3.100
Stream #0:0(eng): Video: h264, yuv420p, 800x480 [SAR 16:15 DAR 16:9], q=-1--1, 1k tbn, 25 tbc (default)
Stream mapping:
Stream #0:0 -> #0:0 (h264 -> libx264)
Press [q] to stop, [?] for help
frame= 250 fps=4.0 q=28.0 Lsize= 1566kB time=00:00:09.92 bitrate=1293.5kbits/s
video:1564kB audio:0kB global headers:0kB muxing overhead 0.154416%
[libx264 @ 0x914c840] frame I:11 Avg QP:22.86 size: 11799
[libx264 @ 0x914c840] frame P:180 Avg QP:25.28 size: 7356
[libx264 @ 0x914c840] frame B:59 Avg QP:27.30 size: 2491
[libx264 @ 0x914c840] consecutive B-frames: 58.8% 23.2% 18.0% 0.0%
[libx264 @ 0x914c840] mb I I16..4: 13.8% 75.8% 10.4%
[libx264 @ 0x914c840] mb P I16..4: 5.2% 11.8% 1.9% P16..4: 49.1% 14.9% 6.2% 0.0% 0.0% skip:10.9%
[libx264 @ 0x914c840] mb B I16..4: 0.8% 0.7% 0.2% B16..8: 42.7% 5.3% 0.6% direct: 2.8% skip:46.8% L0:40.9% L1:53.9% BI: 5.3%
[libx264 @ 0x914c840] 8x8 transform intra:64.9% inter:79.1%
[libx264 @ 0x914c840] coded y,uvDC,uvAC intra: 54.5% 52.1% 8.4% inter: 28.1% 26.1% 0.1%
[libx264 @ 0x914c840] i16 v,h,dc,p: 22% 44% 7% 27%
[libx264 @ 0x914c840] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 10% 31% 22% 5% 5% 4% 8% 4% 13%
[libx264 @ 0x914c840] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 20% 37% 20% 3% 4% 3% 6% 3% 4%
[libx264 @ 0x914c840] i8c dc,h,v,p: 57% 27% 12% 5%
[libx264 @ 0x914c840] Weighted P-Frames: Y:3.9% UV:0.0%
[libx264 @ 0x914c840] ref P L0: 65.8% 17.1% 11.9% 5.1% 0.1%
[libx264 @ 0x914c840] ref B L0: 88.0% 11.5% 0.5%
[libx264 @ 0x914c840] ref B L1: 95.2% 4.8%
[libx264 @ 0x914c840] kb/s:1280.64
root@Tower:/boot/scripts#
However, serviio still will not transcode any files. Any other suggestions.