Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7758371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T13:20:33+00:00 2026-06-01T13:20:33+00:00

It appears that ffmpeg now has a segmenter in it, or at least there

  • 0

It appears that ffmpeg now has a segmenter in it, or at least there is a command line option

-f segment

in the documentation.

Does this mean I can use ffmpeg to realtime-transcode a video into h.264 and deliver segmented IOS compatible .m3u8 streams using ffmpeg alone? if so, what would a command to transcode an arbitrary video file to a segmented h.264 aac 640 x 480 stream ios compatible stream?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T13:20:35+00:00Added an answer on June 1, 2026 at 1:20 pm

    Absolutely – you can use -f segment to chop video into pieces and serve it to iOS devices. ffmpeg will create segment files .ts and you can serve those with any web server.

    Working example (with disabled sound) – ffmpeg version N-39494-g41a097a:

    ./ffmpeg -v 9 -loglevel 99 -re -i sourcefile.avi -an \
    -c:v libx264 -b:v 128k -vpre ipod320 \ 
    -flags -global_header -map 0 -f segment -segment_time 4 \
    -segment_list test.m3u8 -segment_format mpegts stream%05d.ts
    

    Tips:

    • make sure you compile ffmpeg from most recent git repository
    • compile with libx264 codec
    • -map 0 is needed

    How I compiled FFMPEG – with extra rtmp support to get feeds from flash-media-server

    export PKG_CONFIG_PATH="/usr/lib/pkgconfig/:../rtmpdump-2.3/librtmp"    
    
    ./configure --enable-librtmp --enable-libx264 \
    --libdir='../x264/:/usr/local/lib:../rtmpdump-2.3' \
    --enable-gpl --enable-pthreads --enable-libvpx \
    --disable-ffplay --disable-ffserver --disable-shared --enable-debug
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

it appears that $(html).find('*').index('#theID'); yields -1 whereas $(html).find('*').each(function(ind){if(this.id=='theID') alert('found! @'+ind) } ); does work
Where is the best documentation of ffmpeg and libavcodec? It appears that ffmpeg supports
It appears that I can escape command line arguments using single or double quotes:
Appears that WAS does not support the integration binding. I've tried setting it up
it appears that the Apple site now only provides download for Xcode 3.2, that
I have a program that's using the FFMPEG binary libraries via JNI. There is
It appears that PDF::API2 does not support PDF 1.5 (and later) compression of the
It appears that WAS will call ServiceHostFactory.CreateHost() once per each service implementation. How does
It appears that there is a limit of 1000 arguments in an Oracle SQL.
The problem is this: I wrote a simple program that uses FFMPEG. compile as

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.