?
Solved

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

Posted on 2011-10-01
2
Medium Priority
?
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

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…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

800 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