Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Building simple video editing solution

Community Beginner ,
Jul 06, 2014 Jul 06, 2014

Hi all

I'm building a very very simple video editing solution with flash. This solution should be able

a) Play multiple files mp4/flv (one after another)

b) Play only certain timeframe (trimming)

c) Add image

d) Add text

All of this should be done client-side. If I'm not mistaken, I could build a simple solution and then just control it with JS to define video file location, image location or text position. After user clicks publish, then I generate and render everything on server-side to create 1 final mp4/flv/... file.

1. I'm pretty sure this is possible. What do you think?

2. I was searching around and didn't find anything useful. I'm looking for some libs/framework to make my development easier. Any suggestions?

Thank you!

TOPICS
ActionScript
338
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 06, 2014 Jul 06, 2014

that can all be done with flash alone.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2014 Jul 08, 2014

Thank you for your reply.

Checking online, I also agree. I basically have to build a player which I control with JS (start playing video at certain time, show image, show text etc).

Only problem I don't know how to solve is, how to merge everything? How to create one flv/mp4 file from it?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2014 Jul 08, 2014

you don't need to use javascript.  it's simpler to use all actionscript.

but if you want to use javascript and communicate between js and actionscript, use the externalinterface class.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2014 Jul 08, 2014

Yes, I know. But Javascript does work. But still this is not the biggest problem.

Problem is how to convert all the code to flv/mp4? For example, I already developed everything. It reads mp4 files, shows images and texts. I control everything with JS. I have actions like

00:00 start playing video 1

00:04 show image 1

00:09 start playing video 2

00:14 show text 1 ...

So again, is there a way that I convert my swf with these actions to flv/mp4? I even tried defining everything with actionscript and using ffmpeg to convert, but it didn't work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2014 Jul 08, 2014

why use flash if you've already done this using js?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jul 08, 2014 Jul 08, 2014

I'm only using the JS so I can much better integrate flash into existing application. But this is not the problem.

Again, the problem is how to convert swf into flv/mp4...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 08, 2014 Jul 08, 2014
LATEST
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines