Opened 16 years ago
Closed 16 years ago
#1294 closed defect (fixed)
MEncoder dev-SVN-r27662 (latest trunk) unable to record (1.0-rc2 fine)
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | demuxer |
Version: | HEAD | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The following line:
/usr/local/bin/mencoder -tv
device=/dev/video1:input=3:norm=pal-m:amode=1:contrast=5:saturation=-10:brightness=5
-ovc xvid -xvidencopts pass=1 -oac mp3lame
-o tvrecord.avi tv://
works perfectly with mencoder 1.0rc-2, but not with svn (trunk):
MEncoder dev-SVN-r27659-4.3.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ (Family: 15, Model:
67, Stepping: 3) CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1
SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow
3DNowEx SSE SSE2
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@…>
comment: first try, more to come ;-)
Selected device: PowerColor RA330
Tuner cap:
Tuner rxs:
Capabilites: video capture VBI capture device tuner read/write
streaming supported norms: 0 = NTSC-M; 1 = NTSC-M-JP; 2 = NTSC-443; 3 =
PAL-BG; 4 = PAL-I; 5 = PAL-DK; 6 = PAL-M; 7 = PAL-N; 8 = PAL-Nc; 9 =
PAL-60; 10 = SECAM-DK; 11 = SECAM-L; inputs: 0 = for debug only; 1 =
Television; 2 = Composite1; 3 = S-Video; Current input: 3 Current
format: BGR24 v4l2: current audio mode is : STEREO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
v4l2: 0 frames successfully processed, 0 frames dropped.
============ Sorry, this file format is not recognized/supported
============= === If this file is an AVI, ASF or MPEG stream, please
contact the author! === Cannot open demuxer.
Exiting...
*
Something has changed between 1.0rc2 and the latest svn which
causes this.
Any hints? Thanks.
The solution also was to compile with my own flags (-O2 -march=native). As I said before, the excessive optimization causes the compiler to generate bad code.