Plugin issues
- Code:
/Applications/Serviio.app/Contents/Resources/Java/../../MacOS/ffmpeg -i "rtmp://wcdn101.nacevi.cz/ct-vod/_definst_?id=MTQ0MTA3NDg4NXw2MzQ2NTg4MTY4MjczMjM3NTA=&type=wpl/mp4:iVysilani/2012/02/03/VsechnopartyCT1-030212-MP4_576p.mp4 buffer=100000000" -y -async 1 -vcodec copy -vbsf h264_mp4toannexb -copyts -acodec ac3 -ab 384k -ac 2 -map 0:0 -map 0:1 -sn -f mpegts /Users/martin/Filmy-transcoded/Serviio/transcoding-temp-1000000000050004-MPEG2TS.stf
ffmpeg version 0.9, Copyright (c) 2000-2011 the FFmpeg developers
built on Dec 14 2011 01:44:37 with gcc 4.0.1 (Apple Inc. build 5493)
configuration: --enable-static --disable-shared --bindir=/tmp/ffmpeg --disable-ffplay --disable-ffserver --enable-libmp3lame --enable-librtmp --enable-pthreads --disable-mmx --extra-ldflags=-L/tmp/static/lib --extra-cflags=-I/tmp/static/include --extra-libs=-lpolarssl
libavutil 51. 32. 0 / 51. 32. 0
libavcodec 53. 42. 0 / 53. 42. 0
libavformat 53. 24. 0 / 53. 24. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 53. 0 / 2. 53. 0
libswscale 2. 1. 0 / 2. 1. 0
Metadata:
trackinfo:
timescale 1000.00
length 2525970.00
language eng
sampledescription:
sampletype avc1
timescale 1000.00
length 2526038.00
language eng
sampledescription:
sampletype mp4a
audiochannels 2.00
audiosamplerate 1000.00
videoframerate inf
aacaot 2.00
avclevel 31.00
avcprofile 66.00
audiocodecid mp4a
videocodecid avc1
width 1024.00
height 576.00
frameWidth 1024.00
frameHeight 576.00
displayWidth 1024.00
displayHeight 576.00
framerate 25.00
moovposition 36.00
duration 2526.04
[h264 @ 0x1115400] AVC: nal size 21102623
[h264 @ 0x1115400] no frame!
Input #0, flv, from 'rtmp://wcdn101.nacevi.cz/ct-vod/_definst_?id=MTQ0MTA3NDg4NXw2MzQ2NTg4MTY4MjczMjM3NTA=&type=wpl/mp4:iVysilani/2012/02/03/VsechnopartyCT1-030212-MP4_576p.mp4 buffer=100000000':
Metadata:
audiochannels : 2
videoframerate : inf
aacaot : 2
avclevel : 31
avcprofile : 66
frameWidth : 1024
frameHeight : 576
displayWidth : 1024
displayHeight : 576
moovposition : 36
Duration: 00:42:06.03, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Baseline), yuv420p, 1024x576 [SAR 1:1 DAR 16:9], 25 tbr, 1k tbn, 50 tbc
Stream #0:1: Audio: aac, 48000 Hz, stereo, s16
Incompatible sample format 's16' for codec 'ac3', auto-selecting format 'flt'
[ac3 @ 0x1204200] channel_layout not specified
[ac3 @ 0x1204200] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[mpegts @ 0x110bc00] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/Users/martin/Filmy-transcoded/Serviio/transcoding-temp-1000000000050004-MPEG2TS.stf':
Metadata:
audiochannels : 2
videoframerate : inf
aacaot : 2
avclevel : 31
avcprofile : 66
frameWidth : 1024
frameHeight : 576
displayWidth : 1024
displayHeight : 576
moovposition : 36
encoder : Lavf53.24.0
Stream #0:0: Video: h264, yuv420p, 1024x576 [SAR 1:1 DAR 16:9], q=2-31, 90k tbn, 25 tbc
Stream #0:1: Audio: ac3, 48000 Hz, stereo, flt, 384 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac -> ac3)
Press [q] to stop, [?] for help
h264_mp4toannexb failed for stream 0, codec copy: Invalid argument
[mpegts @ 0x110bc00] h264 bitstream malformated, no startcode found, use -vbsf h264_mp4toannexb
av_interleaved_write_frame(): Operation not permitted
Any idea what's wrong? Found a few threads on other serviio forums, but none of them seems to be resolved?
Btw, server expires the tokens which are part of the uri, so if you try to run the same command on your computer, it won't work - I can give you instructions on how to extract a valid stream URI if you want to try to debug.
Another issue I have is when new episodes are added, they are added at the beginning of the list of episodes. I noticed, that thumbnails are never refreshed - i.e. the newest episode gets the thumbnail of an episode that used to be the first and now is the second. Is it possible it is a serviio bug?
Also after the refresh it seems occasionally (haven't traced it down) I start getting errors for a particular file which look like serviio thinks it has cached a transcoded version, so does not bother trying to run ffmpeg, but when it goes looking for the transcoded file it is not there, so it fails. Has anyone run into this? Could that also be related to the fact how new episodes are added to the list?