Advertisement
programmingjob

Untitled

Mar 9th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. /usr/share/webpanel/src/Dmcl/AppBundle/Utils/Command.php
  2.  
  3. 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 ....
  4.  
  5. De antemano cojerias el valos del Timeshiff y harias algo como lo sigte:
  6. if $value = 0
  7. $timeshift = ""
  8. else
  9. $timeshift = "-itsoffset " $value
  10.  
  11. y luego eso lo agregarias en los 6 comandos que aparecen antes del -i, o sea, quedaria algo como:
  12. $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\"";
  13.  
  14. dime si me copias?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement