LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-04-2004, 10:24 PM   #1
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Rep: Reputation: 15
create a music score for a home movie


I have a home movie and would like to replace or add to the audio with a series of music titles in sort of a movie score. I guess I would have to create a single mpa that is the music titles back to back and encode it with the movie. Ideally I would like to add the score as a background to the existing audio of the people talking, but short of that I would like to separate the audio from the video and replace it with the music tiltes. I would also like to have it fade in and fade out.

I have already demuxed the video into a m2v and mpa. I thought if I could create an mpa that is a series of songs back to back I could just mux them together. I don't know how to do that nor how to make it fade in at the beginning and out at the end.

Can anyone suggest a way to do that?

Jack
 
Old 11-05-2004, 01:04 AM   #2
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If you mux the two audio streams, you will get just that - two audio streams (think like a DVD with separate commentary tracks). To merge the two audio streams, check out soxmix from the sox package.

To edit the files and mess around with the volume, I think this program will do the job http://audacity.sourceforge.net/ (warning: I have never used it myself - it might not be what you want). MixMeister under Windows would certainly fit the bill for editing your music track, but I have no idea if it will run under wine.
 
Old 11-05-2004, 11:37 AM   #3
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
I'll check those out, thanks, but I think my biggest problem is building the score. The home movie is about a half hour long. I'll need to couple at least six five minute songs togther end to end into a single mpa file so no one will repeat. Do you think soxmix or audacity will do that? Ive heard of them but know little about them. I guess transcode or mjpeg or mencoder won't do will it? I guess I am hoping someone has already invented this wheel.

thanks again for the response.

I-need-a-quote-jack
 
Old 11-05-2004, 09:42 PM   #4
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
If you convert the songs to mp2 beforehand, you can just join them together with cat!
Code:
cat song1.mp2 song2.mp2 song3.mp2 > audiotrack.mp2
It's the volume control and effects that are the tricky part, and I believe that's what audacity will help with (and do the same job as cat at the same time). Soxmix is just for merging two audio tracks into an overlaid single track (so you can hear the original audio with music in the background), and has some limitations (for one, the two streams must be the same sample rate - check the docs). Again, audacity may be capable of this too. transcode and mencoder are for changing audio formats... you can use them to make simple adjustments, but nothing complex like fading in and out throughout the track.
 
Old 11-07-2004, 09:20 PM   #5
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
Thanks, I'll check out audacity.

Jack
 
Old 06-12-2005, 09:21 PM   #6
jackstoage
Member
 
Registered: Sep 2003
Posts: 79

Original Poster
Rep: Reputation: 15
add music score to mpeg

I can create a music score in audacity in mp3, ogg, or some other format. I now need to strip the audio off of my home movie and replace it with the music score. Can I do that in mencoder mplayer or transcode and how?

jack
 
Old 06-12-2005, 11:31 PM   #7
CroMagnon
Member
 
Registered: Sep 2004
Location: New Zealand
Distribution: Debian
Posts: 900

Rep: Reputation: 33
You said you demuxed the home movie into m2v and mpa portions. You should just be able to use mplex to combine the video stream with your score (I think the score would need to be mpa as well, so look at converting to that... mp2enc and a suitable decoder should do it). The command would be like this:
mplex -f 8 -o final_result.mpeg video_stream.m2v audio_stream.mpa
(the -f 8 is best if you plan to make a DVD from the video - check the man page for details on other formats).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Create subtitle in dvd-movie?? pingu Linux - Software 4 11-25-2005 06:14 AM
create a movie from a slide show yamokojc Linux - Software 2 03-16-2005 11:20 PM
Want to play music and movie without installing KNOPPIX in the Harddisk sharonlim Debian 4 10-15-2004 01:01 AM
Avidemux wont create the ful movie? Borka Linux - Software 0 06-30-2004 04:51 AM
yeah theres music in linux, but where is movie soft? X Predator X Linux - General 3 09-21-2002 12:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration