[FFmpeg-user] Transcode TVheadend stream (mpegts )
barsnick at gmx.net
Tue Jul 17 11:24:41 EEST 2018
On Tue, Jul 17, 2018 at 09:59:08 +0200, hans gerte wrote:
> ffmpeg -f mpegts -i
> http://username:firstname.lastname@example.org:4445/stream/channelid/9 -deinterlace
> -vcodec libx264 -vb 1000k -acodec libfacc -ar 48000 -ab 48k -f flv rtmp://
> Input is the tvheadend server, rtmp is the ffmpeg server where the input
> will be restream from
> it then gives these error:
> Unknown encoder 'libfacc'
You should usually give us the complete, uncut console output in
addition to your actual command line.
In this case, it's pretty obvious that ffmpeg has no support for the
libfacc encoder - because that has never existed. It was called libfaac
(as the audio format is also called AAC, not ACC).
Recent ffmpeg doesn't support libfaac anymore (and hasn't for quite
some time, IIRC). Just use "-acodec aac" with recent ffmpeg, that works
fine. Other, find out which encoders your ffmpeg supports by issuing:
$ ffmpeg -encoders
(For example it might have libfdk_aac, which is also good.)
Also, make sure you use a very recent version of ffmpeg for best
I'm also not sure the "-deinterlace" option exists anymore (even though
it's referenced once in the docs). Use one of the deinterlacing
filters instead, such as yadif.
More information about the ffmpeg-user