Video -> Flash

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sandman

    #1

    Video -> Flash

    There are some Mac tools to convert pretty much any given video source
    to a Flash video file (.flv) but I'm wondering if there is any way to
    do it using a Linux platform tying in to a PHP web system? I.e. I'd
    like to have video files submitted by users which are then
    auto-converted to .flv files.

    Anyone have any experience with this?

    --
    Sandman[.net]
  • Peter =?UTF-8?B?S8O2aGxtYW5u?=

    #2
    Re: Video -> Flash

    Sandman wrote:
    There are some Mac tools to convert pretty much any given video source
    to a Flash video file (.flv) but I'm wondering if there is any way to
    do it using a Linux platform tying in to a PHP web system? I.e. I'd
    like to have video files submitted by users which are then
    auto-converted to .flv files.
    >
    Anyone have any experience with this?
    >
    ffmpeg
    --
    I don't care who your father is. As long as I am fishing here, you will
    refrain from walking those waters

    Comment

    • Jim Richardson

      #3
      Re: Video -> Flash

      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      On Thu, 21 Dec 2006 09:54:24 +0100,
      Sandman <mr@sandman.net wrote:
      There are some Mac tools to convert pretty much any given video source
      to a Flash video file (.flv) but I'm wondering if there is any way to
      do it using a Linux platform tying in to a PHP web system? I.e. I'd
      like to have video files submitted by users which are then
      auto-converted to .flv files.
      >
      Anyone have any experience with this?
      >
      No experience, but a quick google showed <http://www.swftools.or g/as a
      possibility.

      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.4.3 (GNU/Linux)

      iD8DBQFFilIbd90 bcYOAWPYRAtO3AJ 9R+p9TotaEhn/sb8Wxb5sAWQG9Jg CgrJ9i
      +ONjfGe6x5Yi6sq 6nt2+qUo=
      =XRkO
      -----END PGP SIGNATURE-----

      --
      Jim Richardson http://www.eskimo.com/~warlock
      I've noticed that when a new policy mentions me by name,
      it's never a good thing.

      Comment

      • spike1@freenet.co.uk

        #4
        Re: Video -&gt; Flash

        Jim Richardson <warlock@eskimo .comdid eloquently scribble:
        -----BEGIN PGP SIGNED MESSAGE-----
        Hash: SHA1
        On Thu, 21 Dec 2006 09:54:24 +0100,
        Sandman <mr@sandman.net wrote:
        >There are some Mac tools to convert pretty much any given video source
        >to a Flash video file (.flv) but I'm wondering if there is any way to
        >do it using a Linux platform tying in to a PHP web system? I.e. I'd
        >like to have video files submitted by users which are then
        >auto-converted to .flv files.
        >>
        >Anyone have any experience with this?
        >>
        No experience, but a quick google showed <http://www.swftools.or g/as a
        possibility.
        There's also a way to capture VNC sessions and convert them to flash video.
        So you can record all activities on a desktop for demonstration purposes.
        --
        _______________ _______________ _______________ _______________ _______________ ___
        | spike1@freenet. co.uk | |
        |Andrew Halliwell BSc(hons)| "ARSE! GERLS!! DRINK! DRINK! DRINK!!!" |
        | in | "THAT WOULD BE AN ECUMENICAL MATTER!...FECK! !!! |
        | Computer Science | - Father Jack in "Father Ted" |
        ------------------------------------------------------------------------------

        Comment

        • Sandman

          #5
          Re: Video -&gt; Flash

          In article <r90q54-mqu.ln1@dragon. myth>,
          Jim Richardson <warlock@eskimo .comwrote:
          There are some Mac tools to convert pretty much any given video source
          to a Flash video file (.flv) but I'm wondering if there is any way to
          do it using a Linux platform tying in to a PHP web system? I.e. I'd
          like to have video files submitted by users which are then
          auto-converted to .flv files.

          Anyone have any experience with this?
          >
          No experience, but a quick google showed <http://www.swftools.or g/as a
          possibility.
          Yeah, I saw that one too. Only problem is that it seems to support
          only AVI to SWF, and I was looking for <any video formatto FLV.

          But thanks anyway



          --
          Sandman[.net]

          Comment

          • Sandman

            #6
            Re: Video -&gt; Flash

            In article <emdj5o$j0b$00$ 1@news.t-online.com>,
            Peter Köhlmann <peter.koehlman n@t-online.dewrote:
            Sandman wrote:
            >
            There are some Mac tools to convert pretty much any given video source
            to a Flash video file (.flv) but I'm wondering if there is any way to
            do it using a Linux platform tying in to a PHP web system? I.e. I'd
            like to have video files submitted by users which are then
            auto-converted to .flv files.

            Anyone have any experience with this?
            >
            ffmpeg
            Hey, thanks!

            I always figured ffmpeg only did, you know, mpeg. It seems it supports
            a wide variety of formats. While it does seem to lack support for some
            QuickTime formats, it seems to at least support standard mp4, h.264
            and such.

            But, it didn't seem to support AVI or DivX... hmmm, or did I miss it?

            And, some on-topic linux stuff:


            ~apt-get install ffmpeg
            (...)
            The following packages will be REMOVED:
            base-config initrd-tools kernel-image-2.6.8-1-386
            kernel-image-2.6.8-2-686-smp
            (...)

            If I would install it, it would actually *remove* my kernel? Yeah,
            that's uhm... great. :)



            --
            Sandman[.net]

            Comment

            • Jim Richardson

              #7
              Re: Video -&gt; Flash

              -----BEGIN PGP SIGNED MESSAGE-----
              Hash: SHA1

              On Thu, 21 Dec 2006 11:30:44 +0100,
              Sandman <mr@sandman.net wrote:
              In article <r90q54-mqu.ln1@dragon. myth>,
              Jim Richardson <warlock@eskimo .comwrote:
              >
              There are some Mac tools to convert pretty much any given video source
              to a Flash video file (.flv) but I'm wondering if there is any way to
              do it using a Linux platform tying in to a PHP web system? I.e. I'd
              like to have video files submitted by users which are then
              auto-converted to .flv files.
              >
              Anyone have any experience with this?
              >
              >>
              >No experience, but a quick google showed <http://www.swftools.or g/as a
              >possibility.
              >
              Yeah, I saw that one too. Only problem is that it seems to support
              only AVI to SWF, and I was looking for <any video formatto FLV.
              >
              But thanks anyway
              >
              >
              >

              use mencoder to convert pretty much anything to avi.

              -----BEGIN PGP SIGNATURE-----
              Version: GnuPG v1.4.3 (GNU/Linux)

              iD8DBQFFirNed90 bcYOAWPYRAsAiAK C6ekRT5h8DuAw/72fFj7vB9bKHDwC fUewA
              KOYu3QH7nGIV2hw 84XUn6Vk=
              =29/Z
              -----END PGP SIGNATURE-----

              --
              Jim Richardson http://www.eskimo.com/~warlock
              "I worry that the person who thought up Muzak may be thinking up
              something else."
              --Lily Tomlin

              Comment

              • flatfish+++

                #8
                Re: Video -&gt; Flash

                On Thu, 21 Dec 2006 09:54:24 +0100, Sandman wrote:
                There are some Mac tools to convert pretty much any given video source
                to a Flash video file (.flv) but I'm wondering if there is any way to
                do it using a Linux platform tying in to a PHP web system? I.e. I'd
                like to have video files submitted by users which are then
                auto-converted to .flv files.
                >
                Anyone have any experience with this?
                A million of them.
                Now figure out how to make them work like you want.


                Comment

                • Sandman

                  #9
                  Re: Video -&gt; Flash

                  In article <ujoq54-1na.ln1@dragon. myth>,
                  Jim Richardson <warlock@eskimo .comwrote:
                  Yeah, I saw that one too. Only problem is that it seems to support
                  only AVI to SWF, and I was looking for <any video formatto FLV.

                  But thanks anyway
                  >
                  use mencoder to convert pretty much anything to avi.
                  Riiight, but building a two-step encoding solution, just to end up
                  with a format I didn't want in the first step? (SWF instead of FLV)

                  Thanks anyway :)

                  --
                  Sandman[.net]

                  Comment

                  • Jim Richardson

                    #10
                    Re: Video -&gt; Flash

                    -----BEGIN PGP SIGNED MESSAGE-----
                    Hash: SHA1

                    On Thu, 21 Dec 2006 18:56:32 +0100,
                    Sandman <mr@sandman.net wrote:
                    In article <ujoq54-1na.ln1@dragon. myth>,
                    Jim Richardson <warlock@eskimo .comwrote:
                    >
                    Yeah, I saw that one too. Only problem is that it seems to support
                    only AVI to SWF, and I was looking for <any video formatto FLV.
                    >
                    But thanks anyway
                    >>
                    >use mencoder to convert pretty much anything to avi.
                    >
                    Riiight, but building a two-step encoding solution, just to end up
                    with a format I didn't want in the first step? (SWF instead of FLV)
                    >
                    Thanks anyway :)
                    >
                    dunno what the diff is between swf and flv, can't help there.


                    -----BEGIN PGP SIGNATURE-----
                    Version: GnuPG v1.4.3 (GNU/Linux)

                    iD8DBQFFit17d90 bcYOAWPYRAtwVAJ 9E+tFmrxsEQGrSa 7ZdwFFtGcEzigCg rTAp
                    DPZg7HgalQE3vFV yoXi1CLk=
                    =aNbr
                    -----END PGP SIGNATURE-----

                    --
                    Jim Richardson http://www.eskimo.com/~warlock
                    You know you're in trouble when the Russians are adding safety features
                    to your design.
                    Maciej Cegłowski on Buran, the Space Shuttle clone

                    Comment

                    • Sandman

                      #11
                      Re: Video -&gt; Flash

                      In article <r43r54-m9f.ln1@dragon. myth>,
                      Jim Richardson <warlock@eskimo .comwrote:
                      -----BEGIN PGP SIGNED MESSAGE-----
                      Hash: SHA1
                      >
                      On Thu, 21 Dec 2006 18:56:32 +0100,
                      Sandman <mr@sandman.net wrote:
                      In article <ujoq54-1na.ln1@dragon. myth>,
                      Jim Richardson <warlock@eskimo .comwrote:
                      Yeah, I saw that one too. Only problem is that it seems to support
                      only AVI to SWF, and I was looking for <any video formatto FLV.

                      But thanks anyway
                      >
                      use mencoder to convert pretty much anything to avi.
                      Riiight, but building a two-step encoding solution, just to end up
                      with a format I didn't want in the first step? (SWF instead of FLV)

                      Thanks anyway :)
                      >
                      dunno what the diff is between swf and flv, can't help there.
                      SWF is the flash file loaded by the browser. FLV is a video file
                      either streamed by a Adobe Media Server or progressively loaded from a
                      web server to a SWF "client". I.e. it's not a file format that any
                      browser can play. The browser loads the Flash plugin to play the SWF
                      file, which in turn fetches the FLV file and displays in the SWF file,
                      which may or may not have controls to control the video.




                      --
                      Sandman[.net]

                      Comment

                      • Jim Richardson

                        #12
                        Re: Video -&gt; Flash

                        -----BEGIN PGP SIGNED MESSAGE-----
                        Hash: SHA1

                        ["Followup-To:" header set to comp.os.linux.a dvocacy.]
                        On Thu, 21 Dec 2006 22:54:25 +0100,
                        Sandman <mr@sandman.net wrote:
                        In article <r43r54-m9f.ln1@dragon. myth>,
                        Jim Richardson <warlock@eskimo .comwrote:
                        >
                        >-----BEGIN PGP SIGNED MESSAGE-----
                        >Hash: SHA1
                        >>
                        >On Thu, 21 Dec 2006 18:56:32 +0100,
                        > Sandman <mr@sandman.net wrote:
                        In article <ujoq54-1na.ln1@dragon. myth>,
                        Jim Richardson <warlock@eskimo .comwrote:
                        >
                        Yeah, I saw that one too. Only problem is that it seems to support
                        only AVI to SWF, and I was looking for <any video formatto FLV.
                        >
                        But thanks anyway
                        >>
                        >use mencoder to convert pretty much anything to avi.
                        >
                        Riiight, but building a two-step encoding solution, just to end up
                        with a format I didn't want in the first step? (SWF instead of FLV)
                        >
                        Thanks anyway :)
                        >
                        >>
                        >dunno what the diff is between swf and flv, can't help there.
                        >
                        SWF is the flash file loaded by the browser. FLV is a video file
                        either streamed by a Adobe Media Server or progressively loaded from a
                        web server to a SWF "client". I.e. it's not a file format that any
                        browser can play. The browser loads the Flash plugin to play the SWF
                        file, which in turn fetches the FLV file and displays in the SWF file,
                        which may or may not have controls to control the video.

                        Ah, mencoder is what you need.

                        Example from <http://www.entropyfarm .org/software/tricks/>


                        <quote>

                        # Creating a flash video (.flv) file for web streaming

                        * From a video source

                        mencoder inputfile -ffourcc FLV1 -of lavf -ovc lavc -lavcopts
                        vcodec=flv:acod ec=mp3:abitrate =56 -srate 22050 -o outputfile

                        * From a sequence of images

                        mencoder mf://*.png -mf w=360:h=240:fps =12:type=png -of lavf
                        - -ffourcc FLV1 -ovc lavc -lavcopts vcodec=flv:acod ec=mp3:abitrate =56
                        - -srate 22050 -o outputfile

                        Obviously, replace the width, height, and frames per second above
                        with the w/h/fps of your video. If you're using jpegs, use '*.jpeg' and
                        'type=jpeg' instead of png above. If you don't have any audio, use this:

                        mencoder mf://*.png -mf w=360:h=240:fps =12:type=png -of lavf
                        - -ffourcc FLV1 -ovc lavc -lavcopts vcodec=flv -o outputfile

                        </quote>

                        -----BEGIN PGP SIGNATURE-----
                        Version: GnuPG v1.4.3 (GNU/Linux)

                        iD8DBQFFizRcd90 bcYOAWPYRAgweAK DJc49SNbCpeS0Sj iAk+xeqyGOSKACe N6yP
                        C35P096EZwZILCR vwSY6OH0=
                        =RPh7
                        -----END PGP SIGNATURE-----

                        --
                        Jim Richardson http://www.eskimo.com/~warlock
                        Don't get mad, get Linux

                        Comment

                        • adlerweb

                          #13
                          Re: Video -&gt; Flash

                          Sandman schrieb:
                          But, it didn't seem to support AVI or DivX... hmmm, or did I miss it?
                          Well... It should support it - you may need additional libs (xvid?)
                          ~apt-get install ffmpeg
                          (...)
                          The following packages will be REMOVED:
                          base-config initrd-tools kernel-image-2.6.8-1-386
                          kernel-image-2.6.8-2-686-smp
                          (...)
                          >
                          If I would install it, it would actually *remove* my kernel? Yeah,
                          that's uhm... great. :)
                          >
                          Strange... Maybe a bug in your additional sources? My default-sarge
                          doesnt touch my kernel. But you should also think about compiling ffmpeg
                          yourself since the debian-version does (afaik) not contain all formats.

                          Comment

                          Working...