JyotsnaT / xuggle

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

Windows encoding producing corrupted files #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build on windows
2. Ant run-tests
3. Try playing almost any MOV or FLV file

You'll get files with corrupted audio and video, but trying similar
conversions in the ffmpeg.exe we build convert just fine (suggesting it's
not an assembly problem).

No similar problems on Mac or Linux.

Original issue reported on code.google.com by art.cla...@gmail.com on 11 Feb 2009 at 12:10

GoogleCodeExporter commented 9 years ago
Are all windows versions affected by this?
Or is it a 32bit vs 64bit thing and/or NT 5.x vs NT 6.x/7.x.

Original comment by alka.set...@gmail.com on 17 Feb 2009 at 8:37

GoogleCodeExporter commented 9 years ago
We don't support 64 bit windows at all.

So far this shows up on Windows NT (5.x) and Windows Vista (6.x); I haven't 
tested on
Windows 7.

Original comment by art.cla...@gmail.com on 17 Feb 2009 at 8:51

GoogleCodeExporter commented 9 years ago
just to add some more data; it appears that encoding a container with just one 
stream
works correctly.  For example, just 1 audio stream; or just 1 video stream.

More than 1 stream and the craziness happens.

Original comment by art.cla...@gmail.com on 18 Feb 2009 at 3:12

GoogleCodeExporter commented 9 years ago
and it turns out that writing files in non-interleaved mode works fine too.  
This
suggests to me that's for some reason when interleaving (which I can't do in
streaming mode), my code is freeing or trashing packets before their time.  
Which is
awesome news, because that's fixable!  More testing to come, but we're making 
progress.

Original comment by art.cla...@gmail.com on 18 Feb 2009 at 3:55

GoogleCodeExporter commented 9 years ago
Yup; if you use IContainer.writePacket(pkt, false); and otherwise ensure you're
interleaving yourself, everything is fine on windows.  Curious.

Original comment by art.cla...@gmail.com on 18 Feb 2009 at 4:37

GoogleCodeExporter commented 9 years ago
Fixed in r206

Original comment by art.cla...@gmail.com on 18 Feb 2009 at 10:26

GoogleCodeExporter commented 9 years ago
will be in 1.20

Original comment by art.cla...@gmail.com on 18 Feb 2009 at 10:33