Tried doing that.
Then ran ffmpeg and it didn't work for me.
I got this output in terminal:
rr@rr-Studio-XPS-8000:~$ ffmpeg -loop_input -i ~/Desktop/1.jpg -i ~/Desktop/E.mp3 -shortest -b 1000k -acodec copy video.mp4
ffmpeg version 0.8.3-4:0.8.3-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jun 12 2012 16:52:09 with gcc 4.6.3
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
-loop_input is deprecated, use -loop 1
Input #0, image2, from '/home/rr/Desktop/1.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj422p, 2048x1536, 25 tbr, 25 tbn, 25 tbc
-loop_input is deprecated, use -loop 1
[mp3 @ 0x2529660] max_analyze_duration reached
Input #1, mp3, from '/home/rr/Desktop/E.mp3':
Metadata:
artist : Eliane Elias
album : Yule Struttin' - A Blue Note Christmas
genre : Jazz
track : 4
title : I'll Be Home For Christmas / Sleigh Ride
date : 1990
Duration: 00:04:57.06, start: 0.000000, bitrate: 185 kb/s
Stream #1.0: Audio: mp3, 44100 Hz, stereo, s16, 185 kb/s
File 'video.mp4' already exists. Overwrite ? [y/N] y
Incompatible pixel format 'yuvj422p' for codec 'mpeg4', auto-selecting format 'yuv420p'
[buffer @ 0x2537100] w:2048 h:1536 pixfmt:yuvj422p
[avsink @ 0x2551d20] auto-inserting filter 'auto-inserted scaler 0' between the filter 'src' and the filter 'out'
[scale @ 0x2557a40] w:2048 h:1536 fmt:yuvj422p -> w:2048 h:1536 fmt:yuv420p flags:0x4
Output #0, mp4, to 'video.mp4':
Metadata:
encoder : Lavf53.21.0
Stream #0.0: Video: mpeg4, yuv420p, 2048x1536, q=2-31, 1000 kb/s, 25 tbn, 25 tbc
Stream #0.1: Audio: libmp3lame, 44100 Hz, stereo, 185 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #1.0 -> #0.1
Press ctrl-c to stop encoding
frame= 1 fps= 0 q=9.4 Lsize= 176kB time=0.04 bitrate=35969.6kbits/s
video:174kB audio:0kB global headers:0kB muxing overhead 0.685802%
rr@rr-Studio-XPS-8000:~$
What went wrong?
Bookmarks