[FFmpeg-user] theora question

Rick C. rickcorteza at gmail.com
Tue Apr 24 06:59:37 CEST 2012


Hi all,

I've been doing some test theora encoding and what I have noticed is that it's very slow.  At first I thought I was doing something wrong, but after some research maybe it's because it does not support multithreading is this correct?  I mean I took the same video and converting to DivX I was able to get 400 fps but to Theora 40 fps.  Here's the output and thanks for the help:


Last login: Tue Apr 24 12:51:30 on ttys004
mahalkos-iMac:~ mahalko$ /Users/mahalko/Desktop/ffmpeg -i /Users/mahalko/Music/iTunes/iTunes\ Music/Movies/THE_GIGGLEBELLIES_V2.m4v -qscale 10 -t 120 -threads 8 /Users/mahalko/Desktop/testing.ogg
ffmpeg version 0.10.2 Copyright (c) 2000-2012 the FFmpeg developers
  built on Mar 17 2012 17:59:03 with gcc 4.2.1 (Apple Inc. build 5666) (dot 3)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --arch=x86_64 --enable-runtime-cpudetect
  libavutil      51. 35.100 / 51. 35.100
  libavcodec     53. 61.100 / 53. 61.100
  libavformat    53. 32.100 / 53. 32.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 61.100 /  2. 61.100
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0.  6.100 /  0.  6.100
  libpostproc    52.  0.100 / 52.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/mahalko/Music/iTunes/iTunes Music/Movies/THE_GIGGLEBELLIES_V2.m4v':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-03-26 01:47:30
    encoder         : HandBrake 0.9.6 2012022800
    genre           : Movies
    artist          : Kids
  Duration: 00:35:04.08, start: 0.000000, bitrate: 3140 kb/s
    Chapter #0.0: start -0.066733, end 14.247567
    Metadata:
      title           : Chapter  1
    Chapter #0.1: start 14.247567, end 178.912067
    Metadata:
      title           : Chapter  2
    Chapter #0.2: start 178.912067, end 291.958333
    Metadata:
      title           : Chapter  3
    Chapter #0.3: start 291.958333, end 445.645200
    Metadata:
      title           : Chapter  4
    Chapter #0.4: start 445.645200, end 591.857933
    Metadata:
      title           : Chapter  5
    Chapter #0.5: start 591.857933, end 720.319600
    Metadata:
      title           : Chapter  6
    Chapter #0.6: start 720.319600, end 850.883367
    Metadata:
      title           : Chapter  7
    Chapter #0.7: start 850.883367, end 1002.468133
    Metadata:
      title           : Chapter  8
    Chapter #0.8: start 1002.468133, end 1130.929800
    Metadata:
      title           : Chapter  9
    Chapter #0.9: start 1130.929800, end 1294.192900
    Metadata:
      title           : Chapter 10
    Chapter #0.10: start 1294.192900, end 1461.193067
    Metadata:
      title           : Chapter 11
    Chapter #0.11: start 1461.193067, end 1610.675733
    Metadata:
      title           : Chapter 12
    Chapter #0.12: start 1610.675733, end 1748.947200
    Metadata:
      title           : Chapter 13
    Chapter #0.13: start 1748.947200, end 2104.043600
    Metadata:
      title           : Chapter 14
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 720x480 [SAR 8:9 DAR 4:3], 2803 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 139 kb/s
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
    Stream #0:2(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, s16, 192 kb/s
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
    Stream #0:3(und): Subtitle: mov_text (text / 0x74786574)
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
Please use -q:a or -q:v, -qscale is ambiguous
[buffer @ 0x101517740] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:8/9 sws_param:
Output #0, ogg, to '/Users/mahalko/Desktop/testing.ogg':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42isomavc1
    creation_time   : 2012-03-26 01:47:30
    artist          : Kids
    genre           : Movies
    encoder         : Lavf53.32.100
    Chapter #0.0: start 0.000000, end 14.247567
    Metadata:
      title           : Chapter  1
    Chapter #0.1: start 14.247567, end 120.000000
    Metadata:
      title           : Chapter  2
    Stream #0:0(und): Video: theora, yuv420p, 720x480 [SAR 8:9 DAR 4:3], q=2-31, 200 kb/s, 29.97 tbn, 29.97 tbc
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
    Stream #0:1(und): Audio: flac, 48000 Hz, stereo, s16, 128 kb/s
    Metadata:
      creation_time   : 2012-03-26 01:47:30
      handler_name    : 
Stream mapping:
  Stream #0:0 -> #0:0 (h264 -> libtheora)
  Stream #0:1 -> #0:1 (aac -> flac)
Press [q] to stop, [?] for help
frame= 3597 fps= 37 q=0.0 Lsize=  122650kB time=00:02:00.00 bitrate=8372.9kbits/s    
video:113303kB audio:8811kB global headers:3kB muxing overhead 0.436236%
mahalkos-iMac:~ mahalko$ 



More information about the ffmpeg-user mailing list