Hi
I am new to Linux and video. Using Ubuntu 8.10 I want to create a video using one .JPG image and an MP3 file. I would also like to know how to use a changing series of JPG images as I have seen on Youtube.
I have been stepping into the world of FFMPEG and Kino but am not at all proficient. Any FFMPEG suggestions or tutorial links would be greatly appreciated.
Daka
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 4 of 4
Thread
-
-
I'd check out dvd-slideshow. What you want to do is really easy with that. I'm on Ubuntu 8.10 too, and dvd-slideshow is in the repositories so you can install it easily. There is a known issue with dvd-slideshow and the version of ffmpeg used by ubuntu. Here is a link to a forum thread with the fix (pretty easy and worked for me). See the post by gerben1 for the fix.
Also, you mentioned Kino; If you like that I'd also check out avidemux. Like Kino it has a nice gui and features. Each has their own strengths. -
I did something similar to this when I made an SVCD of stills with audio commentary.
https://forum.videohelp.com/topic134599.html
It may not be exactly what you're looking for, but you can adapt it. Basically, you use mencoder to make an m2v of the video, then convert your mp3 to mp2. then use mplex to mux them together. The image will stay on the screen for the duration of the audio.
as far as an ffmpeg tutorial, I find the best one to be the manpage itself.
Code:man ffmpeg
-
I was recently thinking about another way to do this, and since this is a fairly common question I thought I would post this. A quick and dirty way to turn an image into moving video is to create a series of images (frame1.jpg, frame2.jpg... or even 1.jpg, 2.jpg, etc) and then use either ffmpeg or avidemux to read the stream of images into video. Since all of the frames will be the same, you can make copies or (better yet) symbolic links. The following script will allow you convert a single image into moving video for further manipulation by the tool of your choice (I like avidemux):
Code:#!/bin/bash counter=1 image1="0626092028.jpg" #Change to the name of your image file. ext=".jpg" #change to match the type of file set for image1 above if other than jpeg. audiotrack="soundtrack.mp3" #Change to the name of the audio track you want to use #create the video frames. Change the loop value of 300 to one more than the number of frames you want to create. while (( counter < 300 )) do ln -s $image1 frame$counter$ext counter=$(($counter+1)) done #Convert the created frames into a video file. #or remove all following lines and open frame1.jpg with avidemux and import the audio track separately. ffmpeg -r 29.97 -i frame%d$ext -i $audiotrack -vcodec ffv1 -acodec copy stilltovid.avi #clean up the symbolic links while (( counter > 0 )) do counter=$(($counter-1)) rm frame$counter$ext done
Similar Threads
-
mp3 + jpg -> avi/mp4/mkv?
By disgust in forum Video ConversionReplies: 10Last Post: 22nd May 2012, 10:25 -
Easiest question ever - jpg+mp3=video. (for youtube)
By noiz in forum Newbie / General discussionsReplies: 6Last Post: 14th Aug 2010, 19:10 -
Best/Easiest way to make multiple segments of a mp3 file?
By raydeneg in forum AudioReplies: 4Last Post: 7th Oct 2008, 08:47 -
Extract still pictures from video into one jpg file (as an overview)?
By 21335 in forum MacReplies: 7Last Post: 15th Sep 2008, 07:36 -
AVCHD the new MP3/JPG of video?
By PuzZLeR in forum Newbie / General discussionsReplies: 0Last Post: 27th Mar 2008, 19:00