stefangavrilas / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

FFMPEG - using VideoCodec.Raw, video will not have correct height #288

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a VideoFileWriter and open a new video file with VideoCodec.Raw 
2. Add a series of frames from images.
3. Close the writer.

What is the expected output? What do you see instead?

I expect to open up the created video with mediainfo.exe and look at Height and 
see the height that was set when creating the video file.

When using codecs other than Raw it is ok. Otherwise I see a height of 
4294966616. No matter what actual height the video was created as.

Width is always ok.

What version of the product are you using?

2.2.3.0

Please provide any additional information below.

I use AVI's essentially as container for a series of images that are later 
imported in a tool called registax or avistacker. It is used for Astro 
photography, hence the uncompressed format to keep all the information.

Videos are ofter larger than 2 GB. Because of the height issue I need to pass 
the video through virtualdub or open it up in VLC media player and save it 
again to fix them and set the correct height. Otherwise Registax and avistack 
cannot open the file.

Original issue reported on code.google.com by chrbo...@gmail.com on 14 Feb 2012 at 5:58