VideoHelp.com Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Member
    Join Date: Aug 2009
    Location: Germany
    Hello,

    I try to convert a file with screen size 720x304 from AVI (divx) to MP4. I set the Output size in the right side of the Video options tab to 720x304, the ratio to 2.35:1, and the framerate to 25 (PAL).

    I use the MPEG4[.MP4] (ffmpegx) encoder. The conversion works fine unless the output size is always 533x400.

    What am I doing wrong?

    Thanks in advance,
    Tom

    Log:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Sat Aug 1 16:13:04 CEST 2009
    Mac OSX universal build for ffmpegX
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, avi, from '/Users/user/Movies/movie.avi':
    Duration: 01:28:59.1, start: 0.000000, bitrate: 1107 kb/s
    Stream #0.0, 25.00 fps(r): Video: mpeg4, yuv420p, 720x304
    Stream #0.1: Audio: mp2, 48000 Hz, stereo, 128 kb/s
    Output #0, mp4, to '/Users/user/Movies/movie.avi.ff.mp4':
    Stream #0.0, 25.00 fps(c): Video: mpeg4, yuv420p, 720x304, q=2-9, 1617 kb/s
    Stream #0.1: Audio: aac, 48000 Hz, stereo, 96 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    bench: utime=784.024s
    video:1053425kB audio:62560kB global headers:0kB muxing overhead 0.279503%
    Encoding completed on Sat Aug 1 16:25:20 CEST 2009
    Quote Quote  

  2. Member
    Join Date: Nov 2006
    Location: United States
    I don't get the error when I try it. What is your input source? A VIDEO_TS folder? If so, you may give Handbrake a try.
    Quote Quote  

  3. Explorer Case's Avatar
    Join Date: Feb 2004
    Location: Middle Earth
    I can replicate this issue. The output resolution is 720x304 as specified (as MediaInfo Mac will confirm), but some display aspect ratio flag isn't set properly, so that the player software stretches the video to a 4:3 aspect ratio.

    If I remember correctly, this will happen for every conversion to .mp4 using this engine, when the target isn't exactly 16:9 or 4:3. So for 2.35:1 output, this problem comes up, unfortunately.
    It could be that the ffmpeg team has fixed this already, but ffmpegX has to be updated to work with that. I'm not holding my breath...

    You can change the display aspect ratio in QuickTime Pro, but you'll end up with a .mov container.
    What is really needed here, is an MP4 toolbox to change (correct) just the display aspect ratio, without altering the rest of the file. Anyone know of such a piece of software?
    Quote Quote  

  4. Member
    Join Date: Aug 2009
    Location: Germany
    Hi Case,

    thanks for the analysis. Importing the file into iTunes did the job.

    Best regards,
    Tom
    Quote Quote  

  5. Member
    Join Date: Nov 2006
    Location: United States
    Originally Posted by Case
    I can replicate this issue. The output resolution is 720x304 as specified (as MediaInfo Mac will confirm), but some display aspect ratio flag isn't set properly, so that the player software stretches the video to a 4:3 aspect ratio.

    If I remember correctly, this will happen for every conversion to .mp4 using this engine, when the target isn't exactly 16:9 or 4:3. So for 2.35:1 output, this problem comes up, unfortunately.
    It could be that the ffmpeg team has fixed this already, but ffmpegX has to be updated to work with that. I'm not holding my breath...

    You can change the display aspect ratio in QuickTime Pro, but you'll end up with a .mov container.
    What is really needed here, is an MP4 toolbox to change (correct) just the display aspect ratio, without altering the rest of the file. Anyone know of such a piece of software?
    Case, when are you going to take over development of ffmpegx????
    Quote Quote  

  6. Explorer Case's Avatar
    Join Date: Feb 2004
    Location: Middle Earth
    Originally Posted by dizzie
    Case, when are you going to take over development of ffmpegx?
    Hehe, I haven't programmed software in a very long time, and never on Mac OS. It would take a lot of research before I even can write a first line of code. Not worth the effort, as long as some current software does what I need. Besides, major has never hinted at handing over any source code to anyone.
    Thanks for the vote of confidence, though.
    Quote Quote  

  7. Explorer Case's Avatar
    Join Date: Feb 2004
    Location: Middle Earth
    Originally Posted by Case View Post
    What is really needed here, is an MP4 toolbox to change (correct) just the display aspect ratio, without altering the rest of the file.
    MP4Box can do this by setting the pixel aspect ratio to 1:1.
    http://forum.videohelp.com/threads/3...=1#post1970798
    Quote Quote  




Similar Threads

  1. Converting TS to MKV - video is shaky and seek doesn't work
    By Scorpick in forum Video Conversion
    Replies: 11
    Last Post: 5th Mar 2012, 18:11
  2. After Encoding Handbrake gives Error and Output video doesn't work
    By ConverterCrazy in forum Newbie / General discussions
    Replies: 3
    Last Post: 12th Sep 2011, 08:36
  3. Blank video when converting MP4 to AVI DivX
    By vidnov in forum ffmpegX general discussion
    Replies: 16
    Last Post: 12th Mar 2010, 17:45
  4. Converting AVI (DivX/XviD) to MP4/MOV/3GP...
    By JaleAlbatros in forum Video Conversion
    Replies: 5
    Last Post: 23rd Jul 2009, 17:51
  5. Replies: 5
    Last Post: 14th Mar 2009, 13:58
Search   Contact us   About   Advertise   Forum   RSS Feeds   Statistics   Tools