You are here.MP4 video to .mpeg (youtube ready .MPG) conversion

.MP4 video to .mpeg (youtube ready .MPG) conversion


By dgtlmoon - Posted on 30 October 2007

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 2
so i give it this command in linux

ffmpeg -i Video083.mp4 -target ntsc-vcd town-hall-rockfloat-fussen.mpg

And 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
Your rating: None Average: 5 (1 vote)

I don't have Linux, so that would be impossible for me on Windows :(