zip wrote:further down will be the actual ffmpeg command with all the parameters, you have to run that
I actually tried with a different file in my previous post, which uses a different plugin. Sorry about that.
Here's a portion of the log for the correct file:
- Code:
2012-01-11 17:55:39,930 DEBUG [VideoDeliveryEngine] Delivering item '1000000000150001' for client 'IPAddress=/192.168.1.6, Profile=Sony Bravia TV (2010)'
2012-01-11 17:55:39,930 DEBUG [VideoDeliveryEngine] Delivering file 'rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20120108/PG-1155122-003A-MIDSOMERMURDERS-01-mp4-e-v1.mp4' using transcoding
2012-01-11 17:55:39,930 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'IPAddress=/192.168.1.6, Profile=Sony Bravia TV (2010)'
2012-01-11 17:55:39,931 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20120108/PG-1155122-003A-MIDSOMERMURDERS-01-mp4-e-v1.mp4 buffer=100000000
2012-01-11 17:55:39,931 DEBUG [ProcessExecutor] Starting ffmpeg -i rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20120108/PG-1155122-003A-MIDSOMERMURDERS-01-mp4-e-v1.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 /tmp/Serviio/transcoding-temp-1000000000150001-MPEG2TS.stf
2012-01-11 17:55:40,432 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2012-01-11 17:55:40,433 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20120108/PG-1155122-003A-MIDSOMERMURDERS-01-mp4-e-v1.mp4: AVC_TS_MP_HD_AC3_ISO
2012-01-11 17:55:40,433 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 50000000000
2012-01-11 17:55:40,433 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2012-01-11 17:55:40,434 DEBUG [ResourceTransportRequestHandler] Sending file back
Running the command from "Starting" in a terminal doesn't work. I get this:
- Code:
[NULL @ 0x20062a0] Unable to find a suitable output format for 'buffer=100000000'
buffer=100000000: Invalid argument
I find all this a bit strange, since it's working through Serviio.
Running without buffer all together I get this after a short while (I'm guessing that's the problem you talked about earlier):
- Code:
RTMP_ReadPacket, failed to read RTMP packet header:02:03.07 bitrate=2835.0kbits/s
Here's a bit more info when running without buffer:
- Code:
Input #0, flv, from 'rtmpe://fl11.c90909.cdn.qbrick.com/90909/_definst_/kluster/20120108/PG-1155122-003A-MIDSOMERMURDERS-01-mp4-e-v1.mp4':
Metadata:
moovPosition : 28
avcprofile : 77
avclevel : 32
aacaot : 2
videoframerate : 25
audiochannels : 2
Duration: 01:28:57.51, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (Main), yuv420p, 1280x720 [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 @ 0xf15940] channel_layout not specified
[ac3 @ 0xf15940] No channel layout specified. The encoder will guess the layout, but it might be incorrect.
[mpegts @ 0xf15160] muxrate VBR, pcr every 2 pkts, sdt every 200, pat/pmt every 40 pkts
Output #0, mpegts, to '/tmp/Serviio/transcoding-temp-1000000000150001-MPEG2TS.stf':
Metadata:
moovPosition : 28
avcprofile : 77
avclevel : 32
aacaot : 2
videoframerate : 25
audiochannels : 2
encoder : Lavf53.24.0
Stream #0:0: Video: h264, yuv420p, 1280x720 [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)