[FFmpeg-trac] #1188(undetermined:new): Segmented encode

FFmpeg trac at avcodec.org
Wed Apr 11 15:35:49 CEST 2012


#1188: Segmented encode
-------------------------------------+-------------------------------------
             Reporter:  Alrich       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:  segment      |               Blocked By:
  timestamp                          |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Encoding a video from udp mpegts stream segmented in 60 sec chunks, the
 first clip is 60 seconds long, the second 120 seconds long (only last 60
 sec with video data), the third is 180 secs long (only last 60 sec with
 video data), and so on.

 This has been discussed in

 http://ffmpeg.org/trac/ffmpeg/ticket/910

 ffmpeg -i udp://224.10.2.1:2150 -y -s qvga -r 20 -ac 1 -ar 16000 -b:a 24
 k -b:v 376k -c:a libmp3lame -c:v mpeg4 -force_key_frames 1 -f segment
 -segment_t
 ime 60 -segment_list list.txt -map 0 -segment_format avi out%03d.avi

 Is there no way to encode files so in this manner that they are playable
 by vlc, windows media player, etc..?

 Is there another way to record security camera video's without the files
 having longer and longer blank playback in the beginning?

 I've tried restarting ffmpeg with -t 60 every minute, however this
 sollution uses a lot more processing with the constant startup of ffmpeg,
 and sometimes ffmpeg closes after only a few hundred milliseconds or so.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1188>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list