<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 &lt;ylatuya@gmail.com&gt;<br><b><span style="font-weight: bold;">À :</span></b> Discussion of the development of GStreamer &lt;gstreamer-devel@lists.sourceforge.net&gt;<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&nbsp;:</span></b> Re: [gst-devel] Different encoding behavior gstreamer/ffmpeg<br></font><br>2009/8/6 Albert Costa &lt;<a ymailto="mailto:costa_albert@yahoo.fr" href="mailto:costa_albert@yahoo.fr">costa_albert@yahoo.fr</a>&gt;:<br>&gt; Hi all,<br>&gt; in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended<br>&gt; up with following issues:<br>&gt; I'm willing to generate mpg2ts files that will be used for analysis whilst<br>&gt; beeing generated (this is what ts is good for...). I also need to seek for a<br>&gt; specific frame in the file (using external code).<br>&gt; I
 tried following things:<br>&gt; gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace !<br>&gt; ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink<br>&gt; location=myfile.ts<br>&gt; This generates a mpg2ts file that I can read with gstreamer, windows media<br>&gt; player (with haali splitter codec), but not VLC...<br>&gt; I tried similar thing using ffmpeg:<br>&gt; ffmpeg&nbsp;-y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f<br>&gt; mpegts myfile.ts<br>&gt; This should generate the same output, but it does not. Here I can read the<br>&gt; output file with all media players.<br>&gt; More than that, using command line to seek&amp;extract a frame:<br>&gt; ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek<br>&gt; (almost) correctly and get the frame with ffmpeg-generated file, but not<br>&gt; with gstreamer-generated file.<br>&gt; I thought that gstreamer ffdec/mux plugins were based
 on ffmpeg, but it<br>&gt; seems it doesn't have correct behavior. Has anyone experienced the same<br>&gt; problems? Or could reproduce it? How can I know which version of ffmpeg the<br>&gt; gst plugins are based on? Looks like the gst formating is not so<br>&gt; well-formed...<br>&gt; I'm really stuck with that problem, and would like to get over it, so any<br>&gt; hint is welcomed!<br>&gt; Best Regards,<br>&gt; Al<br>&gt; (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>&gt;<br>&gt; ------------------------------------------------------------------------------<br>&gt; Let Crystal Reports handle the reporting - Free
 Crystal Reports 2008 30-Day<br>&gt; trial. Simplify your report design, integration and deployment - and focus<br>&gt; on<br>&gt; what you do best, core application coding. Discover what's new with<br>&gt; Crystal Reports now. &nbsp;<a href="http://p.sf.net/sfu/bobj-july" target="_blank">http://p.sf.net/sfu/bobj-july</a><br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a ymailto="mailto:gstreamer-devel@lists.sourceforge.net" href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br>&gt;<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.&nbsp; <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>