vlc test reports, missing working mkv mux and possibility to output raw data and to dv format

Jelle de Jong jelledejong at powercraft.nl
Thu Mar 12 00:10:12 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This message contains the following attachment(s):
movie0.log
movie1.log
movie2.log
movie3.log
movie4.log
movie5.log
movie6.log
movie7.log
movie8.log
movie9.log


Hello everybody,

I have been trying for 3 days to get some live recording of v4l2 devices
working, but so far everything is against me :-D

I have been running the following tests:

# test 7

# sound ok but there is no video
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=movie0}}"

# shocking video, audio ok, audio seems in sync with stuttering video
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=theo,vb=800,scale=1,acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ogg,dst=movie1}}"

# perfect sound recording
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ogg,dst=movie2}}"

# way to fast video playback, useless ouput, audio seems ok, bad output
quality, cpu had some peakes to 100%
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=mp2v,vb=800,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=movie3}}"

# garbage output, no audio, no video
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=raw,dst=movie4}}"

# there is no video, but there is perfect sound
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=movie5}}"

# there is video and there is audio, but the output and file is corrupted
and play to short, cpu had some peaks to 100% then setterling back to 60%
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mp4,dst=movie6}}"

# no video, sounds ok
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ts,dst=movie7}}"

# only video, no sound, does play as long as recorded, file is corrupted
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=WMV2,vb=800,scale=1,acodec=wma,ab=128,channels=2}:duplicate{dst=std{access=file,mux=asf,dst=movie8}}"

# shocking video, no sound (useless output)
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=theo,vb=1152,acodec=mp4a,acodec=mp4a,ab=128}:duplicate{dst=std{access=file,mux=ogg,dst=movie9}}"

# [00000393] main mux error: no sout mux module matched "mkv"
vlc -vvv v4l2:// :v4l2-dev=/dev/video0 :v4l2-adev=/dev/dsp1 :v4l2-input=1
-
--sout="#transcode{vcodec=MJPG,vb=1152,scale=1,acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mkv,dst=movie10}}"

:sout=#transcode{vcodec=h264,vb=1152,scale=1,acodec=vorb,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mkv,dst=movie10}}
:sout=#transcode{vcodec=mp4v,vb=1152,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mkv,dst=movie10}}
:sout=#transcode{vcodec=DIV3,vb=1152,scale=1,acodec=mp3,ab=128,channels=2}:duplicate{dst=std{access=file,mux=mkv,dst=movie10}}


I cant seem to get mkv containter working, why is this? and how to solve it?

I would very much just dump the v4l2 input to a dv container (libdv), but
i have no idea how to do this, and it appears --disable-dv is used. Why
is this an how to solve this, recompiling is not an option, since this
creates to much maintenance for me.

So my questions:

1. how to get mkv working
2. how to get a working ogv video output that does not stutter
3. how to dump v4l2 devices to dv container with pal format
4. how to output raw like pcm and yuv4mpeg

I know this can be some difficult question, but i have tried very very
hard and way to much time to give up :-)

Thanks in advance,

Best regards,

Jelle de Jong
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iJwEAQECAAYFAkm4UuIACgkQ1WclBW9j5HkSdgP/TKQwmh8Wd5qjJlInyRw1omLR
9lGfCTQGX+j459+C/3AHDG16ZzDxYnTzBB3tywS4cE4OzKkbskESBPlkV5RfIWf/
84SeH48LNnVnqUbrsqo1uQe8PgnPnoCx4uRA93IXUci26i1tdY0yckhIZ1GmA9Su
g7Ixi9vIJRWSscO700M=
=FOrI
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie0.log
Type: text/x-log
Size: 24184 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0011.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie1.log
Type: text/x-log
Size: 29063 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0012.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie2.log
Type: text/x-log
Size: 25418 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0013.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie3.log
Type: text/x-log
Size: 71697 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0014.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie4.log
Type: text/x-log
Size: 24220 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0015.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie5.log
Type: text/x-log
Size: 24957 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0016.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie6.log
Type: text/x-log
Size: 56350 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0017.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie7.log
Type: text/x-log
Size: 65696 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0018.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie8.log
Type: text/x-log
Size: 70435 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0019.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: movie9.log
Type: text/x-log
Size: 27275 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0020.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: notes.log
Type: text/x-log
Size: 26763 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20090312/38579291/attachment-0021.bin 


More information about the pkg-multimedia-maintainers mailing list