Opened 13 years ago

Closed 13 years ago

#1294 closed defect (fixed)

MEncoder dev-SVN-r27662 (latest trunk) unable to record (1.0-rc2 fine)

Reported by: fragabr@… Owned by: r_togni@…
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no


The following line:

/usr/local/bin/mencoder -tv
-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

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.



Something has changed between 1.0rc2 and the latest svn which

causes this.

Any hints? Thanks.

Change History (1)

comment:1 by fragabr@…, 13 years ago

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.