juancarmena / xuggle

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

1.18.142 No video output using Converter.java #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
when I run the converter demo
("java -jar "C:\Program Files (x86)\Xuggle\share\java\jars\xuggle-
xuggler.jar" -asamplerate 11025 e.mpg e.flv")  the generated .flv does
not have any video and is 3 times the size of the original file from
549KB to 1758KB.  The duration also goes from ~15 seconds to ~23
minutes 44 seconds (according to sothink .flv player).  If i convert
manually using the ffmpeg installed in the xuggler bin folder:
("ffmpeg -y -i e.mpg -ar 11025 e.flv") . I get a working flv with a
size of 724KB.  I've also tried changing various parameters (ie, video
bitate, etc) but the outcome is always the same: same large file size
and no video.   I have also tried several different .mpg files and a
few .wmv files with the same results.

Some additonal info is that the GetContainerInfo demo reports correct
values for all media files used in my tests.

Here is the output from ffmpeg:

C:\Program Files (x86)\Xuggle\bin>ffmpeg -y -i e.mpg -ar 11025 e.flv
FFmpeg version SVN-r16853, Copyright (c) 2000-2009 Fabrice Bellard, et
al.
 configuration: --prefix=/local --extra-cflags=-I/c/hudson/slave/
workspace/xugg
le_java_xuggler_jdk5_i386_winxp/workingcopy/build/native/i686-pc-
mingw32/captive
/local/include --extra-ldflags=-L/c/hudson/slave/workspace/
xuggle_java_xuggler_j
dk5_i386_winxp/workingcopy/build/native/i686-pc-mingw32/captive/local/
lib --enab
le-shared --disable-stripping --enable-gpl --enable-swscale --enable-
libmp3lame
--enable-libspeex --extra-cflags=-mno-cygwin --extra-cflags=-fno-
common --extra-
ldflags=-mno-cygwin --extra-ldflags=--out-implib --disable-vhook --
enable-w32thr
eads --enable-memalign-hack
 libavutil     49.14. 0 / 49.14. 0
 libavcodec    52.11. 0 / 52.11. 0
 libavformat   52.25. 0 / 52.25. 0
 libavdevice   52. 1. 0 / 52. 1. 0
 libswscale     0. 6. 1 /  0. 6. 1
 built on Jan 29 2009 14:32:26, gcc: 4.2.4 (TDM-1 for MinGW)
 built on Jan 29 2009 14:32:26, gcc: 4.2.4 (TDM-1 for MinGW)
Input #0, mpeg, from 'e.mpg':
 Duration: 00:00:15.61, start: 0.213367, bitrate: 287 kb/s
   Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 240x144 [PAR 1:1
DAR 5:3], 2
00 kb/s, 29.97 tb(r)
   Stream #0.1[0x1c0]: Audio: mp2, 32000 Hz, mono, s16, 64 kb/s
Output #0, flv, to 'e.flv':
   Stream #0.0: Video: flv, yuv420p, 240x144 [PAR 1:1 DAR 5:3],
q=2-31, 200 kb/
s, 29.97 tb(c)
   Stream #0.1: Audio: libmp3lame, 11025 Hz, mono, s16, 64 kb/s
Stream mapping:
 Stream #0.0 -> #0.0
 Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=  470 fps=  0 q=14.3 Lsize=     723kB time=15.68 bitrate=
377.9kbits/s

video:587kB audio:124kB global headers:0kB muxing overhead 1.736009%

Original issue reported on code.google.com by BuckOF...@gmail.com on 4 Feb 2009 at 10:29

Attachments:

GoogleCodeExporter commented 8 years ago
I'll take a look.

Original comment by art.cla...@gmail.com on 4 Feb 2009 at 10:30

GoogleCodeExporter commented 8 years ago
Hi Buck O Five.  The good news is that the video not being there is fixed in 
tip of
tree (r161) (and will be in RC5).

The bad news is you ran into two bugs; the other is issue #51.  That's a more
complicated issue, but we now understand the problem and are working on a fix 
for RC5.

I'm marking this as fixed, but leaving issue #51 open.

Original comment by art.cla...@gmail.com on 8 Feb 2009 at 1:45