hansvand / winff

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

Problem With Chroma #193

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using WinFF 1.5.0 compiled from source under Slackware...

My ffmpeg version
---------------------

ffmpeg -v
ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb 22 2013 20:35:41 with gcc 4.7.1 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/man --enable-libmp3lame --enable-libfaac --enable-libvo-aacenc --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-avfilter --enable-libass --enable-libdc1394 --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libv4l2 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libxvid --enable-libx264 --enable-runtime-cpudetect --enable-vaapi --disable-vdpau --enable-memalign-hack --enable-pthreads --enable-x11grab --enable-bzlib --enable-zlib --enable-shared --enable-static --disable-debug --extra-cflags='-I/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/include -DRUNTIME_CPUDETECT' --extra-ldflags='-L/tmp/build/tmp-ffmpeg/ffmpegdeps/usr/lib -ldl -lssl -lcrypto -lz -lusb'
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 86.100 / 54. 86.100
  libavformat    54. 59.106 / 54. 59.106
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 32.100 /  3. 32.100
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100

When I try to convert to any format that has the chroma option in it I get this 
message below;

-----------------------

[NULL @ 0x9a8b1e0] [Eval @ 0xbf969c5c] Undefined constant or missing '(' in 
'chroma'
[NULL @ 0x9a8b1e0] Unable to parse option value "+chroma"
[NULL @ 0x9a8b1e0] Error setting option cmp to value +chroma.
Output #0, mp4, to '/home/sar/sparks-plu2012-xvid.cd1.mp4':
  Metadata:
    encoder         : Nandub v1.0rc2
    Stream #0:0: Video: none, yuv420p, 640x272 [SAR 1:1 DAR 40:17], q=-1--1, 90k tbn, 23.98 tbc
    Stream #0:1: Audio: none, 48000 Hz, 5.1, s16, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libx264)
  Stream #0:1 -> #0:1 (ac3 -> libfaac)
Error while opening encoder for output stream #0:0 - maybe incorrect parameters 
such as bit_rate, rate, width or height

THANKS

Original issue reported on code.google.com by das...@gmail.com on 17 Mar 2013 at 12:35

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Oh by the way here's the presets I'm using that 1.5.0 creates, I just edited it 
and removed what I didn't want;

http://pastebin.ca/2333959

THANKS

Original comment by das...@gmail.com on 17 Mar 2013 at 1:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've been playing with this and then I deleted the ~/.winff folder and 
restarted WinFF, now when I try to convert something all it says is;

Unrecognized option 'directpred'.

Then if I remove this option I'm getting the chroma message above. Before it 
was just complaining about chroma first, now it's the directpred and then if I 
remove this option it complains about the chroma.

THANKS

Original comment by das...@gmail.com on 17 Mar 2013 at 6:38

GoogleCodeExporter commented 8 years ago
Hmm, I think we forgot to update the presets for the Windows release. The 
preset file that should have come with 1.5.0 is the one in the download section:
http://winff.googlecode.com/files/presets-libavcodec54_v1.wff

But I don't think it helps for this issue. I will investigate.

Original comment by poipodec...@hotmail.com on 17 Mar 2013 at 9:14

GoogleCodeExporter commented 8 years ago
Actually, I don't think the whole "-cmp +chroma" needs to be removed, just the 
+. So that it reads "-cmp chroma".

I will upload a new version of the presets-libavcodec54 shortly to the download 
section.

Original comment by poipodec...@hotmail.com on 17 Mar 2013 at 9:51

GoogleCodeExporter commented 8 years ago
Fixed in http://winff.googlecode.com/files/presets-libavcodec54_v2.wff

Fixed in svn r745

Original comment by poipodec...@hotmail.com on 17 Mar 2013 at 10:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
GREAT THANKS!

Original comment by das...@gmail.com on 18 Mar 2013 at 12:07