Pixelpanic / winff

Automatically exported from code.google.com/p/winff
0 stars 0 forks source link

libx264 presets need -vpre option included for newer ffmpeg #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If I try to encode a video in mpeg4 format using libx264 I have this error: 
"[libx264 @ 0x77a0a0]broken ffmpeg default settings detected
[libx264 @ 0x77a0a0]use an encoding preset (vpre)". 
It appears with High Quality, Super High Quality and Very High Quality 
profiles; but doesn't appear with Fullscreen or Widescreen profiles.
I don't know if it's a winff problem or a ffmeg problem.
I'm on Ubuntu 10.04 64 bit; Winff 1.3 and ffmpeg SVN-r0.5.1-4:0.5.1-1ubuntu1

Original issue reported on code.google.com by skorpio1...@inwind.it on 13 Sep 2010 at 10:15

GoogleCodeExporter commented 8 years ago
Hi skorpio1066,

Thanks for reporting this issue.

How did you install winff (where did you get it)? If you got it from winff.org, 
how did you install your presets? As far as I can tell, there are no libx264 
presets in the standard winff-1.3.0 package (because at that time it didn't 
compile libaac). I have seen this issue on the forum several times thou. 
Probably you could try to add "-vpre hq" or "-vpre max" to the advanced command 
options and if that works add them to the preset.

For documentation:
! http://www.biggmatt.com/forums/index.php?topic=819.0
http://www.biggmatt.com/forums/index.php?topic=794.0

Original comment by poipodec...@hotmail.com on 13 Sep 2010 at 6:52

GoogleCodeExporter commented 8 years ago
Hi poipodeclown and thanks for your reply,
I've installed winff from its repo 
http://ppa.launchpad.net/paul-climbing/ppa/ubuntu; from the official website 
I've downloaded the presets (presets-libavcodec52-v5). I've no problem with aac 
encoding with other software so I think that this is not the problem.
Now I'll try encoding adding the -vpre options in the profiles...

Original comment by skorpio1...@inwind.it on 13 Sep 2010 at 7:18

GoogleCodeExporter commented 8 years ago
Issue 90 has been merged into this issue.

Original comment by poipodec...@hotmail.com on 14 Sep 2010 at 6:28

GoogleCodeExporter commented 8 years ago
Ok, adding -vpre options to the advanced command options it works again.
But I don't know which is the best to add...I've seen in ffmpeg folder 
(/usr/share/ffmpeg) too many presets for libx264...

Original comment by skorpio1...@inwind.it on 14 Sep 2010 at 10:45

GoogleCodeExporter commented 8 years ago
For the ipod Nano I find that using the walkman settings. (4:3) for full screen 
and I made a new preset for widescreens where the video is encoded at 320x168. 
Both work great.. Perhaps its best to simplify the number of presets..

Original comment by csheph...@gmail.com on 14 Sep 2010 at 10:54

GoogleCodeExporter commented 8 years ago

Original comment by poipodec...@hotmail.com on 25 Sep 2010 at 9:45

GoogleCodeExporter commented 8 years ago
I'd like to add the following concerning the usage of libx264 presets on 
Windows XP machines:
I defined a separate ffmpeg installation (from 
http://ffmpeg.arrozcru.org/autobuilds/ - I extracted the contents of the 
archive to %PROGRAMFILES%\ffmpeg and added the path to %PATH%) in the 
preferences of WinFF.
To use libx264 presets on the command-line I needed to add a folder ".ffmpeg" 
to my home directory, include the latter into my environment variables and copy 
the preset files to the folder created 
(http://forum.doom9.org/showthread.php?p=1368132#post1368132) to fulfill 
ffmpeg's requirements (http://www.ffmpeg.org/ffmpeg-doc.html#SEC13).
The preset files are now available from the command-line, but I can neither use 
it from WinFF's profiles nor from the advanced command options.

Any ideas for a temporary workaround in order to use '-vpre fast_firstpass 
-vpre baseline' in WinFF for h264Baseline-compliant files?

Original comment by goo...@mit2m.de on 16 Nov 2010 at 12:49

GoogleCodeExporter commented 8 years ago
To answer my own question: '-fpre' does the trick (see 
http://www.ffmpeg.org/ffmpeg-doc.html#SEC13 again), even from WinFF's profiles 
(in my case: '-fpre 
"%PROGRAMFILES%\ffmpeg\presets\libx264-fast_firstpass.ffpreset" -fpre 
"%PROGRAMFILES%\ffmpeg\presets\libx264-baseline.ffpreset"').
One possible disadvantage I can imagine: One got to know the path to the 
presets, which can be tricky in some situations (e.g. WinFF Portable).

Original comment by goo...@mit2m.de on 16 Nov 2010 at 2:29

GoogleCodeExporter commented 8 years ago

Original comment by poipodec...@hotmail.com on 4 Sep 2011 at 3:54

GoogleCodeExporter commented 8 years ago
So, now I am finally looking into how we should fix our presets, I find out 
that we NEED to specify at least the speed for all libx264 presets.

How to determine which one thou? I will try to figure out the closest to the 
speed and else choose medium.

Original comment by poipodec...@hotmail.com on 8 Oct 2011 at 7:00

GoogleCodeExporter commented 8 years ago
New preset file is available in the downloading section [1].

[1] http://code.google.com/p/winff/downloads/list?can=3&q=presets

Original comment by poipodec...@hotmail.com on 9 Oct 2011 at 11:12

GoogleCodeExporter commented 8 years ago

Original comment by poipodec...@hotmail.com on 4 Dec 2011 at 2:45