Solved

Merging FLASH video and audio files, either offline or via server

Posted on 2011-10-01
2
319 Views
Last Modified: 2012-06-22
I have audio and video .flv files (not an .fla) that I've downloaded as source files from an Adobe Connect Server meeting archive.  There are a lot of "Pods" there, but I only need the:

cameraVoip_1_4.flv
screenshare_0_2.flv

files.  There are .xml metadata files included.

I am looking for a way to either merge/mux them into a single .flv files so that they are synced, or for a way to serve them directly from a server using a FLASH player so that they are synced as they are served up from the server.

I use a Mac platform most of the time, except for the server, which is a hosted LINUX Apache PHP/MySQL server.  Ideally, I would prefer to keep the raw source files and have a way to serve them together from the server.

Thanks.
0
Comment
Question by:sscotti
2 Comments
 
LVL 29

Expert Comment

by:dgofman
Comment Utility
I am not sure you can merge file context at runtime, i think the best solution for you to play next video after ending.
0
 
LVL 37

Accepted Solution

by:
CyanBlue earned 500 total points
Comment Utility
I'd use ffmpeg to do that.

Here are some possible steps you could try. I have done some googling and pasted relavant links for you to follow.

1. Extract audio from the flv to create a temporary soind file to be used in the next step.
   http://stream-recorder.com/forum/ffmpeg-extract-mp3-audio-flv-video-losslessly-t7675.html

2. Combine two files(original video file + temporary audio file) using another ffmpeg call.
   http://stackoverflow.com/questions/1329333/how-can-i-add-audio-mp3-to-a-flv-just-video-with-ffmpeg

I am almost tempted to say that the second link will be able to do the job, but my personal experience with ffmpeg/flv tells me that there might be some hiccups here and there, and I don't really have a way to test it any more. So I am hoping those links will help you achieve your goal.

Another and probably easier solution would be creating a flv player in Flash that loads two dlv files at the same time into two sepratw video objects and control which one plays video and which one plays audio. Yes, you need to be extra careful on buffering so thay both videos have enough to play to sync them properly.

Hope that helps.

CyanBlue
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
Viewers will learn how to create burn videos onto a DVD using Nero Suite including creating a DVD menu and chapters.
Viewers will learn how to create and use Simpler instruments in Ableton Live. Load new Simpler into an empty MIDI track: Select a sample and drop it into sample window in Simpler: If sample is not pitched at C3, adjust tuning with Transpose para…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now