Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Frame-wise splitting of Audio Video files

Subject: Frame-wise splitting of Audio Video files

From: jinesh

Date: 11 Jan, 2011 18:40:08

Message: 1 of 4

Hello all,

Thanks for any help in advance.

I have a .avi file. I want to split the video according to a range of frame numbers.
If its only the video frames, MATLAB lets me do this very easily.

But I want to split a video and the new 'cut' video should have its corresponding audio also. Is there any way MATLAB lets us split an A/V file frame-wise?

I hope I have clearly stated my query. Let me know if you need more details.

Regards,
Jinesh

Subject: Frame-wise splitting of Audio Video files

From: witek@mathworks.com

Date: 12 Jan, 2011 17:16:42

Message: 2 of 4

Hi,

To obtain both video and corresponding audio, use MultimediaFileReader object from Video
and Image ProcesingBlockset (work in MATLAB and Simulink):

http://www.mathworks.com/help/toolbox/vipblks/ref/video.multimediafilereaderclass.html

Witek



jinesh <jinesh.jain@student.utdallas.edu> wrote:
> Hello all,
>
> Thanks for any help in advance.
>
> I have a .avi file. I want to split the video according to a range of frame numbers.
> If its only the video frames, MATLAB lets me do this very easily.
>
> But I want to split a video and the new 'cut' video should have its corresponding audio also. Is there any way MATLAB lets us split an A/V file frame-wise?
>
> I hope I have clearly stated my query. Let me know if you need more details.
>
> Regards,
> Jinesh

Subject: Frame-wise splitting of Audio Video files

From: Syamsul

Date: 19 Mar, 2011 15:24:07

Message: 3 of 4

Hi Jinesh,

Can you email to me source code to split avi video into frames.

Thanks in advance.

Syam

"jinesh" wrote in message <igi868$kqb$1@fred.mathworks.com>...
> Hello all,
>
> Thanks for any help in advance.
>
> I have a .avi file. I want to split the video according to a range of frame numbers.
> If its only the video frames, MATLAB lets me do this very easily.
>
> But I want to split a video and the new 'cut' video should have its corresponding audio also. Is there any way MATLAB lets us split an A/V file frame-wise?
>
> I hope I have clearly stated my query. Let me know if you need more details.
>
> Regards,
> Jinesh

Subject: Frame-wise splitting of Audio Video files

From: Wayne King

Date: 19 Mar, 2011 16:37:05

Message: 4 of 4

"Syamsul " <syamsulariffin@gmail.com> wrote in message <im2hqn$mjp$1@fred.mathworks.com>...
> Hi Jinesh,
>
> Can you email to me source code to split avi video into frames.
>
> Thanks in advance.
>
> Syam
>
> "jinesh" wrote in message <igi868$kqb$1@fred.mathworks.com>...
> > Hello all,
> >
> > Thanks for any help in advance.
> >
> > I have a .avi file. I want to split the video according to a range of frame numbers.
> > If its only the video frames, MATLAB lets me do this very easily.
> >
> > But I want to split a video and the new 'cut' video should have its corresponding audio also. Is there any way MATLAB lets us split an A/V file frame-wise?
> >
> > I hope I have clearly stated my query. Let me know if you need more details.
> >
> > Regards,
> > Jinesh

As Witek wrote that functionality is available here:

http://www.mathworks.com/help/toolbox/vipblks/ref/video.multimediafilereaderclass.html

with the new MATLAB System objects.

Wayne

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us