Results 1 to 9 of 9

Thread: WEBM conversion with ffmpeg/avconv libvpx slow

  1. #1
    Join Date
    Nov 2009
    Beans
    76

    WEBM conversion with ffmpeg/avconv libvpx slow

    Hi. I have problem with converting flv to webm with avconv. I'm using libvpx to convert to webm with "threads -4" parameter. But it won't run on 4 cores. It's running only on one core on my quadcore amd or dualcore intel. Is there a way to enable multithreaded encoding or is there any other conversion tool that i can run without GUI (server-side)?

    Thanks

  2. #2
    Join Date
    Dec 2006
    Beans
    7,308

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    Quote Originally Posted by chaemil View Post
    Hi. I have problem with converting flv to webm with avconv. I'm using libvpx to convert to webm with "threads -4" parameter.
    Was that a typo? The actual parameter should be:

    Code:
    -threads 4
    My apologies if this is simply a typo
    You think that's air you're breathing now?

  3. #3
    Join Date
    Nov 2009
    Beans
    76

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    Yes that's only a typo :/

  4. #4
    Join Date
    Nov 2009
    Beans
    76

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    anyone?...

  5. #5
    Join Date
    Jun 2007
    Beans
    12,298

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    libvpx is really slow for me too (at least with ffmpeg).

  6. #6
    Join Date
    Jun 2007
    Beans
    12,298

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    Out of curiosity, I tried vpxenc (found in vpx-tools package) and was able to get it running on all 3 cores (I have a PhenomII X3). That sped things up considerably.

  7. #7
    Join Date
    Nov 2009
    Beans
    76

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    cool! How did you exactly use it? With ffmpeg? just -v:c vpxenc -threads -3?

  8. #8
    Join Date
    Jun 2007
    Beans
    12,298

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    No, I couldn't get ffmpeg to use multiple threads. I just used vpxenc like so and it pegged all 3 cores:
    Code:
    vpxenc -o test.webm -w 720 -h 480 -t 3 <inputfile>

  9. #9
    Join Date
    Nov 2009
    Beans
    76

    Re: WEBM conversion with ffmpeg/avconv libvpx slow

    ok thanks... but it's crucial for me to get somethink like this working

    Code:
    avconv -i ./input_file.flv -y -c:v libvpx -b:v 450k -c:a libvorbis -b:a 128k ./output_file.webm 1> ./log/conv/log_file.txr 2>&1 &
    bcs i'm "listening" to the percenatge of the conversion from php to display it using ajax on the web (the conversion procces is runnng on server and user can display percentage trough browser)

    can the vpxenc log conversion process somehow?

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
  •