VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I created this video with fmpeg -i icos%03d.tga icos.mpg on linux:

    (replaced video)

    Is there a way to get higher quality video using ffmpeg. I tried to use the h264 codec but I keep getting an error message about the codec being unknown.

    thanks
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    The easiest is just to increase the bitrate as much as possible to avoid compression artifacts, like "-b 3000k". Just google for ffmpeg examples and you will get several tips, like for example http://www.linuxjournal.com/article/8517

    And to be able to use h264 you need a ffmpeg compiled with libx264.
    Quote Quote  
  3. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    I found this thread about enabling h264 for ffmpeg on Ubuntu:

    http://ubuntuforums.org/showthread.php?t=786095

    It works great and the video looks much better.

    thanks
    Quote Quote  
  4. Member
    Join Date
    Sep 2006
    Location
    United States
    Search Comp PM
    Here's the vid with H264:

    ffmpeg -i $fname%03d.tga -pass 1 -vcodec libx264 -vpre fastfirstpass -b 512k -bt 512k -threads 0 -f rawvideo -an -y /dev/null
    ffmpeg -i $fname%03d.tga -pass 2 -vcodec libx264 -vpre hq -b 512k -bt 512k -threads 0 $fname.mp4

    Any recomendations to improve the quality in this case?

    http://www.youtube.com/watch?v=vl89fjddL3g

    I see that the video starts off weird on youtube, but plays fine on my computer.

    Thanks
    Quote Quote  



Similar Threads

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