[FFmpeg-user] Mixing h263/raw files

Shaily Athghara shaily.athghara at gmail.com
Mon Apr 16 10:57:56 CEST 2012


Hi,

I have a query regarding mixing/adding  h263 or raw files to a single
h263/raw file.

I perform the following command

*  ./ffmpeg -f h263 -i inv_vid/correct.h263 -i inv_vid/pending.h263 -i
inv_vid/pending1.h263 -i inv_vid/correct1.h263 -i inv_vid/pending2.h263 -f
h263 inv_vid/mix_all.h263*
ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
  built on Apr 11 2012 07:33:31 with gcc 4.1.2 20080704 (Red Hat 4.1.2-44)
  configuration:
  libavutil      51. 46.100 / 51. 46.100
  libavcodec     54. 14.101 / 54. 14.101
  libavformat    54.  3.100 / 54.  3.100
  libavdevice    53.  4.100 / 53.  4.100
  libavfilter     2. 67.101 /  2. 67.101
  libswscale      2.  1.100 /  2.  1.100
  libswresample   0. 10.100 /  0. 10.100
[h263 @ 0x47343e0] Estimating duration from bitrate, this may be inaccurate
Input #0, h263, from 'inv_vid/correct.h263':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97
fps, 29.97 tbr, 1200k tbn, 29.97 tbc
[h263 @ 0x473cd80] Estimating duration from bitrate, this may be inaccurate
Input #1, h263, from 'inv_vid/pending.h263':
  Duration: N/A, bitrate: N/A
    Stream #1:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97
fps, 29.97 tbr, 1200k tbn, 29.97 tbc
[h263 @ 0x474ea40] Estimating duration from bitrate, this may be inaccurate
Input #2, h263, from 'inv_vid/pending1.h263':
  Duration: N/A, bitrate: N/A
    Stream #2:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97
fps, 29.97 tbr, 1200k tbn, 29.97 tbc
[h263 @ 0x4746dc0] Estimating duration from bitrate, this may be inaccurate
Input #3, h263, from 'inv_vid/correct1.h263':
  Duration: N/A, bitrate: N/A
    Stream #3:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.80
fps, 29.97 tbr, 1200k tbn, 29.97 tbc
[h263 @ 0x48671c0] Estimating duration from bitrate, this may be inaccurate
Input #4, h263, from 'inv_vid/pending2.h263':
  Duration: N/A, bitrate: N/A
    Stream #4:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], 29.97
fps, 29.97 tbr, 1200k tbn, 29.97 tbc
[buffer @ 0x4813c00] w:352 h:288 pixfmt:yuv420p tb:1/1000000 sar:12/11
sws_param:flags=2
Output #0, h263, to 'inv_vid/mix_all.h263':
  Metadata:
    encoder         : Lavf54.3.100
    Stream #0:0: Video: h263, yuv420p, 352x288 [SAR 12:11 DAR 4:3], q=2-31,
200 kb/s, 90k tbn, 29.97 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (h263 -> h263)
Press [q] to stop, [?] for help
*frame=   34* fps=0.0 q=8.6 Lsize=      89kB time=00:00:01.13 bitrate=
644.0kbits/s
video:89kB audio:0kB global headers:0kB muxing overhead 0.000000%


But the output h263 ie mix_all.h263 only contains 34 frames (ie the first
h263 file correct.h263).I wanted to know ,Is there any command which will
mix all these h263 files and output me a single file which should contains
all the frames.

Please suggest.
Thanks,
Shaily.


More information about the ffmpeg-user mailing list