-
-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DynamicHLSPlaylist parseLines always return null #450
Comments
Please post your code that involve |
@SadeghPM i don't have any other code that involve with $withoutFileExt = preg_replace('/\\.[^.\\s]{3,4}$/', '', $getVideoData->video_file);
$format = new X264('aac', 'libx264');
$format->setAdditionalParameters(['-c:v', 'h264_amf']);
$lowBitrate = ($format)->setKiloBitrate(250);
$midBitrate = ($format)->setKiloBitrate(500);
$highBitrate = ($format)->setKiloBitrate(1000);
FFMpeg::fromDisk('public')
->open("video/{$getVideoData->folder_video}/{$getVideoData->video_file}")
->exportForHLS()
->addFormat($lowBitrate)
->addFormat($midBitrate)
->addFormat($highBitrate)
->save("{$withoutFileExt}.m3u8"); Ok I will try your pull request code hopefully it will work normally, thanks for letting me know. |
@sandyh90 make sure the the video is residing in your storage folder Nothing is wrong with the current setup
this is what I have on my setup. |
@aronquiray yup but i have tried thing others like run |
Hi,
I have a problem while starting to encode my video using this package because
DynamicHLSPlaylist::parseLines()
value always return null did i do something wrong?and this is my code and debug output.
Code
Output
while i trace the error where caught in this method
The text was updated successfully, but these errors were encountered: