Im trying to convert a m3u8 file but im getting encoding error.
How do i get the ffmpeg output from the thrown exception to check where is the error? this is the php code.
$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open("/home/enrico/clipper/tmp/streamers/Antonio/" . $video_id);
$format = new FFMpeg\Format\Video\X264();
$format->setInitialParameters(array('-bsf:a', 'aac_adtstoasc' , '-acodec', 'copy', '-vcodec', 'copy'));
$video->save($format, "playlista.mp4");