I got this error when I use Xuggler to decode one video (Click here to start the download ...) that I encode myself using Xuggler too. I set the baseline, frame rate, frame size, the number of pictures in group of pictures, the pixel type, the bit rate and a preset but the decode fail.
I decided to try to encode and decode the video only by using ffmpeg software (ffmpeg and ffplay) and using a RED5 server. Encode command line: /usr/local/xuggler/bin/ffmpeg -i ~/Desktop/The\ Simpsons\ Movie\ -\ Trailer.mp4 -re -vcodec libx264 -vpre ultrafast -vpre baseline -g 60 -vb 150000 -strict experimental -acodec copy -f flv rtmp://10.120.1.90/oflaDemo/test123 Decode command line to save the result in a flv file: /usr/local/xuggler/bin/ffmpeg -i rtmp://10.120.1.90/oflaDemo/test123 -acodec copy -vcodec copy -y toto.flv Decode command line to display the result on the screen: /usr/local/xuggler/bin/ffplay -i rtmp://10.120.1.90/oflaDemo/test123 The problem is: - The quality is disgusting in the flv file. I assume that comes from the ultrafast preset but - FFPLAY play 2 or 3 frames and stop but continue to play the sound => So it does not work - My software gives me the "no frame!" error If someone has an idea... :) Yours sincerely, Julien Le 13 févr. 2012 à 20:24, Alex Cohn a écrit : > On Feb 13, 2012 6:05 PM, "Julien Baumgarten" <[email protected]> > wrote: > > > > Hi everyone, > > I come here in order to get some information about decoding h264 video. I > > am using Xuggler to decode some video. My code works if I use another codec > > than H264 but I need this one. When I use the H264 codec, I have an error > > with the ffmpeg library: 16:52:51.313 [main] ERROR org.ffmpeg - [h264 @ > > 0x7fe82d0b9e00] no frame! > > > > What does this error mean? > > > > I try to set some basic information such as frame rate, time base, width > > and height, bit rate but the error is still here. If someone can help me... > > > > Yours sincerely, > > Julien > > Please post your complete command line and the version you are using. It > would make troubleshooting much easier if you could make a short sample video > available, too. > > BR, > Alex > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
