[FFmpeg-user] Capturing from DVB-T card
Miroslav Rovis
m.rovis at inet.hr
Fri Nov 2 00:47:52 CET 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
I hope it's not too late to look at issues in this ten months old thread.
Easily found on the web, starting from here:
http://ffmpeg.org/pipermail/ffmpeg-user/2011-December/003955.html
But I'm replying from my mailbox. Find more underneath, pls.
On 22/12/11 03:07, Carl Eugen Hoyos wrote:
> Heiko Baums <lists <at> baums-on-web.de> writes:
>
>> But now I seem to have an a/v-sync issue similar to the one I
>> have with mencoder and lavc.
>
> -async 1 should fix it
>
>> And the picture quality doesn't seem to be the best with
vcodec=huffyuv or
>> vcodec=rawvideo,
>
> But that is not FFmpeg's fault;-) (Both variants save what the tv
> card outputs, without the slightest
change.)
>
>> it looks at least a bit worse than with tvtime. But I hadn't had
time to look
>> closer at every ffmpeg option and which options I currently have
>> set in tvtime.
>
> Use a post-processing filter to improve visual quality, the
> MPlayer
manual
> informations should apply.
>
> Carl Eugen
>
> _______________________________________________ ffmpeg-user mailing
> list ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
I've checked all things in detail in the thread, but I can't get
anything out properly.
ffmpeg -f pulse -i default -f v4l2 -channel 1 -i /dev/video0 -s
768x576 Ffm_`date +%y%m%d_%H%M`.avi
(instead of overwriting tries with -y, I prefer having them while
still using same command, so: Ffm_`date +%y%m%d_%H%M`.avi )
I do get fine video in (it's Composite input on old Hauppauge 3000 card).
But I can't get the audio...
What should I try? I have pulse installed just fine (mostly)...
I'm sorry, and I'm glad at the same time. More glad than sorry!
Because just now, I got the audio to work... (I wanted to ask how to
do it.)
But don't worry. It's worth reviving this thread. Because I don't have
good quality! Only good if no better there, at this time!
So the command is as above.
OTOH, ommitting "-s 768x576" (I like setsar=1 on setdar=1.333 on
PAL, good for Cinelerra), it gives me only 640x480...
Why? Because I know my card gives 768x576. How do I get it?
In long years, I have been using the commands (the problem is they
haven't worked yet till my recent hardware update:
http://forums.gentoo.org/viewtopic-p-7173420.html#7175518 ) summarized as:
mencoder tv:// -profile mpeg4_capt -profile mpeg4_capt_MP3 -o
Compo_`date +%y%m%d_%H%M`.avi
where, in ~/.mplayer/mencoder I have:
[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_HaupP]
profile-desc="mpeg4 capture"
tv=input=1:driver=v4l2:device=/dev/video0:normid=3:input=1:alsa=1:adevice=hw.1,0:audiorate=48000:amode=1:width=768:height=576
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
oac=mp3lame=1
lameopts=cbr=1:preset=standard
[mpeg4_capt_MP3]
profile=mpeg4_capt_MP3
oac=mp3lame=1
lameopts=cbr=1:preset=standard
And that just about always gave me audio/video as fine as it was
broadcast od more precisely sent via cable.
How do I get that with ffmpeg?
Thanks!
Miroslav Rovis
Zagreb, Croatia
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iEYEARECAAYFAlCTCiYACgkQ5NaGZVDan0r1KACeP5DC08bd/CkzI71Pmj5FVStg
OFUAnAqDyoZntYCAi6OkHoKpjsyRywlv
=Shil
-----END PGP SIGNATURE-----
More information about the ffmpeg-user
mailing list