[MEncoder-users] extreme high unusable cpu load (100%) when live encoding dvvideo in avi container
Jelle de Jong
jelledejong at powercraft.nl
Sat Mar 14 20:42:11 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I am trying to grab a live video and audio stream from a hybride usb
analog video grabber device. But I am having extreme high cpu loads with
encoding dvvideo that makes it impossible to do live processing of the
stream. (mpeg4 encoding does work at very low cpu loads)
Any ideas why the cpu load is 100%, it was my impression vdvideo is a
very fast encoding technique. When my cpu load is 100% my memory
eventually also becomes full and when no free memory is available
mencoder will generate buffer overflow messages and the recording will
get useless corrupted.
Would somebody be willing to do some testing on there system?
Please see the attachment (video5.log)
$ mencoder tv:// -tv
driver=v4l2:device=/dev/video0:input=1:norm=PAL-BG:adevice=/dev/dsp1:immediatemode=0:audiorate=48000:width=720:height=576
- -oac lavc -lavcopts acodec=pcm_s16le:threads=4 -ovc lavc -lavcopts
vcodec=dvvideo:format=422P:threads=4 -of lavf -lavfopts format=avi -o
video5.avi
(using other threads values did not help)
One other small question about live dvvideo encoding with mencoder:
The output stream is: (detected with ffmpeg)
Stream #0.0: Video: dvvideo, yuv422p, 720x576, 25 tbr, 25 tbn, 25 tbc
Stream #0.1: Audio: pcm_s16le, 48000 Hz, mono, s16, 768 kb/s
But the dv standard seem to likes yuv420p instead of yuv422p how can I
make mencoder output the yuv420p format (this format option is not in the
manual, format=420P does not work)
Output #0, dv, to 'video5.dv':
Stream #0.0: Video: dvvideo, yuv420p, 720x576, q=2-31, 200 kb/s, 90k
Stream #0.1: Audio: pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s
Thanks in advance for any help,
Best regards,
Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iJwEAQECAAYFAkm8CJAACgkQ1WclBW9j5HnFdwP/YQGeeWqeqGvAMBkXUZUxO/dq
/anm8Mjl+5C0d5aYZQSORJtsgaFuQUsAS3+sf0pl3XEFA5bOIbqA/yD6/QGtDNjG
/QfDp3lREger6QEjqBZgtAbT3fQ6cEfCr8lT6gYS9sl3Ym9lyzXiq4eVaDxvyT54
WbSBEamiC5ZcBz7N+uc=
=D5bu
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: video5.log
Type: text/x-log
Size: 17059 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20090314/3455eea8/attachment.bin>
More information about the MEncoder-users
mailing list