Ubuntu Multimedia :: Ffmpeg Command To Make A Video From One Mp3 And One Png?
Jun 5, 2010is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?
View 4 Repliesis there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?
View 4 RepliesI spent about a half hour wrestling with different website tutorials about how to convert a file with ffmpeg and figuring out how to get all the video quality options right. Then I discovered you can just use the -sameq option and it figures it all out for you if you don't want to change the vid quality but just want it in another format. Thought I'd leave this on the site in case anyone else finds himself in the same boat.
View 1 Replies View RelatedI'm having trouble to find the right ffmpeg options to encode a video that can be read on a htc G1 cell phone. I have used several codecs and formats but none is working.
I have followed these instruction to install ffmpeg and x264 [URL]
Here is my ffmpeg config :
Code:
FFmpeg version SVN-r24953, Copyright (c) 2000-2010 the FFmpeg developers
built on Aug 27 2010 22:44:01 with gcc 4.4.1
configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-postproc --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-
[Code].....
I am trying to get a listing of video information using ffmpeg or mplayer. I have found a way BUT it is only returning 1 piece of info..
Here is what I'm doing in PHP:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_");
But this will not provide an entire listing, it will only print out 1 thing such as:
ID_AUDIO_CODEC=mp3
I can specify what exactly I want to know something like:
print exec("/usr/local/bin/mplayer -identify file.flv -ao null -vo null -frames 0 2>/dev/null | grep ^ID_VIDEO_WIDTH");
but I want to just have all the info available at once instead of having to loop through like 20 times..
I want to convert all video file in folder a become audio file in folder b use ffmpeg, how to type it in terminal?
View 7 Replies View RelatedAnybody had any success in getting ffmpeg to work as advertised with video capture from a webcam? I really want to convert the webcam output to VP8 or H264, but apparently ffmpeg can't even capture the webcam with a video4linux device.
Code:
I tried to trim a video in FFmpeg using this command:
Code:
ffmpeg -ss 00:20:48.500 -t 00:01:00 -i INPUT.mp4 -acodec copy -vcodec copy OUTPUT.mp4
But FFmpeg is not accurate and it started the video from a nearby point instead (from 00:24:46~). I tried to add 2 seconds to my starting point and it took another frame (not what I wanted).
The video source is H264 video with AAC audio.
I have some videos in an mkv container that are 1920 pixels wide, but less than 1080 pixels high. This causes problems when playing the videos on a PS3 (after converting to an AVCHD system), because the PS3 won't centre the video, leaving a very large black bar at the bottom but none at the top. Is there a way to use mencoder or ffmpeg to losslessly add padding to the top and bottom to make the video 1920x1080?
If I use
Code:
ffmpeg -i video.mkv -acodec copy -vcodec copy -scodec copy -padtop 132 -padbottom 132 out.mkv
then ffmpeg won't do the padding, and the resulting file is basically exactly the same. If I use
Code:
ffmpeg -i video.mkv -acodec copy -vpre libx264-lossless_fast -scodec copy -padtop 132 -padbottom 132 out.mkv
I get
Code:
Output #0, matroska, to 'anr.mkv':
Metadata:
encoder : Lavf52.64.2
[code]......
I'm trying to write a bash script for gpodder to automatically convert video podcasts to play on my media player. I'm using ffmpeg for the conversions (compiled myself with all codecs enabled). I'd like to avoid resampling the video or audio whenever it's unnecessary but ffmpeg seems to want to resample my video even if I only give it audio parameters to change.For example I have a test video with the following parameters:
Code:
Stream #0.0(eng): Video: h264, yuv420p, 640x480, 1394 kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 5994 tbc
Stream #0.1(eng): Audio: aac, 44100 Hz, stereo, s16, 159 kb/s
[code]...
How do you loop a video a number of times in ffmpeg or mencoder? I made a ogv out of a gif. It loops 1 time, so it's less than a second.
View 4 Replies View Relatedcommand line option in ffmpeg to do this
I am told I need the output file to comply with this
Video Resolution: 480*320
Video Bitrate: 768 kbps
Audio Bitrate: 128 kbps
Video Format: MPEG-4 (be sure not to use H264, as it�s not supported in the current firmware)
[Code]....
i am using Ubuntu 11.04 on my computer system. I urgently need a good video converter for converting videos.I have already installed FFmpeg and men-coder,Winff etc. The problem is each has its own drawback.For instance ffmpeg cannot convert a .avi to .3gp with audio working. My preferences are the converter should be user friendly, should support all popular video formats.
View 2 Replies View RelatedI am having problems with ffmpeg. My goal is to capture a video stream from my webcam and feed that into a webcam-capturing program. But to get that to work, I will need ffmpeg to work. I need the following command to work, but I get an error:
Code:
$ ffmpeg -b 100K -an -f video4linux2 -s 320x240 -r 10 -i $device -b 100K -f image2pipe -vcodec mjpeg - | perl -pi -e 's/\xFF\xD8/KIRSLESEP\xFF\xD8/ig'
ffmpeg: relocation error: /usr/lib/libavfilter.so.2: symbol avformat_find_stream_info, version LIBAVFORMAT_53 not defined in file libavformat.so.53 with link time reference
I've got a 1920x1080 video I've edited and rendered with Cinelerra, and I'm trying to use ffmpeg to transcode it to something smaller. However, when I use a command like this, for instance:
Code:
I inevitably get some weird green band at the bottom of the frame in the converted video. I know that there's some weird pixel stretching going on here, because the NTSC standard for 16:9 is 720x480 with rectangular pixels, and the 1080 version has square pixels, so I'm guessing the green band is an artifact of that process?
Since ffmpeg 6 is out for some time, when will Ubuntu Lucid afford such a new ffmpeg package from its repository?
View 2 Replies View RelatedI am using ffmpeg for merge wav files to a mov video. My doing is below
1. First extract audio (wav file) from video
2. Create wav file from mp3 track 1
3. Create wav file from mp3 track 2
4 Merge extract audio from video with track 1 and track2.
Now finally create a new video with original video's video stream and merged audio stream.
Process is working. However final video is 3-4 times greater than original one. I want that final video should be near about size of original video. As I understand, all three wav files (created from ) make video larger.
Example commands i using is as below:
I have just installed my gstreamer on my ARM board. In that i used to play the video by using command "gst-launch filesrc location=/root/yuvraj.mp4 ! mfw_mp4demuxer ! queue max-size-time=0 ! mfw_vpudecoder ! mfw_v4lsink"it is working fine. but the screen is very small and it is in middle, How to make that full screen and the letters which is in terminal is also coming along with the video. how rectify that problem
View 1 Replies View RelatedLet's say you have a presentation made in OO.o Impress and you have an audio record of the speaker, and you want to combine these two together into a nice video consisting basically of the presentation slides and the speaker's voice - how would you do it?
Would you export the presentation to flash (.swf file), then import it in a video editor (if so. which one?)?
Or would you rather export slides to individual pictures and import them one by one to a video editor (again, which one?)?
Can I just out ubuntu 10.04 on and I installed vlc and when I right click on a video file and say open with and the box is ticked to open with vlc but it doesn't make vlc the default player. I dunno what I'm doing wrong, maybe there is another way?
View 5 Replies View RelatedHow do I make VLC media player the default video player, so that if I double click a video file VLC opens it?
View 2 Replies View RelatedIs there any video enhancing software to make SD to HD?
View 1 Replies View RelatedI have a video I want to convert to another video format that's similar to another video. The video's properties and codecs as follows:
Code:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Vid.mp4':
Duration: 00:02:35.80, start: 0.000000, bitrate: 1731 kb/s
Audio: adpcm_ima_wav, 22050 Hz, stereo, s16
Video: mjpeg, yuvj420p, 128x128 [PAR 1:1 DAR 1:1], 30 tbr, 30 tbn, 30 tbc
Is it possible to make video output (to monitor) black and white? Without changing the monitor settings, of course.
View 2 Replies View RelatedYou want to cut lets say a 15 minute video into 10 minute video, removing the first 5 minutes of it using ffmpeg?s?
View 8 Replies View RelatedI have some video clip and I want to add a title in its buttom center. For exemple, My clip is video.mp4 and I want to add the title "hello world".Does ffmpeg (or mencoder) enables me to do this?
View 2 Replies View RelatedI wanted to share this nifty technique I came across for capturing video using the command line. The problem: I have a bunch of old VHS tapes (remember those...?) and need to get them digitized. I have a VCR, and a Dazzle Hollywood DV Bridge which captures video to DV over Firewire (IEEE1394). I first tried using Final Cut Pro, but it wouldn't capture, perhaps because it expects a controllable DV camera, and the Dazzle isn't a DVC device. I then tried my other favorite video editing app, Kdenlive, but it seemed to have the same problem.
I took a quick stab at the other common editors in the repositories (Kino, Openshot, etc.), but no luck with any of them. Then I remembered the dvgrab command, and gave that a shot and it worked, giving me a nice .dv file. However, DV makes pretty big files, which I wanted to compress down to something more manageable. Since I was going to be digitizing hours and hours of tapes, it would be great if I could compress while capturing. A little more googling and I had the answer - you can pipe dvgrab directly into ffmpeg! Here's the command:
Code:
dvgrab -format dv1 - | ffmpeg -f dv -i - -b 2000k -ab 512k -y output.mov
the first part starts the capture, in DV1 format, and outputs it to a pipe file. usually you give dvgrab a filename, like
Code:
dvgrab -format dv1 capture.dv
the second part does the encoding:
-f dv: use DV format
-i -: input from the pipe
-b 2000k: video encoding bitrate of 2000k/sec, high quality
-ab 512k: audio encoding bitrate
-y: overwrite file if it exists
I didn't set the codec explicitly, for Quicktime it defaults to MPEG4. This worked great, capturing a 2-hour tape into a high-quality quicktime around 2GB. But I also wanted to be able to view the capture while it was going. Since I left the field monitors and audio splitters at the office, I had to figure out how to do this in software. Turns out that the "tee" command does exactly what I needed - the shell never ceases to amaze! Here's the full command:
Code:
dvgrab -format dv1 - | tee >(ffmpeg -f dv -i - -b 2000k -ab 512k output.mov) >(playdv --disable-audio --no-mmap)
tee uses the
Code:
>(command)
syntax to pipe simultaneously to multiple processes. The only thing that didn't work was audio playback, which was choppy and introduced errors in the capture file. I think a little tweaking with the capture rates could fix that.
I would like to make a script for converting music using ffmpeg. I have a lot of music that I would like to convert to a different format and I don't want to have to do it manually each time. At the moment, I am using this command to convert the music:
Code:
ffmpeg -i <nameofsong>.* <nameofsong>.mp3
I've created some time-lapse videos from photos, using this command: ffmpeg -i IMG_%03d.JPG -s 1440x1080 -sameq video.MP4
And it worked great. Now I want to join several of these time-lapse videos to make a single, longer video (all the input videos have the exactly same format). I already tried using: cat video1.MP4 video2.MP4 > stitch.MP4
but the output ends up being equal to video1.MP4, I don't want to transcode nor changing any parameter of the video, I just want a end-to-end stitching, as if those videos were on a playlist.
I'm trying to find out how to add watermark to a video using a ffmpeg via console, because I have to do it quick. There is tutorial on ..... (other forums use also this video tutorial) for this but there is a small problem - in ffmpeg 6.1 there is no more vhook subsystem which is used in tutorial...
View 12 Replies View RelatedI was experimenting with transcoding video with ffmpeg. using the command
Code:
ffmpeg -i moviename.avi moviename.mkv
outputs the .avi into .mkv, but the output quality is very, very bad, while the original is dvd-quality.