<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>I got this error when I use Xuggler to decode one video (<a href="http://downloads.dvdloc8.com/trailers/divxdigest/simpsons_movie_trailer.zip">Click here to start the download ...</a>) 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.</div><div><br></div><div>I decided to try to encode and decode the video only by using ffmpeg software (ffmpeg and ffplay) and using a RED5 server.</div><div>Encode command line:</div><div>/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 <a href="rtmp://10.120.1.90/oflaDemo/test123">rtmp://10.120.1.90/oflaDemo/test123</a></div><div><br></div><div>Decode command line to save the result in a flv file:</div><div>/usr/local/xuggler/bin/ffmpeg -i <a href="rtmp://10.120.1.90/oflaDemo/test123">rtmp://10.120.1.90/oflaDemo/test123</a> -acodec copy -vcodec copy -y toto.flv</div><div><br></div><div>Decode command line to display the result on the screen:</div><div>/usr/local/xuggler/bin/ffplay -i <a href="rtmp://10.120.1.90/oflaDemo/test123">rtmp://10.120.1.90/oflaDemo/test123</a></div><div><br></div><div>The problem is:</div><div>- The quality is disgusting in the flv file. I assume that comes from the ultrafast preset but</div><div>- FFPLAY play 2 or 3 frames and stop but continue to play the sound => So it does not work </div><div>- My software gives me the "no frame!" error</div><div><br></div><div>If someone has an idea... :)</div><div><br></div><div>Yours sincerely,</div><div>Julien</div><div><br></div><br><div><div>Le 13 févr. 2012 à 20:24, Alex Cohn a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><p>On Feb 13, 2012 6:05 PM, "Julien Baumgarten" <<a href="mailto:j.baumgarten@netvisio.com">j.baumgarten@netvisio.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
> 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!<br>
><br>
> What does this error mean?<br>
><br>
> 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...<br>
><br>
> Yours sincerely,<br>
> Julien</p><p>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.</p><p>BR,<br>
Alex<br>
</p>
_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>http://ffmpeg.org/mailman/listinfo/libav-user<br></blockquote></div><br></body></html>