<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Thanks Andoni,</div><div>with that, I've been able to retrieve a win32-compiled version of ffmpeg using same code version; and the result is now that the file generated by ffmpeg also doesn't play with VLC :-)... The exe version I tried before was from april2008, so a lot has changed since.</div><div>Well, gst and ffmpeg do have same behavior now on my machine. Unfortunately not the one I expect... But encoding with ffmpeg does show me some errors, so at least I've a lead to follow. If I can fix it with ffmpeg, I guess I can fix it with gst.</div><div>Regards,</div><div>Al</div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span
style="font-weight: bold;">De :</span></b> Andoni Morales <ylatuya@gmail.com><br><b><span style="font-weight: bold;">À :</span></b> Discussion of the development of GStreamer <gstreamer-devel@lists.sourceforge.net><br><b><span style="font-weight: bold;">Envoyé le :</span></b> Jeudi, 6 Août 2009, 16h55mn 21s<br><b><span style="font-weight: bold;">Objet :</span></b> Re: [gst-devel] Different encoding behavior gstreamer/ffmpeg<br></font><br>2009/8/6 Albert Costa <<a ymailto="mailto:costa_albert@yahoo.fr" href="mailto:costa_albert@yahoo.fr">costa_albert@yahoo.fr</a>>:<br>> Hi all,<br>> in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended<br>> up with following issues:<br>> I'm willing to generate mpg2ts files that will be used for analysis whilst<br>> beeing generated (this is what ts is good for...). I also need to seek for a<br>> specific frame in the file (using external code).<br>> I
tried following things:<br>> gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace !<br>> ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink<br>> location=myfile.ts<br>> This generates a mpg2ts file that I can read with gstreamer, windows media<br>> player (with haali splitter codec), but not VLC...<br>> I tried similar thing using ffmpeg:<br>> ffmpeg -y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f<br>> mpegts myfile.ts<br>> This should generate the same output, but it does not. Here I can read the<br>> output file with all media players.<br>> More than that, using command line to seek&extract a frame:<br>> ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek<br>> (almost) correctly and get the frame with ffmpeg-generated file, but not<br>> with gstreamer-generated file.<br>> I thought that gstreamer ffdec/mux plugins were based
on ffmpeg, but it<br>> seems it doesn't have correct behavior. Has anyone experienced the same<br>> problems? Or could reproduce it? How can I know which version of ffmpeg the<br>> gst plugins are based on? Looks like the gst formating is not so<br>> well-formed...<br>> I'm really stuck with that problem, and would like to get over it, so any<br>> hint is welcomed!<br>> Best Regards,<br>> Al<br>> (my config: XP with winbuild-0.10.4)<br>The 0.10.4 WinBuild release uses the official FFmpeg 0.5 release.<br>Here is the list of the packages used to build GStreamer WinBuild<br><a href="http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt" target="_blank">http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt</a><br><br>Andoni<br>><br>> ------------------------------------------------------------------------------<br>> Let Crystal Reports handle the reporting - Free
Crystal Reports 2008 30-Day<br>> trial. Simplify your report design, integration and deployment - and focus<br>> on<br>> what you do best, core application coding. Discover what's new with<br>> Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>><br>><br><br><br><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es"
target="_blank">http://www.longomatch.ylatuya.es</a><br><br>------------------------------------------------------------------------------<br>Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day <br>trial. Simplify your report design, integration and deployment - and focus on <br>what you do best, core application coding. Discover what's new with <br>Crystal Reports now. <a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>_______________________________________________<br>gstreamer-devel mailing list<br><a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br></div></div><div style="position:fixed"></div></div><br>
</body></html>