VideoHelp Forum




+ Reply to Thread
Results 1 to 12 of 12
  1. Member
    Join Date
    Nov 2009
    Location
    Canada
    Search Comp PM
    I am trying to convert a HD 720p video to a divx format, for a buddy of mine of a trip he took. He wants to play it on his Samsung 1080p DVD player without losing any quality. I tried using Divx Converter with the HD 720p mode, but when we try to play it. We get an error saying that the file is not supported.

    Can someone please help us in solving this issue. Below is some information on the video information

    Format: H.264/MPEG-4 AVC
    Bitrate: 2043 kbps
    Framerate: 23.976
    Encoder: x264
    Resolution: 720x400
    Aspect Ratio: 1.800
    Quote Quote  
  2. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    ffmpeg -i input.mp4 -vcodec mpeg4 -vtag divx -sameq -acodec libmp3lame -ab 192kb -ar 44100 -ac 2 output.avi

    If that doesn't work, try adding -me_range 1023.

    To download FFmpeg binaries go to http://ffmpeg.arrozcru.org/wiki/index.php?title=Links and take your pick.
    Quote Quote  
  3. Member
    Join Date
    Nov 2009
    Location
    Canada
    Search Comp PM
    I am getting this error

    Resampling with input channels greater than 2 unsupported.
    Can not resample 6 channels @ 48000 Hz to 2 channels @ 44100 Hz
    Quote Quote  
  4. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    In that case try AC3 to preserve all 6 channels:

    ffmpeg -i input.mp4 -vcodec mpeg4 -vtag divx -sameq -acodec ac3 -ab 384kb -ar 48000 -ac 6 output.avi

    I assume your audio is AAC since the video is AVC. If it is already AC3 you could use -acodec copy to leave it intact.
    Quote Quote  
  5. Member
    Join Date
    Nov 2009
    Location
    Canada
    Search Comp PM
    that worked but, the file size went from 1.4 gig to over 5gig in size. Too large for a normal size DVD. Anyway to make it 4gig and keep quality?
    Quote Quote  
  6. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    Unfortunately, the -sameq option seems to use more bitrate than necessary. Try this:

    ffmpeg -i input.mp4 -vcodec mpeg4 -vtag divx -qscale 2.7 -flags +aic+mv4 -trellis 1 -mbd 2 -cmp 2 -subcmp 2 -g 250 -me_range 1023 -acodec ac3 -ab 384kb -ar 48000 -ac 6 output.avi
    Quote Quote  
  7. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Or just use a ffmpeg/xvid frontend like handbrake or xvid4psp, choose avi xvid, constant quality encoding mode or 2-pass and set the file output size directly.
    Quote Quote  
  8. Member
    Join Date
    Nov 2009
    Location
    United States
    Search Comp PM
    Yep, when targeting a specific size (DVD) then a 2-pass encode is necessary. Unfortunately, XviD4PSP can't sync audio to video about 9 times out of 10 for me. Haven't tried the latest unofficial build tho, nor Handbrake.
    Quote Quote  
  9. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    I was getting audio sync problems with 5.0.37 under windows 7. Reverted to 5.0.36 and all is well.
    Read my blog here.
    Quote Quote  
  10. Member
    Join Date
    Nov 2009
    Location
    Canada
    Search Comp PM
    After all that converting I still get "The file is not supported"
    Quote Quote  
  11. Member
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    Originally Posted by Maritimer
    After all that converting I still get "The file is not supported"
    When ffmpeg keeps failing to convert a file I use the following with mencoder:
    Code:
    mencoder INPUT-FILE -ovc xvid -oac mp3lame -xvidencopts fixed_quant=4 -o OUTPUT.mp4
    Quote Quote  
  12. Member porfitron's Avatar
    Join Date
    Dec 2009
    Location
    United States
    Search Comp PM
    It's very likely the audio... have you installed AC3filter on your system? Then you have the option to transcode the audio to AAC.
    You'll find me at:
    DivX Labs and the DivX Developer Portal
    Follow us on Twitter: @DivXLabs
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!