Adding A Static Image to Audio

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
ForbiddenSoul
New Cone
New Cone
Posts: 5
Joined: 08 Oct 2012 00:36

Adding A Static Image to Audio

Postby ForbiddenSoul » 26 Dec 2012 13:44

Hi guys o/
Need a little help please.

I have a static image I would like to be displayed while and audio recording is playing in the background. I have set up VLC to convert the PNG Image into MP4/AVI format and the WAV audio into ACC, the only trouble is when I try to mux the 2 together VLC only outputs the first 10 seconds.

How do I get VLC to output the full 10 minutes, or an easier way to do it?
Thanks!

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Adding A Static Image to Audio

Postby mederi » 26 Dec 2012 15:33

I do not know whether there is "an easier way to do it" but here is an appropriate setting at least:
VLC menu: Tools > Preferences > ( Show settings = All ) > Input/Codecs \ Demuxers \ Image: Duration is seconds [10,00] < "Duration in seconds before simulating an end of file. A negative value means an unlimited play time."
Do not forget to save changes and reastart VLC!

ForbiddenSoul
New Cone
New Cone
Posts: 5
Joined: 08 Oct 2012 00:36

Re: Adding A Static Image to Audio

Postby ForbiddenSoul » 26 Dec 2012 15:39

Solved it guys, had to add :image-duration=517 :image-fps=29.97 to match the length and fps of my output video. Note --image-duration=517 --image-fps=29.97 doesn't work.
Last edited by ForbiddenSoul on 26 Dec 2012 15:41, edited 1 time in total.

ForbiddenSoul
New Cone
New Cone
Posts: 5
Joined: 08 Oct 2012 00:36

Re: Adding A Static Image to Audio

Postby ForbiddenSoul » 26 Dec 2012 15:41

Didn't see your reply Mederi, that works too. thank you very much!

mymicrosoftmylife
New Cone
New Cone
Posts: 3
Joined: 10 Nov 2020 08:26

Re: Adding A Static Image to Audio

Postby mymicrosoftmylife » 28 Jun 2021 11:44

Solved it guys, had to add :image-duration=517 :image-fps=29.97 to match the length and fps of my output video. Note --image-duration=517 --image-fps=29.97 doesn't work.
Can you share me the full command you have used with the :image-duration and :image-fps options? I have the same problem. I want to convert a mp3 file to a video in mp4 use a jpeg image as video background but the video stop after 10s. The muxer setting works but I don't want to change it each time I reinstall VLC. Thank you.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 37 guests