Sampling video/film - what's going on technically?

Post Reply
stugood
Posts: 24
Joined: Sun Mar 29, 2020 4:42 am

Sampling video/film - what's going on technically?

Post by stugood »

I accidentally used an MP4 video as a sample. I like it. Can anyone explain what exactly is going on here in the conversion from mp4 video to sound? Is it some digital binary thing similar to converting a jpeg?
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Sampling video/film - what's going on technically?

Post by NightRadio »

If you load MP4 in Linux: the audio track from MP4 will be loaded (using ffmpeg or avconv).
If you load MP4 in other systems: the file will be loaded as raw data: you will be prompted to manually select the data format (number of bits, channels, etc.).
stugood
Posts: 24
Joined: Sun Mar 29, 2020 4:42 am

Re: Sampling video/film - what's going on technically?

Post by stugood »

Raw audio data represents amplitudes? Would the data be taken from the sound and the video?
User avatar
NightRadio
Site Admin
Posts: 3944
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: Sampling video/film - what's going on technically?

Post by NightRadio »

Raw audio data represents amplitudes?
Yes.
Would the data be taken from the sound and the video?
MP4 sound and video is a compressed bytestream. If you open it as RAW audio - you will hear some sort of noise.
stugood
Posts: 24
Joined: Sun Mar 29, 2020 4:42 am

Re: Sampling video/film - what's going on technically?

Post by stugood »

This makes some sense, thanks!
Post Reply