View previous topic :: View next topic |
Author |
Message |
miroR l33t
Joined: 05 Mar 2008 Posts: 826
|
Posted: Wed Apr 01, 2015 10:10 pm Post subject: mencoder: AVFrame.width or height is not set |
|
|
mencoder: AVFrame.width or height is not set
Code: |
$ mplayer --version
Unknown option on the command line: --version
Error parsing option on the command line: --version
MPlayer SVN-r37373 (Gentoo)-4.8.4 (C) 2000-2015 MPlayer Team
3DNow supported but disabled
3DNowExt supported but disabled
$
|
I have an issue that I havn't been able to solve.
The command line:
Code: |
mencoder tv:// -profile mpeg4_capt_HaupP -o Compo_`date +F%m%d_%H%M`.avi
|
And the profile in ~/.mplayer/mencoder.conf contains the respective section:
Code: |
[mpeg4_capt_HaupP]
profile-desc="mpeg4 capture"
tv=driver=v4l2:input=1:width=768:height=576:device=/dev/v4l/video0:normid=3:input=1:alsa=1:adevice=hw.1,0:audiorate=48000:amode=1
ovc=lavc=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0
noskip=1
oac=mp3lame=1
|
However, the run (taken with just adding ` |& tee <LOGFILE> ' to the command line (without the quotes, with some real filename), and just the first second is pasted here, goes like this:
Code: |
MEncoder SVN-r37373 (Gentoo)-4.8.4 (C) 2000-2015 MPlayer Team
3DNow supported but disabled
3DNowExt supported but disabled
success: format: 9 data: 0x0 - 0x0
TV file format detected.
Selected driver: v4l2
name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
comment: first try, more to come ;-)
Selected device: Hauppauge WinTV-HVR3000 TriMode
Tuner cap: STEREO LANG1 LANG2
Tuner rxs: MONO
Capabilities: 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-B; 11 = SECAM-G; 12 = SECAM-H; 13 = SECAM-DK; 14 = SECAM-L;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 1
Current format: UYVY
v4l2: current audio mode is : STEREO
v4l2: ioctl set format failed: Invalid argument
v4l2: ioctl set format failed: Invalid argument
[V] filefmt:9 fourcc:0x59565955 size:720x576 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
libavcodec version 56.26.100 (external)
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [harddup]
Opening video filter: [softskip]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Movie-Aspect is undefined - no prescaling applied.
[swscaler @ 0x3d463f07120]bicubic scaler, from uyvy422 to yuv420p using MMXEXT
[swscaler @ 0x3d463f07120]using unscaled uyvy422 -> yuv420p special converter
videocodec: libavcodec (720x576 fourcc=34504d46 [FMP4])
[VE_LAVC] Using constant qscale = 4.000000 (VBR).
Selected video codec: [rawuyvy] vfm: raw (RAW UYVY)
==========================================================================
MP3 audio selected.
Forcing audio preload to 0, max pts correction to 0.
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.1s 2f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.048s.
Writing header...
ODML: vprp aspect is 16384:13107.
Setting audio delay to 0.048s.
Pos: 0.1s 3f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.2s 4f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.2s 5f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.2s 6f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.3s 7f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.3s 8f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.4s 9f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.4s 10f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.4s 11f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.5s 12f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.5s 13f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.6s 14f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.6s 15f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.6s 16f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.7s 17f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.7s 18f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.8s 19f ( 0%) 18.59fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.8s 20f ( 0%) 19.40fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.8s 21f ( 0%) 20.19fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.9s 22f ( 0%) 20.99fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 0.9s 23f ( 0%) 21.76fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.0s 24f ( 0%) 22.51fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.0s 25f ( 0%) 19.67fps Trem: 0min 0mb A-V:0.000 [0:0]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.0s 26f ( 0%) 20.31fps Trem: 0min 0mb A-V:0.000 [2102:300]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.1s 27f ( 0%) 20.93fps Trem: 0min 0mb A-V:0.000 [2101:301]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.1s 28f ( 0%) 21.59fps Trem: 0min 0mb A-V:0.000 [2110:302]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
Pos: 1.2s 29f ( 0%) 22.21fps Trem: 0min 0mb A-V:0.000 [2095:302]
[mpeg4 @ 0x3d4633f2e20]AVFrame.format is not set
[mpeg4 @ 0x3d4633f2e20]AVFrame.width or height is not set
|
So the lines containing:
Code: |
[mpeg4 @ ...]AVFrame.format is not set
[mpeg4 @ ...]AVFrame.width or height is not set
|
are ugly to see, and show some problem underneath.
The is my recent update of the Gentoo machine. Apart from ALSA having changed my default card --for which reason at first mencoder wouldn't at first capture any sound-- and which I sorted by changing, in the ~/.asoundrc :
Code: |
pcm.!default { type hw card 0 }
ctl.!default { type hw card 0 }
|
to:
Code: |
pcm.!default { type hw card 1 }
ctl.!default { type hw card 1 }
|
No other difficulties (also, for clarity, this with the ALSA I solved previously to running the command further above). And also...
And also, the video captured, on that old composite input of my old Hauppauge card, via cables with cinch connectors (really old ways, isn't it?), plays fine, other than not knowing precisely the width or height, or rather the aspect, to show (which I can set with mplayer -vf dsize=4/3 or -vf dsize=16/9, or similarly, also later with ffmpeg).
So it appears to be either something missing in my configuration, or, a minor and innocuous, but somewhat, not much, annoying bug in mplayer/mencoder?
Any idea what this might be, whether it is Gentoo bugs to report this to, or try and solve it with mencoder-users.
And, giving this another read, and noticing that in another same hardware, same MBO machine (and same install: I clone systems with dd one onto another when they're same hardware), which however I haven't updated yesterday like I did update this machine I yesterday...
And, giving this another read, I see its the same MPlayer SVN-r37373 (Gentoo)-4.8.4 on the other box, which is:
media-video/mplayer=1.2_pre20150214
But judging by the fact that on the not-yet-updated machine there is not this annoyance at all, I suspect it must be something to do with some of the Gentoo recent updates...
Concluding that I should expect this to be more likely a Gentoo issue, I'm posting this to Gentoo Forums, and not sending a query about it to mencoder-users, at least not for now.
Anyone has a similar issue? |
|
Back to top |
|
|
miroR l33t
Joined: 05 Mar 2008 Posts: 826
|
Posted: Wed Apr 01, 2015 10:13 pm Post subject: |
|
|
Just, it could be the kernel.
With the old (the not-yesterday updated machine):
3.18.8-hardened-150309
no issues...
With the new: 3.19.3-hardened-150331
these issues described above...
But I'm only guessing... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|