I need to encode video into H264 format for a project I am working on.
So far, no matter what I do I cannot get my video encode into H264 format. I am trying to use the element h264enc to accomplish this task. The following pipeline: - gst-launch -v videotestsrc num-buffers=1000 ! x264enc qp-min=18 ! avimux ! filesink location=videotestsrc.avi will work in Linux but will not work in Windows. Has anyone out there been able to get the x264enc element to work in Windows? Is there some extra library that I need to install to make it work correctly? Any help is greatly appreciated. William _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
You need the lib x264. Did you try ossbuild compilation?
El lun, 01-08-2011 a las 10:25 -0500, William Metcalf escribió: I need to encode video into H264 format for a project I am working on. So far, no matter what I do I cannot get my video encode into H264 format. I am trying to use the element h264enc to accomplish this task. The following pipeline: - gst-launch -v videotestsrc num-buffers=1000 ! x264enc qp-min=18 ! avimux ! filesink location=videotestsrc.avi will work in Linux but will not work in Windows. Has anyone out there been able to get the x264enc element to work in Windows? Is there some extra library that I need to install to make it work correctly? Any help is greatly appreciated. William _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
The gstreamer I am using on my computer is from the OSSBuild. All I
did to install it was download the .msi file and run the
installation. The version I am using is 0.10.6. Is there anything
else I should do to install it correctly?
On 8/1/2011 10:33 AM, Jose M. Alvarez wrote: You need the lib x264. Did you try ossbuild compilation? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I suggest you to get the git version and compile it. The version 0.10.6 is too old.
Did you make some progress with rtsp-server in windows?? El lun, 01-08-2011 a las 10:40 -0500, William Metcalf escribió: The gstreamer I am using on my computer is from the OSSBuild. All I did to install it was download the .msi file and run the installation. The version I am using is 0.10.6. Is there anything else I should do to install it correctly? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Could you please send me a link to git? I have never used it
before. Will it require MinGW and such to compile it?
As far as the rtsp-server, I have currently stopped working on converting it. I recently discovered that SDP files can be used in place of an rtsp server (when sending packets to streaming servers, such as WOWZA), and my manager decided it would be better for me to pursue SDP files before attempting to convert the rtsp-server. So far SDP files have proven to work very well. I have been able to successfully stream audio from gstreamer to wowza (using the rtp payloaders) and then connect a gstreamer client to wowza (using rtspsrc and the sdp file). I am pretty sure video will be easy to do as well, but I have to be able to encode the video into h264 in order to stream it to wowza and has proven difficult thus far. But hopefully getting the git version to compile will help solve this problem. William On 8/1/2011 10:50 AM, Jose M. Alvarez wrote: I suggest you to get the git version and compile it. The version 0.10.6 is too old. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
the link to repository is http://ossbuild.googlecode.com/svn/trunk/ you need a subversion client (tortoisesvn.net/ ). Must be compiled under MSVS2008
El lun, 01-08-2011 a las 10:53 -0500, William Metcalf escribió: Could you please send me a link to git? I have never used it before. Will it require MinGW and such to compile it? _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
> the link to repository is http://ossbuild.googlecode.com/svn/trunk/ you need a subversion client (tortoisesvn.net/ ). Must be compiled under MSVS2008
There's no need to compile it yourself. The latest beta is more than stable enough. Download the OSSBuild beta – it’s more up-to-date than the last official release. Use the GPL version instead of LGPL. I don’t believe x264enc is included in the LGPL one. Be sure and delete the registry file typically located in C:\Users\<Account>\.gstreamer-0.10\registry.i686.bin before running the new install. That just makes things much less complicated. At that point you can do something like: gst-launch filesrc location=test.mjpg ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv, framerate=30/1 ! ffmpegcolorspace ! x264enc speed-preset=9 profile=2 ! qtmux ! filesink location=test.mov That pipeline takes a MJPEG file and coverts it to h.264 @ 30 FPS. You’ll need to adjust the pipeline to what you need. You can change containers using asfmux or avimux or whatever. But you can see that it’s fairly straight forward. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
I removed the registry file and deleted the entire OSSBuild folder of my
old gstreamer, and then tried to run the install but I got the error that there is a different version of gstreamer still installed. Is there another registry file I need to delete or something else I need to remove in order to install the new version? On 8/1/2011 12:43 PM, Hoyt, David wrote: >> the link to repository is http://ossbuild.googlecode.com/svn/trunk/ you need a subversion client (tortoisesvn.net/ ). Must be compiled under MSVS2008 > There's no need to compile it yourself. The latest beta is more than stable enough. > > Download the OSSBuild beta – it’s more up-to-date than the last official release. Use the GPL version instead of LGPL. I don’t believe x264enc is included in the LGPL one. Be sure and delete the registry file typically located in C:\Users\<Account>\.gstreamer-0.10\registry.i686.bin before running the new install. That just makes things much less complicated. At that point you can do something like: > > gst-launch filesrc location=test.mjpg ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv, framerate=30/1 ! ffmpegcolorspace ! x264enc speed-preset=9 profile=2 ! qtmux ! filesink location=test.mov > > That pipeline takes a MJPEG file and coverts it to h.264 @ 30 FPS. You’ll need to adjust the pipeline to what you need. You can change containers using asfmux or avimux or whatever. But you can see that it’s fairly straight forward. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Nevermind. It took a while for Windows uninstaller to show gstreamer
under the list of programs, but I have the newer version installing now. Thanks, William On 8/1/2011 2:12 PM, William Metcalf wrote: > I removed the registry file and deleted the entire OSSBuild folder of > my old gstreamer, and then tried to run the install but I got the > error that there is a different version of gstreamer still installed. > Is there another registry file I need to delete or something else I > need to remove in order to install the new version? > > On 8/1/2011 12:43 PM, Hoyt, David wrote: >>> the link to repository is http://ossbuild.googlecode.com/svn/trunk/ >>> you need a subversion client (tortoisesvn.net/ ). Must be compiled >>> under MSVS2008 >> There's no need to compile it yourself. The latest beta is more than >> stable enough. >> >> Download the OSSBuild beta – it’s more up-to-date than the last >> official release. Use the GPL version instead of LGPL. I don’t >> believe x264enc is included in the LGPL one. Be sure and delete the >> registry file typically located in >> C:\Users\<Account>\.gstreamer-0.10\registry.i686.bin before running >> the new install. That just makes things much less complicated. At >> that point you can do something like: >> >> gst-launch filesrc location=test.mjpg ! multipartdemux ! jpegdec ! >> videorate ! video/x-raw-yuv, framerate=30/1 ! ffmpegcolorspace ! >> x264enc speed-preset=9 profile=2 ! qtmux ! filesink location=test.mov >> >> That pipeline takes a MJPEG file and coverts it to h.264 @ 30 FPS. >> You’ll need to adjust the pipeline to what you need. You can change >> containers using asfmux or avimux or whatever. But you can see that >> it’s fairly straight forward. >> _______________________________________________ >> gstreamer-devel mailing list >> [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
In reply to this post by william.l.metcalf
----- Original Message ----- From: William Metcalf [mailto:[hidden email]] Sent: Monday, August 01, 2011 12:12 PM To: Discussion of the development of and with GStreamer <[hidden email]> Subject: Re: Encode into H264 on Windows (Has anyone been able to do this?) I removed the registry file and deleted the entire OSSBuild folder of my old gstreamer, and then tried to run the install but I got the error that there is a different version of gstreamer still installed. Is there another registry file I need to delete or something else I need to remove in order to install the new version? On 8/1/2011 12:43 PM, Hoyt, David wrote: >> the link to repository is http://ossbuild.googlecode.com/svn/trunk/ you need a subversion client (tortoisesvn.net/ ). Must be compiled under MSVS2008 > There's no need to compile it yourself. The latest beta is more than stable enough. > > Download the OSSBuild beta – it’s more up-to-date than the last official release. Use the GPL version instead of LGPL. I don’t believe x264enc is included in the LGPL one. Be sure and delete the registry file typically located in C:\Users\<Account>\.gstreamer-0.10\registry.i686.bin before running the new install. That just makes things much less complicated. At that point you can do something like: > > gst-launch filesrc location=test.mjpg ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv, framerate=30/1 ! ffmpegcolorspace ! x264enc speed-preset=9 profile=2 ! qtmux ! filesink location=test.mov > > That pipeline takes a MJPEG file and coverts it to h.264 @ 30 FPS. You’ll need to adjust the pipeline to what you need. You can change containers using asfmux or avimux or whatever. But you can see that it’s fairly straight forward. > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
> I removed the registry file and deleted the entire OSSBuild folder of my
> old gstreamer, and then tried to run the install but I got the error > that there is a different version of gstreamer still installed. Is > there another registry file I need to delete or something else I need to > remove in order to install the new version? You need to remove it via Control Panel > Add/Remove Programs (or "Uninstall a program") > GStreamer WinBuilds <version>. Never just delete the directory in Windows when you've installed software via an installer/msi package. _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |