I've changed the online profile to that described here:
https://bitbucket.org/xnejp03/serviio/i ... ranscodingNo difference.
Below are two ffmpeg commands - the first is the one serviio uses (it doesn't work), the second one works (I've removed the buffer=100000000)
1) serviio (doesn't work)ffmpeg -i
rtmp://multistrm.fcod.llnwd.net/a2278/o ... cbdcf5.mp4 buffer=100000000 -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 192k -ac 2 -sn -f mpegts /tmp/Serviio/transcoding-temp-1000000000040004-MPEG2TS.stf
ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 1 2011 23:43:42 with gcc 4.4.5
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
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 26. 0 / 53. 26. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 3 / 2. 45. 3
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, flv, from 'rtmp://multistrm.fcod.llnwd.net/a2278/o21/s4c/uk/BSM/byw_yn_ol_y_papur_newydd__pennod_2_cymr001dcbdcf5.mp4':
Metadata:
moovPosition : 121385929
avcprofile : 100
avclevel : 21
aacaot : 2
videoframerate : 25
audiochannels : 2
Duration: 00:23:37.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 528x304 [SAR 217:212 DAR 7161:4028], 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, s16
[NULL @ 0x2a4bda0] Unable to find a suitable output format for 'buffer=100000000'
buffer=100000000: Invalid argument
2) modified serviio (works)ffmpeg -i
rtmp://multistrm.fcod.llnwd.net/a2278/o ... cbdcf5.mp4 -y -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 192k -ac 2 -sn -f mpegts /tmp/Serviio/transcoding-temp-1000000000040004-MPEG2TS.stf
ffmpeg version 0.8.5.git, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 1 2011 23:43:42 with gcc 4.4.5
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
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 26. 0 / 53. 26. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 3 / 2. 45. 3
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, flv, from 'rtmp://multistrm.fcod.llnwd.net/a2278/o21/s4c/uk/BSM/byw_yn_ol_y_papur_newydd__pennod_2_cymr001dcbdcf5.mp4':
Metadata:
moovPosition : 121385929
avcprofile : 100
avclevel : 21
aacaot : 2
videoframerate : 25
audiochannels : 2
Duration: 00:23:37.00, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p, 528x304 [SAR 217:212 DAR 7161:4028], 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 44100 Hz, stereo, s16
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[ac3 @ 0x2c98d20] channel_layout not specified
[ac3 @ 0x2c98d20] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[mpegts @ 0x2ccada0] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-1000000000040004-MPEG2TS.stf':
Metadata:
moovPosition : 121385929
avcprofile : 100
avclevel : 21
aacaot : 2
videoframerate : 25
audiochannels : 2
encoder : Lavf53.18.0
Stream #0:0: Video: h264, yuv420p, 528x304 [SAR 217:212 DAR 7161:4028], q=2-31, 90k tbn, 25 tbc
Stream #0:1: Audio: ac3, 44100 Hz, stereo, flt, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0 (copy)
Stream #0.1 -> #0.1 (aac -> ac3)
Press [q] to stop, [?] for help
frame= 1343 fps= 26 q=-1.0 Lsize= 6734kB time=00:00:53.72 bitrate=1026.9kbits/s
I believe ffmpeg is treating the buffer=10000000 as an argument - I'm struggling to find any man pages where this is a valid argument.....
Owen