Solved

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

Posted on 2011-10-01
2
337 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
ID: 36898757
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
ID: 36901266
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
Viewers will get an overview of how to make and use Drum Racks in Ableton Live. Load new Drum Rack into empty MIDI track: Fill rack with audio samples: Re-arrange sample slots as necessary: Adjust parameters of each slot to tailor each sound a…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

772 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