Category : video

i wanted to output the video that the user submitted. But for some reason no of the following attempts worked: 1. echo "<video width=’500px’>"; echo "<source type=’video/mp4′ src=$var autoplay>"; echo "</video>"; echo "<video width=’500px’>"; echo "<source type=’video/mp4′ src=’../../../clips/<?php echo $_POST["type"]; ?>/<?php echo $_POST["name"]; ?>_<?php echo $_FILES["file"]["name"]; ?>’ autoplay>"; echo "</video>"; code above: move_uploaded_file($_FILES["file"]["tmp_name"], "../../../clips/" . ..

Read more

I have two links for the same video resource, like this: https://redirector.googlevideo.com/videoplayback?expire=1621814409&ei=KZiqYK7wFd6z1gL3h7C4BA&ip=45.66.152.30&id=o-AAO_YMXFcOOjXxkolLZUwLt39MAMN1rz-OES-ZK025JH&itag=399&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C271%2C278%2C313%2C394%2C395%2C396%2C397%2C398%2C399%2C400%2C401%2C597%2C598&source=youtube&requiressl=yes&mh=8m&mm=31%2C29&mn=sn-aigzrn7s%2Csn-aigl6ney&ms=au%2Crdu&mv=u&mvi=5&pl=22&pcm2=yes&vprv=1&mime=video%2Fmp4&ns=qb0CLsNhVNl6bd-PLn0pZ5cF&gir=yes&clen=912850152&dur=6797.240&lmt=1619639707781807&mt=1621792010&fvip=5&keepalive=yes&fexp=24001373%2C24007246&beids=9466586&c=MWEB&txp=5531432&n=_lLaFBetIW3X4jVS&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIhAO522w-2WXZDj2uS2knmgNpXGkPnXnmBxWwDKzdQKd-4AiBt7L2tn1noufcF6fntIpHzGLWEj4fUJOfDt8ZLn5tiFw%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AG3C_xAwRQIgbA82OwavdOwY1G1ZuknjTTyORNP9ujpbVKwxRNY0-OQCIQDCo3HdX6l_TgmIdnaTFuTRtY7cATXd0Zeo3YNr10S8CA%3D%3D&ratebypass=yes&utmg=ytap1_602k5_r9ZCs and https://redirector.googlevideo.com/videoplayback?expire=1621814409&ei=KZiqYK7wFd6z1gL3h7C4BA&ip=45.66.152.30&id=o-AAO_YMXFcOOjXxkolLZUwLt39MAMN1rz-OES-ZK025JH&itag=140&source=youtube&requiressl=yes&mh=8m&mm=31%2C29&mn=sn-aigzrn7s%2Csn-aigl6ney&ms=au%2Crdu&mv=u&mvi=5&pl=22&pcm2=yes&vprv=1&mime=audio%2Fmp4&ns=qb0CLsNhVNl6bd-PLn0pZ5cF&gir=yes&clen=110007294&dur=6797.293&lmt=1619364213594775&mt=1621792010&fvip=5&keepalive=yes&fexp=24001373%2C24007246&beids=9466586&c=MWEB&txp=5531432&n=_lLaFBetIW3X4jVS&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cpcm2%2Cvprv%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRQIgBe06JcPvmJlwsynSXm8ReK1b39fe68tPMT_Smt9vjh4CIQDAq80skrPLc8HPMvy7kV6SytGGx1W_GmjP_lviDs7NXA%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl&lsig=AG3C_xAwRQIgbA82OwavdOwY1G1ZuknjTTyORNP9ujpbVKwxRNY0-OQCIQDCo3HdX6l_TgmIdnaTFuTRtY7cATXd0Zeo3YNr10S8CA%3D%3D&ratebypass=yes&utmg=ytap1_602k5_r9ZCs I want to retrieve audio from the second one and replace it with audio from the first one and save the first as a local file. Is any way to do this by the means of FFMPEG codec in my php ..

Read more

I am trying to trim multiparts from single video using ffmpeg 4.3 fmpeg -i input.mp4 -filter_complex "[0:v]trim=start_frame=25:end_frame=100,setpts=PTS-STARTPTS[v0]; [0:a]atrim=1:4,asetpts=PTS-STARTPTS[a0]; [0:v]trim=start_frame=200:end_frame=300,setpts=PTS-STARTPTS[v1]; [0:a]atrim=8:12,asetpts=PTS-STARTPTS[a1]; [v0][a0][v1][a1]concat=n=2:v=1:a=1[v][a]" -map "[v]" -map "[a]" output.mp4 Getting this error in FFMPEG 4.3 latest [mpeg4 @ 0x2b14e80] Invalid pixel aspect ratio 3875/3864, limit is 255/255 reducing please help if anyone have solution for ffmpeg 4.3 Source: ..

Read more

I have a video and converted to mp4 format. I am using FFMpeg to convert the video. Video conversion is successfully done but video is getting blur. any Help? $fileName = "convertedVideoFile.mp4"; $mp4File = "oldVideoFile.mp4"; $format = new X264(‘aac’, ‘libx264’); // create object $ffmpeg = FFMpeg::create([ ‘ffmpeg.binaries’ => exec(‘which ffmpeg’), ‘ffprobe.binaries’ => exec(‘which ffprobe’), ‘timeout’ ..

Read more

I’m trying to add watermark to my video When I upload some videos work fine, but some videos I get an error that retrieve the file with 0kb. I don’t know if its why the video is 4k… I have no idea And I’m running another command to scale the video with the same file ..

Read more