Page 1 of 1

Support for DV (AVI)?

Posted: 28 Sep 2006 14:03
by jmone
Hi - A newbie here. I'm using the Portable Version of VLC and am really impressed that it seems to play everything except for my DV Files (AVI) from the camcorder (PAL). Does VLC support (or can be moded to support) these?
Thanks
Nathan

Posted: 28 Sep 2006 19:31
by funman
http://www.videolan.org/vlc/features.html

this page says that vlc can read raw dv files

when you copy it to your computer be sure to save it in raw dv format, if that does not work please let us know

Posted: 28 Sep 2006 22:52
by jmone
They are ones captured straight from the Camcorder (by Ulead Video Studio) and ones I've edited and saved back. These are in DV-Type 1 format (can test Type 2 later), and are anamorphic 16:9.
Thanks
Nathan

Posted: 29 Sep 2006 12:14
by VLC_help
Can you paste View -> Messages what says after you open dv file?

Posted: 29 Sep 2006 15:02
by jmone
Hi, it says
avi error: no valid track
mpgv error: cannot peek
ps error: cannot peek
mjpeg error: cannot peek
ps error: cannot peek
main error: no suitable demux module for `/://V:\Video\uvs050419-002-2.AVI'

thanks
Nathan

PS the files play fine in WMP & ZoomPlayer

Posted: 30 Sep 2006 20:05
by VLC_help
Can you post small sample
ftp://streams.videolan.org/incoming there?

Posted: 02 Oct 2006 08:34
by jmone
Uploading sample file "uvs050716-002-27.AVI". Have also tried a different VLC install on another PC but the same problem.
Thanks
Nathan

Posted: 04 Oct 2006 08:59
by jmone
Hi, any results from looking at the sample?
Thanks
Nathan

Posted: 09 Oct 2006 08:37
by jmone
Hi VLC_help, any luck with that file?
Thanks
Nathan

Posted: 09 Oct 2006 14:10
by funman
Hi

First, sorry for the delay i had problems to access the file you had sent, and then forgot about it :/

I couldn't play the file with vlc, however i could open it with ffplay, so it's a bug in vlc.

It was reported on https://trac.videolan.org/vlc/ticket/772 , but now I can't tell you when it will be fixed since I don't know how to do it myself :o

Thanks for the report

Posted: 09 Oct 2006 22:37
by jmone
Thanks mate, much appreciated as VLC is the one player that looks like it will play my entire media collection without issues.....(many have a MPEG/DTS muxed file issue). Now all I need to do is integrate it into Media Center SW (like Media Portal)....

Posted: 15 Oct 2006 16:50
by funman
hi, a developer just started to work on it

i could play the file the same way ffplay did, i.e. not very good
you might want to try with nightly builds of trunk starting from 16 october.
you can find it at http://nightlies.videolan.org

the developer need another file to work on, a bigger file so he can seek into the movie.

please report any problems you are seeing with a nightly version, and the version you used.

don't forget to delete your plugin cache and preferences between 2 versions

Posted: 16 Oct 2006 08:28
by jmone
I'm uploading a 25-sec file called uvs050419-002-5.AVI. Like the previous file this one is:
* Video Compression is DV Video Encoder - Type 1 (also have some Type 2)
* Video Attributes are 720x576 Pal, 24Bit (Anamorphic - 16:9 Display, 4:3 Actual)
* Audio Compression is DV Audio-PAL
* Audio Attributes are 2ch, 16 bit 48khz

I'll try the nightly builds and report back.
Thanks
Nathan

FYI from Wikipedia on Type 1 / Type 2
Type 1 and Type 2 DV AVI files

There are two types of DV-AVI files:

Type 1: The multiplexed Audio-Video is kept in its original multiplexing and saved together into the Video section of the AVI file
Does not waste much space (audio is saved uncompressed, but even uncompressed audio is tiny compared to the video part of DV), but Windows applications based on the VfW API does not support it.
Type 2: Like type 1, but audio is also saved as an additional audio stream into the file.
Supported by VfW applications, at the price of little increased file size.
Type 1 is actually the newer of the two types. Microsoft made the "type" designations, and decided to name their older VfW-compatible version "Type 2", which only furthered confusion about the two types. In the late 1990s through early 2000s, most professional-level DV software, including non-linear editing programs, only supported Type 1. One notable exception was Adobe Premiere, which only supported Type 2. High-end FireWire controllers usually captured to Type 1 only, while "consumer" level controllers usually captured to Type 2 only. Software is and was available for converting Type 1 AVIs to Type 2, and vice-versa, but this is a time-consuming process.

Posted: 16 Oct 2006 10:45
by jmone
OK - same error on the Oct14 Ver (the latest I can see) - will wait and test the Oct16 Ver when out.

Posted: 18 Oct 2006 08:04
by Yoi
Hi, I've just download and installed the VLC. But when I tried to play an AVI format file, it doesn't show the picture. Just the sound.
Any advice?

Posted: 18 Oct 2006 08:25
by Yoi
Hi, it's me again. After I read the "play-how-to".pdf (documentation), it suggests me to open the error messages. And yes, I found the problem.
Here's the log :

main error: no suitable decoder module for fourcc `WMV3'.
VLC probably does not support this sound or video format.

Ok, I hope, all of you guys in the project can solve this out as soon as possible.

Regards,

Posted: 18 Oct 2006 10:35
by jmone
Hi Funman,
The latest trunk version is still the 14th of Oct.
Thanks
Nathan

Posted: 18 Oct 2006 15:02
by VLC_help
main error: no suitable decoder module for fourcc `WMV3'.
VLC probably does not support this sound or video format.
,
Should work on nightlies or with 0.8.5 if you install newest Windows media player.

Posted: 18 Oct 2006 22:50
by jmone
I've only been able to test on 1 PC so far (Trunk V.20061018) but no luck - got the following message:
rawdv error: cannot peek()
main warning: no demux2 module matching "rawdv" could be loaded
main debug: thread times: real 0m7.593750s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 4300 joined (input/demux.c:366)
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk indx
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk JUNK
avi debug: free chunk LIST
avi debug: free chunk idx1
avi warning: unknown chunk (not unloaded)
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk RIFF
avi debug: free chunk LIST
main debug: removing module "avi"
main debug: removing module "access_file"
main debug: dead input
main debug: thread times: real 0m7.656250s, kernel 0m0.281250s, user 0m0.000000s
main debug: thread 4232 joined (input/input.c:422)
main debug: starting new item
main debug: changing item without a request
main debug: finding next of 200206 - Queens BDay.avi within Playlist
main debug: Parent Playlist has 1 children
main debug: Current item is the last of the node,looking for uncle from Playlist
main debug: already at root
main debug: Got next item null, testing suitability
main debug: At end of node
main debug: did not find something to play
main debug: nothing to play

Posted: 19 Oct 2006 05:33
by Yoi
Should work on nightlies or with 0.8.5 if you install newest Windows media player.
Excuse me, I installed VLC cause I hate Windows Media Player!!
Any other suggestion? Or should I install any codec, perhaps?! Thanks.

Posted: 19 Oct 2006 12:38
by jmone
I've tried Trunk Build 20061019 on a couple of PCs and while the AVI now plays it does so poorly. Your right, the quality is poor, esp as the video is jerky and the aspect ratio is 4:3 not 16:9 (using Auto). I've uploaded a sample of the message file as: AVImessages20061019.txt
Thanks
Nathan

Posted: 19 Oct 2006 21:55
by DJ
I VLC 0.8.5 WMV3 is supported through Windows Direct Show codecs. These are generally supplied with WMP and were pulled with the EEC directive. Installing the Windows Media Format SDK for Developers may resolve the issue. But you will need to read the info on Windows web site.

This should be resolved in VLC 0.8.6 as FFMPEG will handle WMV3 type files.

Posted: 20 Oct 2006 02:08
by funman
jmone:

so it looks like DV Type 1 was not supported before, and the developer who is working on it has not committed modifications since 15th of october.

your avi file and the txt messages have been received but i don't know when he will work on it or what he needs.

if you can come on irc, freenode #videolan, his nickname is "thedj"

How to read raw DV from stdin?

Posted: 20 Nov 2006 13:09
by mijutu
This works correctly:
vlc --intf=dummy --rc-fake-tty --no-sub-autodetect-file capture004.dv

And this does not:
vlc --intf=dummy --rc-fake-tty --no-sub-autodetect-file capture004.dv :demux=rawdv

The difference is in handling audio streams. The first example takes the stereo stream
that was recorded by the camera and plays it correctly. The second example
seems to play the first stream on the left speaker and the second stream on the right speaker.

To those who didn't know: Raw DV has either 2 12bit stereo streams on one 16bit
stereo stream.

As a workaround I can turn the camera to 16 bit mode and the second command line will work properly.

I need the :demux=rawdv option on the command line because I need to take the DV from stdin.

Is there a command line option to choose which audio streams to take from the DV?