[FFmpeg-user] Merging H263 videos

MatCam mathieu.multicam+ffmpeg at gmail.com
Mon Aug 19 08:18:45 CEST 2013


Thanks for both responses !

I'm agree, trying to solve problem by adding more and more properties to my
request to ffmpeg is not the best way to successfully make my video...

So if I understand, using TS will avoid loss of quality ?
so my first step is to follow instruction to concat 2 h264 video in one
using TS:

*D:\ffmpeg-20130813-git-bbbd959-win64-static\bin>ffmpeg.exe -i
D:\Records\2013-08-16_084044\Source\2013-08-16_084044.mp4 -c copy -bsf:v
h264_mp4toannexb -f mpegts intermediate1.ts*

ffmpeg version N-55515-gbbbd959 Copyright (c) 2000-2013 the FFmpeg
developers
  built on Aug 13 2013 18:06:32 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libblu
ray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopenjpeg --enable-l
ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame
--enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
--enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 42.100 / 52. 42.100
  libavcodec     55. 27.100 / 55. 27.100
  libavformat    55. 13.102 / 55. 13.102
  libavdevice    55.  3.100 / 55.  3.100
  libavfilter     3. 82.100 /  3. 82.100
  libswscale      2.  4.100 /  2.  4.100
  libswresample   0. 17.103 /  0. 17.103
  libpostproc    52.  3.100 / 52.  3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'D:\Records\2013-08-16_084044\Source\2013-08-16_084044.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf54.31.100
  Duration: 00:00:05.07, start: 0.000000, bitrate: 5476 kb/s
    Stream #0:0(und): Video: mpeg4 (Simple Profile) (mp4v / 0x7634706D),
yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 5390 kb/s, 50 fps, 50 tbr, 12800 tbn,
50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp, 128 kb/s
    Metadata:
      handler_name    : SoundHandler
Output #0, mpegts, to 'intermediate1.ts':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf55.13.102
    Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 1280x720
[SAR 1:1 DAR 16:9], q=2-31, 5390 kb/s, 50 fps, 90k tbn, 50 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 128
kb/s
    Metadata:
      handler_name    : SoundHandler
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[NULL @ 0000000004e20620] Warning: SPS NALU missing or invalid. The
resulting stream may not play.
[NULL @ 0000000004e20620] Warning: PPS NALU missing or invalid. The
resulting stream may not play.
Failed to open bitstream filter h264_mp4toannexb for stream 0 with codec
copy: Invalid argument
[adts @ 000000000251c360] Encoder did not produce proper pts, making some
up.
frame=  251 fps=0.0 q=-1.0 Lsize=    3632kB time=00:00:05.07
bitrate=5859.8kbits/s
video:3303kB audio:79kB subtitle:0 global headers:0kB muxing overhead
7.365148%

here is my first problem.

Secondly, what are the parameter i have to use to make the same in h263 ?
is there a filter h264_mp4toannexb for h263 for making the same to concat
files ?

Thanks



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Merging-H263-videos-tp4660745p4660768.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list