Doesn't render rv24 AVI correctly. Distorted/Cut.

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Doesn't render rv24 AVI correctly. Distorted/Cut.

Postby brockb » 23 Mar 2007 23:29

Is there anything I can do to get it to render this AVI correctly in VLC? If you look at the picture below... the top left feed is how it is being displayed in VLC and the bottom feed is how it is supposed to look (which is being fed through Windows Media Player 11 on the same machine.)

It appears as if it is cutting the file in two at a diagonal and then skewing it.

Image

Info about the file:

Code: Select all

General #0 Count : 177 Count of stream of this kind : 1 Kind of stream : General StreamKindID : 0 Count of video streams : 1 Count of audio streams : 0 Count of text streams : 0 Count of chapter streams : 0 Codecs Video : RV24 File extension : avi Format : AVI Format/Info : Audio Video Interleave Format/Family : RIFF Format/Extensions : avi Codec : AVI Codec/Info : Audio Video Interleave Codec/Family : RIFF Codec/Extensions : avi File size : 354927886 File size : 338 MiB PlayTime : 35s Bit rate : 81121920 Bit rate : 81 Mbps Video #0 Count : 74 Count of stream of this kind : 1 Kind of stream : Video StreamKindID : 0 ID : 0 Codec : RV24 PlayTime : 35s Bit rate : 81116920 Bit rate : 81 Mbps Width : 450 Width : 450 pixels Height : 250 Height : 250 pixels Aspect ratio : 1.800 Aspect ratio : 16/9 Frame rate : 30.000 Frame rate : 30.000 fps FrameCount : 1050 Bits/(Pixel*Frame) : 24.035







Debugging info:

Code: Select all

main debug: looking for interface module: 1 candidate logger: VLC media player - version 0.8.6a Janus - (c) 1996-2007 the VideoLAN team logger: Warning: if you can't access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I wx" logger: using logger... logger debug: opening logfile `C:\Program Files\VideoLAN\VLC\logs\Logs.html' main debug: using interface module "logger" main debug: thread 3956 (interface) created at priority 0 (interface/interface.c:231) main debug: adding playlist item `C:\Align_Pattern.avi' ( C:\Align_Pattern.avi ) main debug: creating new input thread main debug: waiting for thread completion main debug: thread 4484 (input) created at priority 1 (input/input.c:265) main debug: drive letter C: found in source main debug: `C:\Align_Pattern.avi' gives access `' demux `' path `C:\Align_Pattern.avi' main debug: creating demux: access='' demux='' path='C:\Align_Pattern.avi' main debug: looking for access_demux module: 1 candidate main debug: creating access '' path='C:\Align_Pattern.avi' main debug: looking for access2 module: 5 candidates vcd debug: trying .cue file: C:\Align_Pattern.cue vcd debug: could not find .cue file access_file debug: opening file `C:\Align_Pattern.avi' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer skins2 warning: cannot find node with id -1 main debug: pre-buffering done 1408981 bytes in 0s - 200226 kbytes/s main debug: creating demux: access='' demux='' path='C:\Align_Pattern.avi' main debug: looking for demux2 module: 45 candidates avi debug: found Chunk fourcc:46464952 (RIFF) size:354927878 pos:0 avi debug: found LIST chunk: 'AVI ' avi debug: avi debug: found Chunk fourcc:5453494c (LIST) size:192 pos:12 avi debug: found LIST chunk: 'hdrl' avi debug: avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 avi debug: avih: streams:1 flags: HAS_INDEX 450x250 avi debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 avi debug: found LIST chunk: 'strl' avi debug: avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 avi debug: strh: type:vids handler:0x20424944 samplesize:0 30.00fps avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 avi debug: strf: video: 450x250 planes:1 24bpp avi debug: avi debug: avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1992 pos:212 avi debug: found Chunk fourcc:5453494c (LIST) size:354908404 pos:2212 message warning: message queue overflowed main debug: using decoder module "rawvideo" main debug: meta information: main debug: - 'Setting' = ' HAS_INDEX' main debug: `C:\Align_Pattern.avi' successfully opened avi debug: old:0 < new 0 main debug: no usable vout present, spawning one main debug: window size: 450x250 main debug: looking for video output module: 6 candidates vout_directx debug: creating DirectXEventThread main debug: waiting for thread completion vout_directx debug: DirectXCreateWindow vout_directx debug: created video sub-window main debug: thread 4468 (DirectX Events Thread) created at priority 0 (directx.c:278) vout_directx debug: DirectXEventThread running vout_directx debug: DirectXInitDDraw vout_directx debug: directx-device: vout_directx debug: DirectXEnumCallback: Primary Display Driver, display vout_directx debug: DirectXEnumCallback: NVIDIA GeForce Go 7300, \\.\DISPLAY1 vout_directx debug: selecting NVIDIA GeForce Go 7300, \\.\DISPLAY1 vout_directx debug: screen dimensions (0x0,1280x800) vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1 vout_directx debug: align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0 vout_directx debug: End DirectXInitDDraw vout_directx debug: DirectXCreateDisplay vout_directx debug: DirectXCreateClipper vout_directx debug: disabling screen saver main debug: using video output module "vout_directx" main debug: waiting for thread completion vout_directx debug: NewPictureVec overlay:yes chroma:YV12 main debug: Registering subpicture channel, ID: 2 main debug: Registering subpicture channel, ID: 3 vout_directx debug: YUV overlay created successfully main debug: Registering subpicture channel, ID: 4 main debug: Registering subpicture channel, ID: 5 vout_directx debug: End NewPictureVec (succeeded) main debug: got 1 direct buffer(s) main debug: picture in 450x250 (0,0,450x250), chroma RV24, ar 9:5, sar 1:1 main debug: picture user 450x250 (0,0,450x250), chroma RV24, ar 9:5, sar 1:1 main debug: picture out 450x250 (0,0,450x250), chroma I420, ar 9:5, sar 1:1 main debug: looking for chroma module: 9 candidates ffmpeg debug: no resampling ffmpeg debug: libavcodec already initialized main debug: using chroma module "ffmpeg" main debug: indirect render, mapping render pictures 0-7 to system pictures 1-8 main debug: thread 4672 (video output) created at priority 1 (video_output/video_output.c:421)
Running on an Acer Aspire 5630 with Windows XP Pro.
Intel Core 2 Duo 1.66Ghz
15.4" WXGA
256MB NVIDIA GeForce 7300 w/ TurboCache
160GB HD
2GB DDR2

Installed latest video/audio drivers AND directX drivers... video overlay is turned off.

Any ideas? I would love to get it to where VLC can play it exactly like WMP plays it on this machine. We may be S.O.L and have to use WMP right now for the sign until we can find something better but VLC would be our first choice otherwise.

Thanks!

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Clip

Postby brockb » 24 Mar 2007 19:26

Here is a little 5 second clip if somebody wants to try it out on theirs and see if they are getting the same results. It is rather large even though it is only 5 seconds since it is RAW. LINK

Try it in VLC & WMP and see if there is a difference for you?

My next question (if there is no way to configure through preferences to get the video to render correctly in VLC) might be... is there information somewhere on how to update the codec libraries and compile VLC with a codec that will render the RAW output correctly?

Thanks,

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 25 Mar 2007 08:15

Here is a reporting on the file from MPlayer that does play the file.

unscaled bgr24 -> yuv420p

Badly interleaved AVI file detected - switching to -ni mode...

MPC would not play the file at all. VLC gave me the equivalent of your post. WMP 11 using WMF 11 did NOT play the file at all.

To me this looks more like an encoding issue than a player issue for a format that seems to be disappearing.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 30 Mar 2007 20:54

To me this looks more like an encoding issue than a player issue for a format that seems to be disappearing.
Hmmm... I've run it through Premiere Pro using:
Microsoft Uncompressed AVI: Compressor = (10-bit YUV 4:2:2: YUV)
Microsoft AVI: Compressor = UYVY 422
Microsoft AVI: Compressor = none
Quicktime: Compressor = none

And none of those will play in VLC... they all end up with the split/skewed and colorless.

Even H.264 compression shows signs of compression so our customers require RAW/uncompressed video. I can't get VLC to play any uncompressed/RAW videos. Do you have any RAW videos or know of any that VLC can play? If so I'd like to download them and give them a try. It will at least help to rule out definitely whether or not VLC can play RAW. If we can rule that out then we can start looking at how to compile it with RAW support or stop pi$$ing in the wind and look in another direction for a player. I hope we can stick with VLC. *** fingers crossed ***

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 31 Mar 2007 07:16

http://www.videolan.org/vlc/features.html
Supported Formats

I believe these are all of the Chroma formats:

I420
I411
I422
YUYV
UYVY
RV24
RV32
I42N
I41N
GRAW

RV24 and RV32 seem to be common for raw video.
But I believe all of these are considered Raw video or perhaps no format.

No or low compressed MPEG 2 in the form or a HD .m2v seems to be acceptable to most professionals. Also an HD h.264 that is not highly compressed also seems acceptable though editing is a issue with this form. VLC is one of the few players that will play .264 and or .m2v files. Both of these formats are considered raw video only in the sense that they have no container and the amount of compression can be varied from non to what ever you deem acceptable.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 02 Apr 2007 18:44

Thanks for the help DJ.

I can't see where Adobe Premier Pro will allow you to do Mpeg2. It will allow you to do an AVI container with MPEG4 compression (and it has v1, v2 & v3 codecs to choose from).

I just tried exporting .mov with H.264 compression at 100% quality with no recompress and it does a pretty good job but it is still quite noticeable. Check the screenshot where the H.264 run through VLC is in the upper right and the regular raw run through WMP is in the center.

The colors seemed a little washed out and the compression causes some artifacting in the gradient and you can see the colors bleed together with the (yellow and blue) and (red and blue) bars.

Image

Maybe I shouldn't be trying this with Premier Pro. Any suggestions on another program that can convert raw to H.264 or .m2v with a greater quality?

Thanks again,

-BB
http://www.videolan.org/vlc/features.html
Supported Formats

I believe these are all of the Chroma formats:

I420
I411
I422
YUYV
UYVY
RV24
RV32
I42N
I41N
GRAW

RV24 and RV32 seem to be common for raw video.
But I believe all of these are considered Raw video or perhaps no format.

No or low compressed MPEG 2 in the form or a HD .m2v seems to be acceptable to most professionals. Also an HD h.264 that is not highly compressed also seems acceptable though editing is a issue with this form. VLC is one of the few players that will play .264 and or .m2v files. Both of these formats are considered raw video only in the sense that they have no container and the amount of compression can be varied from non to what ever you deem acceptable.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 02 Apr 2007 21:49

Yes! I have noticed this and I'm doing an enhancement for color and a slight sharpening for the edges when transcoding into h.264

Have you tried M2V for MPEG 2? This is the easier form if you want to make changes later with an editor and not transcode the whole thing again to loose a generation.

brockb
Blank Cone
Blank Cone
Posts: 22
Joined: 26 Feb 2007 17:59

Postby brockb » 02 Apr 2007 22:18

Yes! I have noticed this and I'm doing an enhancement for color and a slight sharpening for the edges when transcoding into h.264

Have you tried M2V for MPEG 2? This is the easier form if you want to make changes later with an editor and not transcode the whole thing again to loose a generation.
Well the good news is... it isn't VLC that is causing the dull colors and artifacts... it looks the same way in QT. It is just the way Premier compresses it during export. QT has the same dull colors when running the file. It looks like the lines might be just slightly sharper so I don't know if QT runs a sharpening agent automatically or not.

I'll look around and see what I can find for going from AVI/RAW to MPEG2/M2V and post my results here in the next few days.

Thanks again.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests