Date: 2008-07-29 08:10 pm (UTC)
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
mplayer plays it fine, and says it's MPEG-4.

Date: 2008-07-29 09:59 pm (UTC)
From: [identity profile] fivemack.livejournal.com
Ah, you're just the person I ought to ask about this; can you suggest an ffmpeg rune that would produce a .MPG file that can play in a standard player?

I produced the video with 'ffmpeg -i frame%03d.png foo.avi'; 'ffmpeg -i frame%03d.png foo.mpg' produces something that Totem can't play.

I wonder whether I'm missing some unspoken requirement for all my frames to be 352x288 or similar.

Date: 2008-07-29 11:12 pm (UTC)
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
I'm afraid all my MPEG video encoding has been done with either mencoder or the special-purpose mpeg2enc.

I hadn't heard of Totem before, but it turns out to be installed on my Linux box. Unfortunately when I converted your video into a bunch of PNGs and ran your command above, it played the resulting foo.mpg fine, so it's hard for me to be sure that anything else that works for me will work for you too.

If it were me, I'd probably try adding something along the lines of -vcodec mpeg2video -f mpegts to the command line; but if that didn't work then I'd have no idea what to try next.

Date: 2008-07-30 01:49 am (UTC)
From: [identity profile] randwolf.livejournal.com
Hmmm...try asking ffmpeg what formats it supports; I think the command is "ffmpeg -formats". Unfortunately, you then have to pick a widely used one; MPEG-4 (if it's available in your version of ffmpeg) would probably work most places.

Date: 2008-07-30 09:52 am (UTC)
simont: A picture of me in 2016 (Default)
From: [personal profile] simont
Also, hang on a minute. When I extracted the individual frame images from your video file, they were 352×288. Were they something else on input?

March 2024

S M T W T F S
     12
3456789
10111213141516
17181920212223
24 252627282930
31      

Most Popular Tags

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jan. 30th, 2026 09:05 am
Powered by Dreamwidth Studios