Adding audio to an audioless file

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
mortpiedra
New Cone
New Cone
Posts: 3
Joined: 05 Apr 2015 20:26

Adding audio to an audioless file

Postby mortpiedra » 01 Feb 2016 10:52

I have 2 files
video: vid.mp4 (5min long)
audio: audio.mp3 (2min long)

and want to create vid_with_audio.mp4 with the audio from audio.mp3

I want to versions:
1. where the sound from audio.mp3 is played once during the 5 min duration of the video
2. where the sound from audio.mp3 is played repeatedly during the 5 min duration of the video and truncated at the end of the video.

I tried the following command in a '.bat file:

path=C:\Program files\VideoLAN\VLC\
vlc.exe "vid.mp4" --input-slave="audio.mp3" --sout=vid_with_audio.mp4

and

path=C:\Program files\VideoLAN\VLC\
vlc.exe "audio.mp3" --input-slave="vid.mp4" --sout=vid_with_audio.mp4

In both cases it runs 'forever' and I got to interrup but none produces the result I am expecting.

Thanx 4 any help.

mortpiedra
New Cone
New Cone
Posts: 3
Joined: 05 Apr 2015 20:26

Re: Adding audio to an audioless file

Postby mortpiedra » 27 Feb 2016 13:31

I still have not been able to solve this. Anybody out there with a proposal? Thanks.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests