[FFmpeg-trac] #5454(undetermined:closed): problem concatenating videos

FFmpeg trac at avcodec.org
Tue Apr 26 16:03:32 CEST 2016


#5454: problem concatenating videos
-------------------------------------+-------------------------------------
             Reporter:  edotom       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:               |               Resolution:
             Blocking:               |  needs_more_info
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by edotom):

 I tried again at home but as soon as I tried to upload first file I got
 disconnected.

 Anyway.. I'm going to try to explain.
 I have to convert many mkv files and image files and in the end join them.
 When I convert a mkv like the following I get a message: (Could not find
 codec parameters for stream 1: does it mean that I don't have the right
 codecs to convert mkv to mp4?).  Can I send that file via email?

 ffmpeg started on 2016-04-26 at 08:48:17
 Report written to "ffmpeg-20160426-084817.log"
 Command line:
 "D:\\ffmpeg\\bin\\ffmpeg.exe" -report -i
 "D:\\Project2\\CDA\\SicovCDA\\files\\12297\\39_REGISTROSALIDA.mkv" -vcodec
 copy "D:\\Project2\\CDA\\SicovCDA\\files\\12297\\39_REGISTROSALIDA.mp4"
 ffmpeg version N-76456-g6df2c94 Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 5.2.0 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
 --enable-gnutls --enable-iconv --enable-libass --enable-libbluray
 --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype
 --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
 libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
 --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-
 libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack
 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs
 --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
   libavutil      55.  5.100 / 55.  5.100
   libavcodec     57. 14.100 / 57. 14.100
   libavformat    57. 14.100 / 57. 14.100
   libavdevice    57.  0.100 / 57.  0.100
   libavfilter     6. 14.101 /  6. 14.101
   libswscale      4.  0.100 /  4.  0.100
   libswresample   2.  0.100 /  2.  0.100
   libpostproc    54.  0.100 / 54.  0.100
 Splitting the commandline.
 Reading option '-report' ... matched as option 'report' (generate a
 report) with argument '1'.
 Reading option '-i' ... matched as input file with argument
 'D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mkv'.
 Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
 ('copy' to copy stream)) with argument 'copy'.
 Reading option
 'D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mp4' ... matched
 as output file.
 Finished splitting the commandline.
 Parsing a group of options: global .
 Applying option report (generate a report) with argument 1.
 Successfully parsed a group of options.
 Parsing a group of options: input file
 D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mkv.
 Successfully parsed a group of options.
 Opening an input file:
 D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mkv.
 [matroska,webm @ 038615c0] Format matroska,webm probed with size=2048 and
 score=100
 [matroska,webm @ 038615c0] Unknown entry 0x6FAB
 st:0 removing common factor 1000000 from timebase
 st:1 removing common factor 1000000 from timebase
 [matroska,webm @ 038615c0] Before avformat_find_stream_info() pos: 426
 bytes read:32768 seeks:0
 [matroska,webm @ 038615c0] max_analyze_duration 5000000 reached at 5032000
 microseconds st:0
 [matroska,webm @ 038615c0] rfps: 29.916667 0.015358
 [matroska,webm @ 038615c0] rfps: 29.916667 0.015358
 [matroska,webm @ 038615c0] rfps: 30.000000 0.000100
 [matroska,webm @ 038615c0] rfps: 60.000000 0.000399
 [matroska,webm @ 038615c0] rfps: 120.000000 0.001597
 [matroska,webm @ 038615c0] rfps: 240.000000 0.006389
 [matroska,webm @ 038615c0] rfps: 29.970030 0.002256
 [matroska,webm @ 038615c0] rfps: 29.970030 0.007516
 [matroska,webm @ 038615c0] rfps: 59.940060 0.009025
 [matroska,webm @ 038615c0] rfps: 59.940060 0.012922
 [matroska,webm @ 038615c0] Setting avg frame rate based on r frame rate
 [matroska,webm @ 038615c0] Could not find codec parameters for stream 1
 (Video: mjpeg, none(bt470bg/unknown/unknown), 1920x1080): unspecified
 pixel format
 Consider increasing the value for the 'analyzeduration' and 'probesize'
 options
 [matroska,webm @ 038615c0] After avformat_find_stream_info() pos: 408195
 bytes read:435465 seeks:0 frames:158
 Input #0, matroska,webm, from
 'D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mkv':
   Metadata:
     encoder         : MilestoneMux
   Duration: 00:02:24.96, start: 0.000000, bitrate: 527 kb/s
     Stream #0:0(eng), 158, 1/1000: Video: h264 (Main), yuvj420p(pc,
 bt709), 1920x1080 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 1k tbn, 2k tbc
 (default)
     Stream #0:1(eng), 0, 1/1000: Video: mjpeg,
 none(bt470bg/unknown/unknown), 1920x1080, SAR 1:1 DAR 16:9, 1k tbr, 1k
 tbn, 1k tbc (default)
 Successfully opened the file.
 Parsing a group of options: output file
 D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mp4.
 Applying option vcodec (force video codec ('copy' to copy stream)) with
 argument copy.
 Successfully parsed a group of options.
 Opening an output file:
 D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mp4.
 Successfully opened the file.
 [mp4 @ 04277ae0] Codec for stream 0 does not use global headers but
 container format requires global headers
 Output #0, mp4, to
 'D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mp4':
   Metadata:
     encoder         : Lavf57.14.100
     Stream #0:0(eng), 0, 1/16000: Video: h264 ([33][0][0][0] / 0x0021),
 yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 30 tbr, 16k tbn,
 1k tbc (default)
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
 Press [q] to stop, [?] for help
 No more output streams to write to, finishing.
 frame= 4350 fps=0.0 q=-1.0 Lsize=    9304kB time=00:02:24.95 bitrate=
 525.8kbits/s
 video:9263kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.442116%
 Input file #0
 (D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mkv):
   Input stream #0:0 (video): 4350 packets read (9485754 bytes);
   Input stream #0:1 (video): 0 packets read (0 bytes);
   Total: 4350 packets (9485754 bytes) demuxed
 Output file #0
 (D:\Project2\CDA\SicovCDA\files\12297\39_REGISTROSALIDA.mp4):
   Output stream #0:0 (video): 4350 packets muxed (9485754 bytes);
   Total: 4350 packets (9485754 bytes) muxed
 0 frames successfully decoded, 0 decoding errors
 [AVIOContext @ 042417a0] Statistics: 34 seeks, 4521 writeouts
 [AVIOContext @ 03853200] Statistics: 9549562 bytes read, 0 seeks

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5454#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list