cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Use World Cup data to build models, explore spatial relationships, and create informative visualizations in JMP. Register. July 17, 2 pm US Eastern Time.
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
lala
Level IX

How can merge such binaries with JSL?

If I want to use JMP for something other than statistics: For example, I downloaded several video clips from the Internet, got binaries, and how to combine these binaries with JSL and save them as one video file. For example, this video is formatted as mp4 Thanks Experts!

2023-04-03_20-09-56.png

rr = "";
rs = "";
For( j = 1, j <= N Row( dt ), j++,
	u = dt[j, "url"];
	request = New HTTP Request( URL( u ), Method( "Get" ) );
	rs = request << send;
	 rr = rr || rs ; //??
);

rr << Save video( "c:\3\test.mp4", "mp4" );  //??

 

 

2 REPLIES 2
Craige_Hales
Super User

Re: How can merge such binaries with JSL?

You might want to use FFmpeg. Make a Video in JMP with FFmpeg  ABC Music Video 

 

I believe RunProgram+FFmpeg will let JSL read and write a video, frame-by-frame.

 

By the time you figure out how to make it all work, you'll probably be able to make FFmpeg join two videos without JMP. If you don't need to see the images in JSL, there is no reason to use JSL.

 

FFmpeg has an enormously complicated command line. And a legal agreement that might make it not an option for some people.

Craige
lala
Level IX

Re: How can merge such binaries with JSL?

Thank Craige! Yes, I still need to use JSL to analyze and get the real download address of the video. But Istill can't use JSL combined with ffmpeg to directly merge different videos in memory and save them to hard disk after merging.

Recommended Articles