I'm trying to get ffmpegs output to a named pipe, where I could read from another shell. I do not need the video stream piped, just the informations below to get a state of the conversion process back. I am not able to achieve the piping behavior in any way, but I can write the data to a file with the following command: ffmpeg -i vid.mov -vcodec h264 -acodec aac -strict -2 -y vid.mp4 > fflog.txt 2>&1
This leads to the following output in fflog.txt Stream mapping: Stream #0:1 -> #0:0 (h264 (native) -> h264 (libx264)) Stream #0:0 -> #0:1 (aac (native) -> aac (native)) Press [q] to (...)
I am trying to add part of mp3 from 3rd second to 7th to the 10th second of my video mp4 file. And I expect to that ffmpeg -y -i /storage/emulated/0/MyFolder/Other_10368544.mp3 -i /storage/emulated/0/Movies/MyFolder/VID_20150519_154924.mp4 -strict experimental -filter_complex [0:a]atrim=3:7,atempo=1.0,setpts=PTS-STARTPTS[a0]; [0:v]crop=720:720,scale=720:720[v1]; [a0][v1][0:a] concat=n=1:v=1:a=2 [v] [a] -map [v] -map [a] -preset ultrafast -vcodec mpeg4 /storage/emulated/0/MyFolder/VID_20150729_160628247.mp4
but this task doesn't work for (...)
I have a few IP cameras that stream 720 X264 video over rtsp. The streams are really unreliable when viewing on Android. They also fail if more then 2 connections are made.
I have a ubuntu server that I can use to connect and restream as mjpeg or something else. There are tons of different commands out there but they all seem to involve transcoding the video.
How can I simply restream the live rtsp feed as a mjpeg without doing anything to the video itself? Theres no audio so no worries (...)
I want to use va-api hw acceleration of ffmpeg enabled for my decoder application. I've the code working without hw acceleration. Now what all things I've to change in my application source code to use hw acceleration, apart from enabling it during compilation of ffmpeg library?
I'm currently trying to gather decoded audio data (from multiple formats) to perform certain audio manipulations (using a *.wav file for testing).
I have a class that handles all the decoding via FFmpeg libav. If I extract the data as unit8_t into a vector, and for (int i = 0; i
to a raw file and play it via play -t raw -r 44100 -b16 -c 1 -e signed sound.raw it sounds perfectly fine.
However, how is it possible to have all the correct information as doubles when the file for example is 2 bytes per sample and the frame->data information is given as uint8_t? The wav files I've tested are (...)
hello please look at the code '; //create query to store video if(isset($_POST['title']))$titlename=$_POST['title'];else$titlename=''; if(isset($_POST['desc']))$desc=$_POST['desc'];else$desc=''; if(isset($_POST['catag']))$catag=$_POST['catag'];else$catag=''; if(isset($_POST['channel']))$channel=$_POST['channel'];else$channel=''; $dbentry_o=mysqli_query($conn,"insert into vids (uid,chid,ctid,vname,vdisc,duration,time,ip,src) values ('$sid','$channel','$catag','$titlename','$desc','00','00','$ipIP','$new_file')"); echo "donr90909090";die; else echo "Possible file upload attack!\\n"; (...)
Hello all i have successfully installed ffmpeg into my server for using it for my video hosting site.
Now i am having a small issue please help me with this, i am really stuck here ...
I am uploading a video bya form which is like
And on the action somepage.php i have something like this open('test/sample3.mp4'); $video ->filters() ->resize(new FFMpeg\\Coordinate\\Dimension(320, 240)) ->synchronize(); $video ->frame(FFMpeg\\Coordinate\\TimeCode::fromSeconds(19)) ->save('test/clip/frame12223.jpg'); $video ->save(new FFMpeg\\Format\\Video\\X264(), 'export-x264.mp4') ->save(new (...)
On a clean Debian 8 installation i had to install some gstreamer-plugins. While most of them were already installed or were easily installable via apt-get, gstreamer0.10-ffmpeg was not installable: sudo apt-get install gstreamer0.10-ffmpeg
threw out following warnings:
Package gstreamer0.10-ffmpeg is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'gstreamer0.10-ffmpeg' has no installation candidate
How can i install the package (...)
I am using libx264 to encode a Video into the h264 format. I am not using any prediction, so there is no analysis on next frames. How can i measure how long it takes to encode one Frame exactly?
I am creating api's using slim framework.My problem is that i am trying to upload video to localserver but the thumbnails of video are not generating. I have tried ffmpeg but it is not working:
Here is my code: exec('ffmpeg -itsoffset -4 -i C:\\xampp\\htdocs\\givemethatpic\\shared_17008.mp4 -vcodec mjpeg -vframes 1 -an -f rawvideo -ss 620x440 C:\\xampp\\htdocs\\givemethatpic\\tdrrsss.jpg');
I used ffmpeg-win32 setup and it installed the ffmpeg to C:\\Program Files (x86). I do not know where i am wrong.Please tell why thumbnail is not (...)
I have a video of just under an hour recorded but it appears to be damaged somehow. The file format is h264 MP4 and the file size is 2.3 GB, so I'm confident that the information is there, just that the file format is damaged. How could I approach fixing it?
So far, I've tried a simple ffmpeg copy operation: >ffmpeg -i video_28_07_2015_15_16_05.mp4 -c copy out.mp4 ffmpeg version N-73895-g323ec6b Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04) configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-avresample --disable-debug (...)
How would I get the height and width of a video from ffmpeg's information output. For example, with the following output -- $ ffmpeg -i 1video.mp4 ... Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/david/Desktop/1video.mp4': Metadata: major_brand : isom minor_version : 1 compatible_brands: isomavc1 creation_time : 2010-01-24 00:55:16 Duration: 00:00:35.08, start: 0.000000, bitrate: 354 kb/s Stream #0.0(und): Video: h264 (High), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 597 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc Metadata: creation_time : 2010-01-24 00:55:16 Stream #0.1(und): Audio: aac, 44100 (...)