Ubuntu :: Achieve Video In FFMPEG?
Jun 13, 2010
I 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
View 1 Replies
ADVERTISEMENT
Aug 31, 2010
I'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].....
View 3 Replies
View Related
Feb 19, 2010
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..
View 3 Replies
View Related
Jun 5, 2010
is there a command to create a video from a mp3 and a png suitable to upload on ..... if anybody knows?
View 4 Replies
View Related
Jul 15, 2010
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 Related
Aug 30, 2010
Anybody 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:
View 9 Replies
View Related
Aug 13, 2011
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.
View 8 Replies
View Related
Apr 6, 2009
You 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 Related
Jun 24, 2010
I 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 Related
Mar 11, 2011
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]......
View 1 Replies
View Related
Feb 4, 2011
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.
View 1 Replies
View Related
Feb 25, 2011
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 Related
Aug 11, 2010
I 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.
View 1 Replies
View Related
Jan 3, 2010
I 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 Related
Mar 1, 2010
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]...
View 2 Replies
View Related
Jun 5, 2010
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 Related
Nov 10, 2010
Code:
ffmpeg -i Mumbai.Meri.Jaan.2008.1CD.XviD.AC3-5.1.Esub.By.Deejam.avi -ss 8170 -t 302 bambai-meri-jaan.mp3
FFmpeg version git-1dbd813, Copyright (c) 2000-2010 the FFmpeg developers
built on Oct 1 2010 19:28:12 with gcc 4.4.3
configuration: '--enable-avfilter' '--enable-avfilter-lavf' '--enable-vdpau' '--enable-bzlib' '--enable-
[Code].....
Error while opening encoder for output stream #0.0 - maybe incorrect parameters such as bit_rate, rate, width or height
View 5 Replies
View Related
Feb 19, 2010
I'm trying to encode a wmv file to flv with ffmpeg. The video codec is WMV3 and the audio codec is wmap (Windows Media Audio Professional). The command I use is:
Code:
/usr/bin/ffmpeg -i <input file>.wmv -s 640x350 -b 1024k -r 25 -ar 44100 -ac 2 -y <output file>.flv
Output:
Code:
FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --enable-shared --disable-static .....
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[wmv3 @ 0xb32c00]Extra data: 8 bits left, value: 0
Unsupported codec (id=86056) for input stream #0.1
As you can probably see the audio codec is not supported. Is there a way to encode WMV3+wmap with ffmpeg or any other tool in Linux? Windows Media Encoder in Windows is able to encode such files to a supported codec. For example: WMV3+WMA2/WMV2+WMA2, I could then encode it in Linux. I'm trying to find a way to directly encode WMV3+wmap in Linux.
View 14 Replies
View Related
Jul 31, 2011
command 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]....
View 3 Replies
View Related
Jan 7, 2010
I am trying to use ffmpeg and mencoder to slice a portion of my video out but the audio is always 2 seconds out of sync.
ffmpeg -i bird.avs.MP4 -acodec copy -vcodec copy -ss 00:08:40 -t 00:01:00 test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy bird.avs.MP4 -o test.mp4
mencoder -ss 00:08:40 -endpos 00:01:00 -oac copy -ovc copy -noskip bird.avs.MP4 -o test.mp4
[Code]....
View 5 Replies
View Related
Apr 5, 2011
Is there a way I can convert video with ffmpeg to be in mp4 format and play on either iphone or android?
I can't seem to get anything that I convert to play on a phone.
I can get other mp4 files I found to play on the phone but any file I convert into that format won't actually play.
View 13 Replies
View Related
May 15, 2011
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 Related
Jan 14, 2011
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?
View 2 Replies
View Related
Jul 24, 2011
I 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
View 1 Replies
View Related
Jul 20, 2010
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 Related
Feb 22, 2011
I 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:
View 6 Replies
View Related
Apr 29, 2010
copy old backups from 600+ CD/DVD media to a hard disk. Machine: A desktop with 4 DVD drivers, mainboard has 4 SATA conectors and only one PATA conector. My questions are:
1. What tuning can I do to the kernel on a Ubuntu Lucid Desktop to achieve maximum IO to dd/cp/rsync/whatever those medias to hd?
2. What's the best scenario regarding HD/DVD drive connections to mainboard regarding IO/throughput?
The intention is to insert 4 medias at a time and copy them all in parallel to a local hard disk.
View 2 Replies
View Related
Jul 19, 2010
I need to do the following things and googling didn't help much:
1.mount a volume(or windows share, whatever) into a non empty folder
2.both the original content of the folder and the content of the newly mounted volume is accessible
3.updated and newly created files can be written to the mounted volume or the original folder determined by something like a switch at mount time
4.if files with same names exist both in the folder and on the volume, then which file to be presented to the OS is determined by their last modified date/time.
any one can give a walk-through on how to achieve this?
View 5 Replies
View Related
May 27, 2010
i downloaded madwifi0.9.4 because my laptop has an atheros wifi card sadly i am new to linux so do not understand how to build a driver and just downloaded the software add-on windows wireless drivers but could not find an inf file then i see i have to build the thing myself from the kernel. well i am a win7 user wanting desperately to only have to use windows for playing games and do all my work on something more secure and would like to be able to use my laptop in a coffee shop etc.
View 6 Replies
View Related
Jul 30, 2011
How to achieve interrupts
any sources available apart from kernel code which show the usage of code...
View 2 Replies
View Related