Forum Replies Created

Page 5 of 24
  • Michael Rampe

    September 23, 2011 at 12:53 am in reply to: Convert .ts to .avi

    seeing that the footage is already H.264 and AAC, you could simply repack the media into a different container.

    $ ffmpeg -i input.ts -vcodec copy -acodec copy output.mkv

    But this will not make it smaller…..

    The reduce the size as well, try:

    $ ffmpeg -i input.ts -vcodec libx264 -preset slow -b 5000k -acodec libfaac -ab 192k output.mkv

    This should make it about a third of the size of the original which reports at around 15000k.

    Michael

  • Michael Rampe

    September 22, 2011 at 10:45 pm in reply to: converting series of images to a video slideshow

    [C David Young] “What does your output look like? Does it dwell for a second or two on each image? What OS are you running? Which player are you using?

    OK. I dug a little further….

    I split a movie into files for testing and then reassembled with your code.
    When I tried to change the frame rate, I got the same bug as you.
    I fixed this by putting the -r 1 BEFORE the input.
    Now I get one frame playing per second.

    $ ffmpeg -y -f image2 -r 1 -i test-%03d.jpg -s 720×480 a.mp4

    FYI: OSX 10.7, QT/VLC

    Michael

  • Michael Rampe

    September 22, 2011 at 9:35 pm in reply to: converting series of images to a video slideshow

    [C David Young] “Well, for one thing it only seems to be adding the first image,”

    Are your images are *definitely* named IMAG-001.jpg. IMAG-002.jpg, IMAG-003.jpg …etc?

    I tired your line with a series of images named this way and it works…. so not sure otherwise….

    Michael

  • Michael Rampe

    September 22, 2011 at 8:41 pm in reply to: converting series of images to a video slideshow

    [C David Young] “(ffmpeg -f image2 -i foo-%03d.jpeg -r 12 -s WxH foo.avi) but am not having much luck.”

    What is going wrong?

    Michael

  • Michael Rampe

    September 22, 2011 at 8:39 pm in reply to: Convert .ts to .avi

    [Luiz Guilherme Louro] “I need to convert a video in .ts to .avi, anyone knows how to do it with ffmpeg?

    Depends what you wish to do with it and what your source is…..

    For source: post results from $ ffmpeg -i file.ts

    What codecs do you want for your avi? Is there audio involved as well?
    More information needed.

    Michael

  • Michael Rampe

    September 22, 2011 at 8:32 pm in reply to: Proplem converting any video to flv

    [Aamir Shahzad] “Hi, my script creating this command but it is giving error.”

    what error?

  • Michael Rampe

    September 22, 2011 at 8:27 pm in reply to: Convert ISOM(MP41) to MP42 with FFMPEG

    [Donald Ortiz] “How can i convert mp41 to mp42 with ffmpeg?”

    I had a look into this and found that it is an incompatible microsoft variant of mpeg4.

    FFmpeg supports these types:
    DEVSD msmpeg4 MPEG-4 part 2 Microsoft variant version 3
    D VSD msmpeg4v1 MPEG-4 part 2 Microsoft variant version 1
    DEVSD msmpeg4v2 MPEG-4 part 2 Microsoft variant version 2

    NOTE: the second one does not support encoding

    I tried msmpeg4v2 and it created an unplayable file for me… but I am on Mac….
    For mov, it reported:
    [mov @ 0x7fcd0204d800] Using MS style video codec tag, the file may be unplayable!
    For mp4 it failed:
    [mp4 @ 0x7fe35c04d800] track 0: could not find tag, codec not currently supported in container

    anyway, have a tinker and see if you can get the desired result….
    -vcodec msmpeg4v2

    Michael

  • Michael Rampe

    September 22, 2011 at 8:15 pm in reply to: What is the transcoding unit for FFMPEG

    [atish kathpal] ” can we transcode a single file as user defined chunks of equal/variable size?”

    yes but you will have to run one command for each chunk.

    -t is a time offset
    specified seconds or hh:mm:ss[.xxx]

    -ss is the length to encode
    specified seconds or hh:mm:ss[.xxx]
    This option behaves differently if put before or after the -i [input]
    Before:seeks to nearest I frame before converting (fast but inaccurate)
    After:seeks through every frame until target is reached (slow but accurate)

    So:
    first chunk: -t 0 -ss 60
    second chunk: -t 60 -ss 60
    third chunk: -t 120 -ss 60
    …..etc.

    Michael

  • Michael Rampe

    September 22, 2011 at 8:06 pm in reply to: I have a strange error using custom commands

    [Bleck Higel] “ffmpeg.exe -vcodec libx264 -b 1024 -aspect 16:9 -bt 1024 -maxrate 1024 -minrate 1024 -pass 1 -acodec libfaac -ac 2 -ar 44100 -ab 64k -i %1 video.mp4”

    try 1024k instead of 1024, This is measured in bits so 1024 is 1k which is far too low.

    Michael

  • Michael Rampe

    September 8, 2011 at 12:11 am in reply to: FFMPEG mp4 videos for Android

    [David Graham] “Can you spot what is wrong?”

    looks like the profile is not supported.

    I read here: https://developer.android.com/guide/appendix/media-formats.html
    that baseline profile is the only supported option. Pity.

    Michael

Page 5 of 24

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy