Opened 5 years ago

Closed 5 years ago

#395 closed defect (fixed)

ffmpeg: failed to set value 'XXX' for option 'passlogfile'

Reported by: j Owned by:
Priority: important Component: ffmpeg
Version: 0.8.2 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

in both git branches release/0.7 and release/0.8

ffmpeg -i input.mov -pass 1 -passlogfile /tmp/2pass /tmp/test.webm

fails with:

ffmpeg: failed to set value '/tmp/2pass' for option 'passlogfile'

this happens with this configuration:

./configure \
    --enable-gpl \
    --enable-version3 \
    --enable-libvorbis \
    --enable-pthreads \
    --disable-shared \
    --disable-ffserver \
    --disable-ffprobe \
    --enable-postproc \
    --enable-libtheora \
    --enable-libvpx \
    --disable-encoders \
    --disable-muxers \
    --enable-encoder=libvorbis,libvpx  \
    --enable-muxer=webm

Attachments (2)

config.mak (29.7 KB) - added by j 5 years ago.
config.h (30.9 KB) - added by j 5 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 5 years ago by j

just to add it works with git master

comment:2 Changed 5 years ago by cehoyos

Your command line works fine for me after configuring release/0.8 with the configure line you provided.

Please add complete, uncut output of the failing command line.

comment:3 Changed 5 years ago by j

also building from the 0.8.2 tarball gives me the same error:

/tmp/ffmpeg-0.8.2/ffmpeg -loglevel 1000000 -i test.avi  -passlogfile /tmp/testpass -pass 1 test.webm
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 13 2011 15:27:34 with gcc 4.5.2
  configuration: --enable-gpl --enable-version3 --enable-libvorbis --disable-shared --disable-ffserver --disable-ffprobe --enable-libvpx --disable-encoders --disable-muxers --enable-encoder='libvorbis,libvpx' --enable-muxer=webm
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
  libpostproc  51.  2. 0 / 51.  2. 0
[avi @ 0x92f5340] Format avi probed with size=2048 and score=100
[AVI demuxer @ 0x92f58a0] use odml:1
st:0 removing common factor 10000 from timebase
st:1 removing common factor 18 from timebase
[avi @ 0x92f5340] All info found
Input #0, avi, from 'test.avi':
  Metadata:
    encoder         : MEncoder CVS-021110-18:06-3.2 
  Duration: 00:00:48.22, start: 0.000000, bitrate: 1597 kb/s
    Stream #0.0, 1, 1/25: Video: mpeg4, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 1/25, 25 tbr, 25 tbn, 25 tbc
    Stream #0.1, 20, 32/1225: Audio: mp3, 22050 Hz, stereo, s16, 80 kb/s
/tmp/ffmpeg-0.8.2/ffmpeg: failed to set value '/tmp/testpass' for option 'passlogfile'

Changed 5 years ago by j

Changed 5 years ago by j

comment:4 Changed 5 years ago by cehoyos

  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open

Works fine with 64bit compiler, broken for 32bit.

comment:5 Changed 5 years ago by cehoyos

$ ./ffmpeg -i tests/lena.pnm -pass 1 -passlogfile test out.avi
ffmpeg version 0.8.2, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug 17 2011 12:29:34 with gcc 4.5.3
  configuration: --cc='/usr/local/gcc-4.5.3/bin/gcc -m32'
  libavutil    51.  9. 1 / 51.  9. 1
  libavcodec   53.  7. 0 / 53.  7. 0
  libavformat  53.  4. 0 / 53.  4. 0
  libavdevice  53.  1. 1 / 53.  1. 1
  libavfilter   2. 23. 0 /  2. 23. 0
  libswscale    2.  0. 0 /  2.  0. 0
Input #0, image2, from 'tests/lena.pnm':
  Duration: 00:00:00.04, start: 0.000000, bitrate: N/A
    Stream #0.0: Video: ppm, rgb24, 256x256, 25 tbr, 25 tbn, 25 tbc
./ffmpeg: failed to set value 'test' for option 'passlogfile'

comment:6 Changed 5 years ago by cehoyos

  • Component changed from undetermined to FFmpeg
  • Resolution set to fixed
  • Status changed from open to closed
  • Version changed from unspecified to 0.8.2

Should be fixed in both 0.7 and 0.8 branches.

Note: See TracTickets for help on using tickets.