Adam Rybak wrote:
> Im able to live transcode with ffmpeg used as command line:
>
> /usr/local/bin/ffmpeg -threads 4 -c:v h264_mmal -i
http://192.168.XXX.XXX:9981/stream/channelid/1040644304 -c:v h264_omx -s 480x270 -b:v 768k -pix_fmt yuv420p -bufsize 3000k -c:a libmp3lame -ac 1 -ar 22050 -f mpegts -r 25 - 2>/tmp/ff.log
>
> and passing to php script...
>
> CPU usage is about 80-90% and works well.
>
> My tweaks in /boot/config.txt for good perf (found in internet forums):
>
> core_freq=580
> arm_freq=1380
> over_voltage=4
> disable_splash=1
> gpu_mem=320
> temp_limit=75
> sdram_freq=460
>
>i think the transcoding can be done in tvheadend.
It can, but not directly, you may want to consider using the transcode spawn option instead though.