Results 1 to 3 of 3

Thread: Problem with adding subtitles to an avi with mencoder; accents appearing as ?'s

  1. #1
    Join Date
    Jun 2010
    Beans
    31

    Problem with adding subtitles to an avi with mencoder; accents appearing as ?'s

    Hi,

    Following this guide http://www.howtoguidehome.com/main/i...emid=3&lang=en, I used mencoder to add subtitles to an avi file. This was the command I entered.

    mencoder Le_fabuleux_destin_d\'Amélie_Poulain.avi -oac copy -ovc lavc -sub Le_fabuleux_destin_d\'Amélie_Poulain.srt -subfont-text-scale 3 -o Le_fabuleux_destin_d\'Amélie_Poulainsubs.avi

    Unfortunately, the French accents in the output video appear as ?'s. Is there any way to fix this?

    Thanks.

  2. #2
    Join Date
    Jun 2010
    Beans
    31

    Re: Problem with adding subtitles to an avi with mencoder; accents appearing as ?'s

    This French help page gives the solution http://doc.ubuntu-fr.org/mencoder. Adding the flag -utf8 makes sure the accents are properly rendered. In my case, the correct command line was as follows.

    mencoder Le_fabuleux_destin_d\'Amélie_Poulain.avi -oac copy -ovc lavc -sub Le_fabuleux_destin_d\'Amélie_Poulain.srt -utf8 -subfont-text-scale 3 -o Le_fabuleux_destin_d\'Amélie_Poulainsubs.avi

  3. #3
    Join Date
    Feb 2008
    Location
    Texas
    Beans
    15,356
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem with adding subtitles to an avi with mencoder; accents appearing as ?'s

    Thanks for sharing and please do not post in threads that have not had activity for a year or longer, since this is an old thread it has been closed.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •