Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Transcoding using ffmpeg

Transcoding using ffmpeg

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gmallax
    wrote on last edited by
    #1

    Hi all, Im having .avi format files...how to transcode it using ffmpeg?? Any idea??

    C 1 Reply Last reply
    0
    • G gmallax

      Hi all, Im having .avi format files...how to transcode it using ffmpeg?? Any idea??

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      I assume you mean programatically, take a look at DirectShow[^].

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

      G 1 Reply Last reply
      0
      • C Code o mat

        I assume you mean programatically, take a look at DirectShow[^].

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

        G Offline
        G Offline
        gmallax
        wrote on last edited by
        #3

        Yes I need programatically. Actually,I have written Mpeg4,mjpeg,h264 files into AVI container using AVIStreamWrite().. (VFW.H). Now,i want to transcode this AVI container format to mp4 container. I have seen that ffmpeg tool is used for this purpose. can u give me an example code?? Thanx.

        C 1 Reply Last reply
        0
        • G gmallax

          Yes I need programatically. Actually,I have written Mpeg4,mjpeg,h264 files into AVI container using AVIStreamWrite().. (VFW.H). Now,i want to transcode this AVI container format to mp4 container. I have seen that ffmpeg tool is used for this purpose. can u give me an example code?? Thanx.

          C Offline
          C Offline
          Code o mat
          wrote on last edited by
          #4

          I'm sorry, i misunderstood you, i thought you "simply" wanted to make mpegs of avi files, it didn't get to me that you explicitly want to use ffmpeg, i never used ffmpeg so i have no experience/examples whatsoever for it. Sorry... :(

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

          G 1 Reply Last reply
          0
          • C Code o mat

            I'm sorry, i misunderstood you, i thought you "simply" wanted to make mpegs of avi files, it didn't get to me that you explicitly want to use ffmpeg, i never used ffmpeg so i have no experience/examples whatsoever for it. Sorry... :(

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

            G Offline
            G Offline
            gmallax
            wrote on last edited by
            #5

            Ok.Thanx

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups