[MEncoder-users] With time honoured always working alsa settings no more audio with mencoder...
Miroslav Rovis
m.rovis at inet.hr
Fri Nov 9 01:48:29 CET 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Since the good MPLAYERHQ.HU Mplayer Headquarters, where Mplayer
started by Árpád Gereöffy, my Hungarian neighbour (
https://en.wikipedia.org/wiki/Mplayer ) is already showing my post:
http://lists.mplayerhq.hu/pipermail/mencoder-users/2012-November/013228.html
but the secret services haven't yet sifted my mail to decide what of
my mail to let me have and what not to (it's a regular treatment that
the killer's children who they are give to even tolerant rightwingers
like me),
((( Actually I wasn't right this time around, because I'm on digest
with mencoder at this time. But I like what I wrote, because it is
true, in many other similar occasions. )))
I can not reply in good order to my own post.
I know it'll be posted in the right thread because I'll give it the
right Subject line, which is good enough for good mailing lists...
### Now the tech content.
If we look into mplayer (should have been in mencoder) archives:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-December/subject.html
there we find the thread by the subject:
[MPlayer-users] A-V sync with mencoder/mplayer
Starting from, say:
http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-December/078442.html
Somewhere there, or later, or even earlier, and thanks to help from
Reimar Döffinger and others, I was able to, after days of testing, get
mencoder to fabulously :-) capture on Composite (be it S-video or to
Composite through adapters, or plain Composite, from, usually either
from S-video, Composite, or Scart inputs, so we're talking old
equipment, still just good for old footage of any kind)...
But I was saying, thanks to help from Mencoder crew, I was able to
capture with mencoder on Composite input of my now old Hauppauge
HVR-3000 PCI card, both video and audio, and it was the sync that was
the hurdle par excellance, like no other, bothered people later on as
well...
The code that I still use, and is based on those findings, or maybe
later improvements, who can tell, and I'm not rummiging into all the
archives now, has stopped capturing from line-in, for short.
These are the relevant profiles in ~miro/.mplayer/mencoder.conf
[mpeg4_capt]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0,2:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
#nosound=1
lavcopts=vcodec=mpeg4:autoaspect=1:vqscale=4:vb_strategy=1:vmax_b_frames=2:mbd=0:turbo=1
vf=softskip,harddup
mc=0
[mpeg4_capt_MP3]
profile=mpeg4_capt_MP3
oac=mp3lame=1
lameopts=cbr=1:preset=standard
I don't remember now why I needed to make two profiles, I remember
that just worked for all this time... with the commend (or a previous
variant of the following command):
mencoder tv:// -profile mpeg4_capt_noAu -o Compo_`date +C%m%d_%H%M`.avi
I use C insted of 12 for year 2012 (because I'll be using one digit
instead of one in tens of thousands of instances, this way), so the part:
`date +C%m%d_%H%M`
(those are the socalled backticks at beginning and end; I always like
providing extra explanations for possible newbies to understand)
get substituted with the current
month day _ hour minute (without blanks. two digits each),
so I can make those numerous tries if I need without having to
delete/overwrite files.
I'm not explaining all now, but the relevant for the problem that I have.
The line that does the audio capture setting is:
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.0,2:audiorate=48000:amode=1:width=768:height=576
ovc=lavc=1
It actually does the video and audio setting, but the audio setting is
determined with:
input=1:alsa=1:adevice=hw.0,2:audiorate=48000:amode=1
ovc=lavc=1
which is in that line.
That is the bit that doesn't work anymore.
Now comes the pictures, moving, to the aid of the needy...
But they are so clumsily made.... I'm sorry!
On the other hand, I am really grasping for time like the drowning for
air... Sorry!
This is the video:
"Screen 2012-11-08, 19h, Alsa problem 2" No! Not anymore! Now it reads:
"Screen 2012-11-08, 19h, Alsa problem 2, pls see text below"
http://www.youtube.com/watch?v=M7AZ6el8AK4
Note exclusively ;-) for mencoder users. Don't bother listening after
the real mess starts, which is after about 9:00, because I forgot to
switch back to microphone from line-in, and only thought that I was
taping own talk...
Sure, there is also
"Screen 2012-1x-xx, xxh, Alsa problem" (or part 1, Youtube should give
you that)
The line that OTOH captures the audio fine, is:
ffmpeg -f pulse -i default Ffm_`date +C%m%d_%H%M`.wav
and it captures what I set ti to capture, either Line-in or Mic or
probably something else (haven't tried yet).
My question is:
how do I either:
1) configure mencoder to capture pulseaudio just like ffmpeg does
or
2) get mencoder to capture audio from my Line-in in come other way
I hope I made a much clearer now.
Thanks people. Let's solve this issue, so mencoder can still be used
on precious VHS tapes, and other stuff. which is not going away
anytime soon, just yet, and for years to come!
Miroslav Rovis
m.rovis at inet.hr
miro.rovis at gmail.com
01 660 2633
091 266 0202
#=== osuđen: ===#
http://www.croatiafidelis.hr/Miroslav_Rovis_politicki_progon/
#=== pravomoćno! ===#
http://www.exDeo.com
http://groups.google.com/group/croatian-news/
http://www.youtube.com/user/miroR2
nije moj profil, ali do siečnja 2012., a i kasnije, tamo postavljah:
http://www.youtube.com/user/prosvjednikkrcmarek
Ima nešto i ovdje:
http://vimeo.com/user9621785
http://creativecommons.org/licenses/by-nc-sa/3.0/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCcUtwACgkQ5NaGZVDan0o6YgCghLYfwrNcEavoJPPS7+0fuiMo
W+QAoLIeegzkxyVdKU+Oho9mE+V2zwDj
=Z3vA
-----END PGP SIGNATURE-----
More information about the MEncoder-users
mailing list