Peter Tofte wrote:
> Hi Robert,
>
> that did the trick. I didn't notice the card0 issue, I know it has to be renderD128. The " ' "s are causing problems..I think its better to place the actual ffmpeg command in a shell script. I will ditch the "-re" option, it doesn't make sense for live tv anyway, as the in-pipe will only provide data real-time anyway - right?
>
> I am now able to transcode live tv (yes the in.mkv was merely a test setup) using vaapi. Only thing missing now is a way to cast to chromecast. Unfortunately chromecast only supports webm (transcoding required, and i dont have hardware supporting VP8 encoding) or MP4 which is no good for live TV due to some MOOV thing in the file header.
>
> -Peter
Since the file was merely a placeholder, then yes, ditch the
-re
option. As far as MP4 support, you can try thisj: you can change
-f mpegts
to
-f mp4 -movflags isml@. Generally streaming requires the MOOV to be moved to the beginning, and with @ffmpeg
this requires a second pass which will not work with live streaming (@-movflags faststart@), but the isml flag is supposed to be for a streaming site endpoint, so perhaps you can give that a try.
Otherwise, glad you finally got it working.