Hi all, in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended up with following issues: I'm willing to generate mpg2ts files that will be used for analysis whilst beeing generated (this is what ts is good for...). I also need to seek for a specific frame in the file (using external code). I tried following things: gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink location=myfile.ts This generates a mpg2ts file that I can read with gstreamer, windows media player (with haali splitter codec), but not VLC... I tried similar thing using ffmpeg: ffmpeg -y -i myfile.avi -copyts -an
-vcodec mpeg2video -intra -qscale 4 -f mpegts myfile.ts This should generate the same output, but it does not. Here I can read the output file with all media players. More than that, using command line to seek&extract a frame: ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek (almost) correctly and get the frame with ffmpeg-generated file, but not with gstreamer-generated file. I thought that gstreamer ffdec/mux plugins were based on ffmpeg, but it seems it doesn't have correct behavior. Has anyone experienced the same problems? Or could reproduce it? How can I know which version of ffmpeg the gst plugins are based on? Looks like the gst formating is not so well-formed... I'm really stuck with that problem, and would like to get over it, so any hint is welcomed! Best Regards, Al (my
config: XP with winbuild-0.10.4) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2009/8/6 Albert Costa <[hidden email]>:
> Hi all, > in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended > up with following issues: > I'm willing to generate mpg2ts files that will be used for analysis whilst > beeing generated (this is what ts is good for...). I also need to seek for a > specific frame in the file (using external code). > I tried following things: > gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! > ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink > location=myfile.ts > This generates a mpg2ts file that I can read with gstreamer, windows media > player (with haali splitter codec), but not VLC... > I tried similar thing using ffmpeg: > ffmpeg -y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f > mpegts myfile.ts > This should generate the same output, but it does not. Here I can read the > output file with all media players. > More than that, using command line to seek&extract a frame: > ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek > (almost) correctly and get the frame with ffmpeg-generated file, but not > with gstreamer-generated file. > I thought that gstreamer ffdec/mux plugins were based on ffmpeg, but it > seems it doesn't have correct behavior. Has anyone experienced the same > problems? Or could reproduce it? How can I know which version of ffmpeg the > gst plugins are based on? Looks like the gst formating is not so > well-formed... > I'm really stuck with that problem, and would like to get over it, so any > hint is welcomed! > Best Regards, > Al > (my config: XP with winbuild-0.10.4) Here is the list of the packages used to build GStreamer WinBuild http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt Andoni > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Thanks Andoni, 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. 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. Regards, Al De : Andoni Morales <[hidden email]> À : Discussion of the development of GStreamer <[hidden email]> Envoyé le : Jeudi, 6 Août 2009, 16h55mn 21s Objet : Re: [gst-devel] Different encoding behavior gstreamer/ffmpeg 2009/8/6 Albert Costa <[hidden email]>: > Hi all, > in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended > up with following issues: > I'm willing to generate mpg2ts files that will be used for analysis whilst > beeing generated (this is what ts is good for...). I also need to seek for a > specific frame in the file (using external code). > I tried following things: > gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! > ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink > location=myfile.ts > This generates a mpg2ts file that I can read with gstreamer, windows media > player (with haali splitter codec), but not VLC... > I tried similar thing using ffmpeg: > ffmpeg -y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f > mpegts myfile.ts > This should generate the same output, but it does not. Here I can read the > output file with all media players. > More than that, using command line to seek&extract a frame: > ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek > (almost) correctly and get the frame with ffmpeg-generated file, but not > with gstreamer-generated file. > I thought that gstreamer ffdec/mux plugins were based on ffmpeg, but it > seems it doesn't have correct behavior. Has anyone experienced the same > problems? Or could reproduce it? How can I know which version of ffmpeg the > gst plugins are based on? Looks like the gst formating is not so > well-formed... > I'm really stuck with that problem, and would like to get over it, so any > hint is welcomed! > Best Regards, > Al > (my config: XP with winbuild-0.10.4) Here is the list of the packages used to build GStreamer WinBuild http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt Andoni > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
2009/8/6 Albert Costa <[hidden email]>:
> Thanks Andoni, > 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. The FFmpeg 0.5 release is from March 3, 2009 [1], so you are probably using a different version. You can fetch precompiled binaries from the videohelp site[2. [1]http://ffmpeg.org/RELEASE [2]http://www.videohelp.com/tools/ffmpeg > 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. > Regards, > Al > ________________________________ > De : Andoni Morales <[hidden email]> > À : Discussion of the development of GStreamer > <[hidden email]> > Envoyé le : Jeudi, 6 Août 2009, 16h55mn 21s > Objet : Re: [gst-devel] Different encoding behavior gstreamer/ffmpeg > > 2009/8/6 Albert Costa <[hidden email]>: >> Hi all, >> in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended >> up with following issues: >> I'm willing to generate mpg2ts files that will be used for analysis whilst >> beeing generated (this is what ts is good for...). I also need to seek for >> a >> specific frame in the file (using external code). >> I tried following things: >> gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! >> ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink >> location=myfile.ts >> This generates a mpg2ts file that I can read with gstreamer, windows media >> player (with haali splitter codec), but not VLC... >> I tried similar thing using ffmpeg: >> ffmpeg -y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f >> mpegts myfile.ts >> This should generate the same output, but it does not. Here I can read the >> output file with all media players. >> More than that, using command line to seek&extract a frame: >> ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek >> (almost) correctly and get the frame with ffmpeg-generated file, but not >> with gstreamer-generated file. >> I thought that gstreamer ffdec/mux plugins were based on ffmpeg, but it >> seems it doesn't have correct behavior. Has anyone experienced the same >> problems? Or could reproduce it? How can I know which version of ffmpeg >> the >> gst plugins are based on? Looks like the gst formating is not so >> well-formed... >> I'm really stuck with that problem, and would like to get over it, so any >> hint is welcomed! >> Best Regards, >> Al >> (my config: XP with winbuild-0.10.4) > The 0.10.4 WinBuild release uses the official FFmpeg 0.5 release. > Here is the list of the packages used to build GStreamer WinBuild > http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt > > Andoni >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > > -- > Andoni Morales Alastruey > > LongoMatch:The Digital Coach > http://www.longomatch.ylatuya.es > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Hi, all the win32 builds of ffmpeg I found prior to 0.5 release were working fine for generating mpg2ts files. The problem seems to have appeared in latest release, that's a pittyfull regression... Regards, Al De : Andoni Morales <[hidden email]> À : Discussion of the development of GStreamer <[hidden email]> Envoyé le : Jeudi, 6 Août 2009, 19h17mn 39s Objet : Re: [gst-devel] Re : Different encoding behavior gstreamer/ffmpeg 2009/8/6 Albert Costa <[hidden email]>: > Thanks Andoni, > 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. The FFmpeg 0.5 release is from March 3, 2009 [1], so you are probably using a different version. You can fetch precompiled binaries from the videohelp site[2. [1]http://ffmpeg.org/RELEASE [2]http://www.videohelp.com/tools/ffmpeg > 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. > Regards, > Al > ________________________________ > De : Andoni Morales <[hidden email]> > À : Discussion of the development of GStreamer > <[hidden email]> > Envoyé le : Jeudi, 6 Août 2009, 16h55mn 21s > Objet : Re: [gst-devel] Different encoding behavior gstreamer/ffmpeg > > 2009/8/6 Albert Costa <[hidden email]>: >> Hi all, >> in my attemps to use gstreamer for dealing with mpeg2 ts files, I've ended >> up with following issues: >> I'm willing to generate mpg2ts files that will be used for analysis whilst >> beeing generated (this is what ts is good for...). I also need to seek for >> a >> specific frame in the file (using external code). >> I tried following things: >> gst-launch filesrc location=myfile.avi ! decodebin ! ffmpegcolorspace ! >> ffenc_mpeg2video quantizer=4 gop-size=1 ! ffmux_mpegts ! filesink >> location=myfile.ts >> This generates a mpg2ts file that I can read with gstreamer, windows media >> player (with haali splitter codec), but not VLC... >> I tried similar thing using ffmpeg: >> ffmpeg -y -i myfile.avi -copyts -an -vcodec mpeg2video -intra -qscale 4 -f >> mpegts myfile.ts >> This should generate the same output, but it does not. Here I can read the >> output file with all media players. >> More than that, using command line to seek&extract a frame: >> ffmpeg -y -ss 0:4:0.0 -i myfile.ts -vframes 1 -f image2 test.jpg will seek >> (almost) correctly and get the frame with ffmpeg-generated file, but not >> with gstreamer-generated file. >> I thought that gstreamer ffdec/mux plugins were based on ffmpeg, but it >> seems it doesn't have correct behavior. Has anyone experienced the same >> problems? Or could reproduce it? How can I know which version of ffmpeg >> the >> gst plugins are based on? Looks like the gst formating is not so >> well-formed... >> I'm really stuck with that problem, and would like to get over it, so any >> hint is welcomed! >> Best Regards, >> Al >> (my config: XP with winbuild-0.10.4) > The 0.10.4 WinBuild release uses the official FFmpeg 0.5 release. > Here is the list of the packages used to build GStreamer WinBuild > http://code.google.com/p/ossbuild/source/browse/trunk/Libraries/Packages/ReadMe.txt > > Andoni >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel >> >> > > > > -- > Andoni Morales Alastruey > > LongoMatch:The Digital Coach > http://www.longomatch.ylatuya.es > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > -- Andoni Morales Alastruey LongoMatch:The Digital Coach http://www.longomatch.ylatuya.es ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |