Page 123 of 231 FirstFirst ... 2373113121122123124125133173223 ... LastLast
Results 1,221 to 1,230 of 2310

Thread: HOWTO: Install and use the latest FFmpeg and x264

  1. #1221
    Join Date
    Jun 2007
    Beans
    13,184

    Re: HOWTO: Install and use the latest FFmpeg and x264

    According to the Add libavcore commit: ect.
    Thanks for that..
    I've moved up to maverick and decided to put some new shared aac enabled packages in place.
    While probably no advantage used a svn source rather than the 0.6 release and was a bit surprised when the new libs showed up (and nowhere to install package wise.
    Went ahead and resolved that and the newer libs are fine in 10.10 - I guess down the road there will be 2 new packages as part of the ffmpeg set which has now grown to 19 possible.

    (while technically improper, for various reasons I use ubuntu naming - this is the current set I've got for 10.10 (atm r24829, shared x264-104
    doug@doug-laptop:~/ffmpegs/new/testup$ ls *.deb
    ffmpeg_0.6-2ubuntu4_i386.deb
    ffmpeg-dbg_0.6-2ubuntu4_i386.deb
    ffmpeg-doc_0.6-2ubuntu4_all.deb
    libavcodec-dev_0.6-2ubuntu4_i386.deb
    libavcodec-extra-52_0.6-2ubuntu4_i386.deb
    libavcore-dev_0.6-2ubuntu4_i386.deb
    libavcore-extra-0_0.6-2ubuntu4_i386.deb

    libavdevice-dev_0.6-2ubuntu4_i386.deb
    libavdevice-extra-52_0.6-2ubuntu4_i386.deb
    libavfilter-dev_0.6-2ubuntu4_i386.deb
    libavfilter-extra-1_0.6-2ubuntu4_i386.deb
    libavformat-dev_0.6-2ubuntu4_i386.deb
    libavformat-extra-52_0.6-2ubuntu4_i386.deb
    libavutil-dev_0.6-2ubuntu4_i386.deb
    libavutil-extra-50_0.6-2ubuntu4_i386.deb
    libpostproc-dev_0.6-2ubuntu4_i386.deb
    libpostproc-extra-51_0.6-2ubuntu4_i386.deb
    libswscale-dev_0.6-2ubuntu4_i386.deb
    libswscale-extra-0_0.6-2ubuntu4_i386.deb

  2. #1222
    Join Date
    Sep 2006
    Beans
    3,500

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by mc4man View Post
    ...and was a bit surprised when the new libs showed up
    There is another possible addition in the works:
    [FFmpeg-devel] [PATCH] Add libavsequencer

    The new library is meant to contain the sequencer multimedia features for being able to playback modules and MIDI files in FFmpeg.

  3. #1223
    Join Date
    Mar 2007
    Beans
    194
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I am getting this warning:
    Warning, using s16 intermediate sample format for resampling.

    I have no clue what this means. If it's bad, please let me know

  4. #1224
    Join Date
    Sep 2006
    Beans
    3,500

    Re: HOWTO: Install and use the latest FFmpeg and x264

    It's nothing to worry about if your output sounds fine to you. Can you show your FFmpeg command and the complete output?

  5. #1225
    Join Date
    Jun 2007
    Beans
    47

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I'm having trouble getting ffmpeg to find the x264 encoder. I used the link you have posted under the install x264 section to install the latest version (libx264-104). The package manager shows it to be installed but ffmpeg isn't finding it. When I try to remove it using apt-get remove x264 is says that it isn't installed. How do I get ffmpeg to find the newest x264?

  6. #1226
    Join Date
    Mar 2007
    Beans
    194
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: HOWTO: Install and use the latest FFmpeg and x264

    I am getting 10FPS, but I think I should be going a bit faster...
    I have changed --threads=0 to --threads=4 && --threads=5 to no avail v_v

    Code:
    ffmpeg -i /home/daryl/Desktop/encodes/PIC_0056.MOV -acodec libfaac -ac 2 -ar 48000 -ab 192k -vcodec libx264 -vpre slow -crf 22 -threads 5 /home/daryl/Desktop/encodes/out/pic_0056.mov.x264.mp4

    Code:
    processor	: 0
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 1734.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 0
    cpu cores	: 4
    apicid		: 0
    initial apicid	: 0
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.67
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 1
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 933.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 1
    cpu cores	: 4
    apicid		: 2
    initial apicid	: 2
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3025.84
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 2
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 933.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 2
    cpu cores	: 4
    apicid		: 4
    initial apicid	: 4
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.94
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 3
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 1066.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 3
    cpu cores	: 4
    apicid		: 6
    initial apicid	: 6
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.94
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 4
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 1734.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 0
    cpu cores	: 4
    apicid		: 1
    initial apicid	: 1
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.95
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 5
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 933.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 1
    cpu cores	: 4
    apicid		: 3
    initial apicid	: 3
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.94
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 6
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 1734.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 2
    cpu cores	: 4
    apicid		: 5
    initial apicid	: 5
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.94
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    
    processor	: 7
    vendor_id	: GenuineIntel
    cpu family	: 6
    model		: 30
    model name	: Intel(R) Core(TM) i7 CPU       Q 740  @ 1.73GHz
    stepping	: 5
    cpu MHz		: 1734.000
    cache size	: 6144 KB
    physical id	: 0
    siblings	: 8
    core id		: 3
    cpu cores	: 4
    apicid		: 7
    initial apicid	: 7
    fpu		: yes
    fpu_exception	: yes
    cpuid level	: 11
    wp		: yes
    flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm ida tpr_shadow vnmi flexpriority ept vpid
    bogomips	: 3457.95
    clflush size	: 64
    cache_alignment	: 64
    address sizes	: 36 bits physical, 48 bits virtual
    power management:
    Last edited by earthmeLon; August 26th, 2010 at 05:47 PM.

  7. #1227
    Join Date
    Dec 2009
    Beans
    Hidden!
    Distro
    Kubuntu 10.04 Lucid Lynx

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Thats a surprise, I get far better FPS with my dual XEONs, with i7 it should be on fire.
    The finding of unity in variety is really what we call knowledge..... Vivekananda.

  8. #1228
    Join Date
    Apr 2008
    Location
    Pennsylvania
    Beans
    25
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Install and use the latest FFmpeg and x264

    earthmeLon,
    What's top show your CPU load as while encoding (each CPU ... is ffmpeg attaching to one core or using all) and, more importantly, what are you encoding? (That is, what resolution are you encoding ... HD?) If you post what source resolution is, I'll run a matching sample on my Phenom II x4 and let you know what I get. RF 22 is a pretty high number ab should be faster, I typically use 20 (then again, I also typically use handbrake since it's easy and uses ffmpeg at its core)

  9. #1229
    Join Date
    Sep 2006
    Beans
    3,500

    Re: HOWTO: Install and use the latest FFmpeg and x264

    Quote Originally Posted by tock View Post
    I'm having trouble getting ffmpeg to find the x264 encoder. I used the link you have posted under the install x264 section to install the latest version (libx264-104).
    What link are you referring to?

    Quote Originally Posted by tock View Post
    The package manager shows it to be installed but ffmpeg isn't finding it. When I try to remove it using apt-get remove x264 is says that it isn't installed. How do I get ffmpeg to find the newest x264?
    What errors messages does FFmpeg tell you when it can't find x264? If there is a ~/ffmpeg/config.err (or maybe it's config.log) you can check the end of that file for more information.

    Quote Originally Posted by earthmeLon View Post
    I am getting 10FPS, but I think I should be going a bit faster...
    I have changed --threads=0 to --threads=4 && --threads=5 to no avail v_v
    When -threads is set to 0 it tells libx264 to automatically use an appropriate value for your CPU.

    I can't say if your encode is being slow because your encoding time can vary among inputs. Experiment with other -vpre. You can see a current list of presets ordered by speed on the FFmpeg x264 encoding guide. The slower presets will generally create a smaller output file but result in a longer encoding time. The -crf option can also affect your encoding speed, but I usually adjust the -vpre if I require faster encoding.

    For comparison, re-encoding IronMan.mkv on an Intel i7 860 using FFmpeg r24961 and x264 0.104.1703 on Arch Linux x86_64:
    Code:
    $ time ffmpeg -i IronMan.mkv -vcodec libx264 -vpre slow -crf 22 -threads 0 -an -y output.mkv
    real	2m43.037s
    user	19m38.916s
    sys	0m2.663s

  10. #1230
    Join Date
    Jun 2007
    Beans
    47

    Re: HOWTO: Install and use the latest FFmpeg and x264

    FakeOutdoorsman,

    this is the link I used

    I went back and deleted the temp directories then tried just using the commands you layed out and it worked. but when I used the links to get the latest versions, I couldn't get ffmpeg to compile correctly.

    After getting it installed and using the single pass preset to convert from avchd to h.264, the play back is still very lagging using gui-mplayer. Its a X2 amd with 2 gig of ram. How much horsepower does it take to play back h.264?

    Thanks for the reply

Page 123 of 231 FirstFirst ... 2373113121122123124125133173223 ... LastLast

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
  •