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:29:23 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
notes.log

http://filebin.ca/ecxfyq/notes.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)

iJwEAQECAAYFAkm4V2EACgkQ1WclBW9j5HlBKwP/YWB/luVS9RX0u5jT/2TzcaQY
LnmCnMH58PHkJySc06uKDPaP5DrU39+N/tTLCDtWPqxfEvPEqlBvcWCkhOBhFKJc
rttycyH73KO+JVmr05GhD4mT/MBQBKem+esmL+y/cIj24vb2YxRgiUrvwxoK0nRZ
DZw5Bnh42growlou+O8=
=DJcf
-----END PGP SIGNATURE-----



More information about the pkg-multimedia-maintainers mailing list