You are not logged in.

#1 2009-11-29 06:16:06

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

[SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Does anyone know how to create an OGG Theora video (.ogv) from an audio track and one still image. I just want one video frame to repeat until the audio file is finished playing. Make sense? Any help would be appreciated, and if possible I'd love to do it with ffmpeg2theora. Thanks!

Last edited by tony5429 (2009-11-30 03:14:54)

Offline

#2 2009-11-29 09:45:19

doorknob60
Member
Registered: 2008-09-29
Posts: 403

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Honestly, I just used Pitivi last time I made one of those. Works fine, don't know if there's any geekier or simpler way to do it than that smile

Offline

#3 2009-11-29 15:05:51

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Hrm... it seems Pitivi is a frontend for gstreamer - I'll look at the gstreamer man page and see what I can figure out. It is essential that I find a command-line solution as the encoding will be called by a script on a server.

Offline

#4 2009-11-29 16:29:38

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

http://lists.mplayerhq.hu/pipermail/ffm … 19761.html
I've tested it w/ 'ffmpeg -loop_input -f image2 -i image.jpg -i sound.mp3 blah.avi' and the output works w/ mplayer but I had issues w/ .ogg and .ogv output.

In case vlc and gstreamer won't do, check out http://v2v.cc/~j/ffmpeg2theora/

Last edited by karol (2009-11-29 16:43:23)

Offline

#5 2009-11-30 03:01:13

tony5429
Member
Registered: 2006-03-28
Posts: 1,017

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Thanks everyone! This works for me,

ffmpeg -vcodec copy -acodec copy -loop_input -i image.png -i audio_track.mp3 output.avi
ffmpeg2theora -v 10 -a 10 output.avi -o theora.ogv

Offline

#6 2009-11-30 15:47:38

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Kdenlive works to do such as a GUI.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#7 2009-11-30 15:51:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] How to Create OGG Theora Video From an Audio Track + 1 image

Cool, thanks for sharing :-)

Offline

Board footer

Powered by FluxBB