Author Topic: Join JPG and MP3 into MPEG still?  (Read 3105 times)

yetanotherlogin

  • Jr. Member
  • **
  • Posts: 71
Join JPG and MP3 into MPEG still?
« on: June 12, 2012, 12:27:24 PM »
Hello

I'd like to add a JPG to an MP3 soundtrack and turn this into a video file that would as small as possible since it's just a picture.

I was recommended to...
1. Encode the JPG to an MPEG still
2. Mux the MPEG still and the MP3 together

Apparently, an MPEG still can be an order of magnitude smaller.

Can AviDemux do this? If not, what other free application would you recommend, if any?

Thank you.

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Join JPG and MP3 into MPEG still?
« Reply #1 on: June 12, 2012, 02:01:57 PM »
Still not clear what you want and what for?

yetanotherlogin

  • Jr. Member
  • **
  • Posts: 71
Re: Join JPG and MP3 into MPEG still?
« Reply #2 on: June 12, 2012, 02:10:50 PM »
Thanks Jan. I meant the latter: Creating a video with just a JPG + MP3 that would be as compact as possible.

"Now part that requires some math. Don't worry, calculations are quite easy. You have to use Copy+paste+paste+paste… (use Ctrl+v / ⌘v for paste, Hold it down) until you have enough frames." : Is there an easier way, where I would just paste the picture once and have it displayed for the entire duration of the film?

Jan Gruuthuse

  • Hero Member
  • *****
  • Posts: 6060
Re: Join JPG and MP3 into MPEG still?
« Reply #3 on: June 12, 2012, 02:34:34 PM »
If you followed the last link, you would have found in the tutorial "Create video from still image and from audio file" by agent_007 this:
Quote
Part 2. Create AVIsynth script
...
If you want one image and audio track for that, you use ImageSource + DirectShowSource + AudioDub.
...
looks like this would be the way to go?

yetanotherlogin

  • Jr. Member
  • **
  • Posts: 71
Re: Join JPG and MP3 into MPEG still?
« Reply #4 on: June 12, 2012, 09:34:45 PM »
I did follow it, since that's where the text I copied comes from.

It's a bit more involved than ffmpeg, so I'll try it instead.

Thank you.