You are here.MP4 video to .mpeg (youtube ready .MPG) conversion
.MP4 video to .mpeg (youtube ready .MPG) conversion
heres how you can convert .mp4 (mpeg-4) format to mpeg video format so you can upload them to youtube, many digicams will save them as .MP4 format which is a real pain because a lot of online services such as youtube will not support it
So heres how we convert .mp4 to .mpg
'File' tells me the file is MPEG v4
Video074.mp4: ISO Media, MPEG v4 system, version 2so i give it this command in linux
ffmpeg -i Video083.mp4 -target ntsc-vcd town-hall-rockfloat-fussen.mpgAnd heres the output of our conversion from this tool
FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. libavutil version: 49.4.0 libavcodec version: 51.40.2 libavformat version: 51.11.0 built on Mar 29 2007 11:08:52, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Seems stream 0 codec frame rate differs from container frame rate: 30000.00 (30000/1) -> 30.00 (30/1) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video083.mp4': Duration: 00:00:08.2, start: 0.000000, bitrate: 2806 kb/s Stream #0.0(und): Video: mpeg4, yuv420p, 640x480, 30.00 fps(r) Stream #0.1(und): Audio: aac, 48000 Hz, stereo Output #0, vcd, to 'town-hall-rockfloat-fussen.m1pg': Stream #0.0: Video: mpeg1video, yuv420p, 352x240, q=2-31, 1150 kb/s, 29.97 fps(c) Stream #0.1: Audio: mp2, 44100 Hz, stereo, 224 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding frame= 243 fps= 58 q=6.3 Lsize= 1400kB time=8.1 bitrate=1420.6kbits/s video:1118kB audio:224kB global headers:0kB muxing overhead 4.290893%and there you have it, now you have the mpeg converted from .mp4 format ready for youtube! and only 50% of the size of the original .mp4
Tags
I had about given up hope,
Submitted by Bill (not verified) on Sun, 2008-10-26 16:21.
I had about given up hope, then Google led me to your page about ffmpeg. Exactly what I needed to get MP4 movies to play in my digital photo frame! And even on my Windows box ffmpeg compiled easily under Cygwin. Very cool! Thanks very, very much for sharing this tip!
- reply
What actually i need is the
Submitted by jeffrey john (not verified) on Wed, 2008-10-22 06:19.
What actually i need is the opposite.. mpeg file to mp4.. if you can help me with that.. i am using Ubuntu Hardy 8.0
- reply
I don't have Linux, so that
Submitted by Max (not verified) on Sun, 2008-07-06 18:47.
I don't have Linux, so that would be impossible for me on Windows :(
- reply
