[FFmpeg-user] Transcode TVheadend stream (mpegts )

hans gerte hansoggerte at gmail.com
Tue Jul 17 15:18:09 EEST 2018

thank very much for your help so fare.
i replace the audio codec to -acodec aac and it fixed the problem, know i
can view the channel.
But after some 5-10 min i get these error and the stream hangs for few sec:
[mpegts @ 0x562f17ecb980] PES packet size mismatch
[ac3 @ 0x562f17f24c60] frame sync error
frame= 5053 fps= 25 q=36.0 size=   36899kB time=00:03:23.05

Error while decoding stream #0:0: Invalid data found when processing input
[h264 @ 0x562f180ef2e0] cabac decode of qscale diff failed at 32 17
[h264 @ 0x562f180ef2e0] error while decoding MB 32 16, bytestream 111778
[h264 @ 0x562f180ef2e0] concealing 6257 DC, 6257 AC, 6257 MV errors in P
[h264 @ 0x562f180f5a40] co located POCs unavailable
[h264 @ 0x562f1810edc0] co located POCs unavailable
[h264 @ 0x562f17f33300] co located POCs unavailable
[h264 @ 0x562f180f8f00] reference picture missing during reorder
[h264 @ 0x562f180f8f00] Missing reference picture, default is 75416
[h264 @ 0x562f18112860] mmco: unref short failure

[flv @ 0x562f17f220e0] Failed to update header with correct duration.
[flv @ 0x562f17f220e0] Failed to update header with correct filesize.

2018-07-17 13:14 GMT+02:00 Moritz Barsnick <barsnick at gmx.net>:

> On Tue, Jul 17, 2018 at 11:39:46 +0200, hans gerte wrote:
> > Im using the newest version of the ffmpeg (installed via apt ffmpeg)
> At least the newest one that your repositories provide. Current is
> 4.0.1. Seeing you use Ubuntu x86_64, you could grab a newer binary
> build from here:
> https://johnvansickle.com/ffmpeg/
> > Unknown encoder 'libfdk_aac'
> Well, I did recommend to check with
> $ ffmpeg -encoders
> So obviously, that binary isn't build with libfdk_aac. You could
> instead still use "-acodec aac". (There were some improvements for that
> encoder in 4.0, but it should be okay in 3.4.2.)
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list