Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /usr/share/webpanel/src/Dmcl/AppBundle/Utils/Command.php
- En estas lineas $command = "/usr/share/webpanel/libs/ffmpeg/ffmpeg ............ que hay 3 que estan aproximandamente en la 281, y otras 3 en la 302 ....
- De antemano cojerias el valos del Timeshiff y harias algo como lo sigte:
- if $value = 0
- $timeshift = ""
- else
- $timeshift = "-itsoffset " $value
- y luego eso lo agregarias en los 6 comandos que aparecen antes del -i, o sea, quedaria algo como:
- $command = "/usr/share/webpanel/libs/ffmpeg/ffmpeg -loop 1 -i \"$logo\" $re $init $rtsp $timeshift -i \"$_sourceStream\" -r 30 -b:v 2500k $audioMap -acodec $audioCodec[$audio_codec] -ab 384k $output \"$_outputurl\"";
- dime si me copias?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement