[FFmpeg-user] Transcode TVheadend stream (mpegts )

Moritz Barsnick 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:password@192.168.0.14:4445/stream/channelid/9 -deinterlace
> -vcodec libx264 -vb 1000k -acodec libfacc -ar 48000 -ab 48k -f flv rtmp://
> 192.168.0.58:1935/test
> 
> 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
results. ;-)

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.

Cheers,
Moritz


More information about the ffmpeg-user mailing list