[FFmpeg-user] Fwd: Can't concat two files which were encoded the same way.

Zsolt dqeswn at gmail.com
Sat Feb 22 21:17:39 CET 2014


From: Zsolt <dqeswn at gmail.com>
Date: 2014-02-22 21:12 GMT+01:00
Subject: Can't concat two files which were encoded the same way.
To: ffmpeg-user at ffmpeg.org


Hello!

I always get errors like this and a borked file the lenght of the first one:

> [matroska,webm @ 029b2a20] Unknown entry 0x1A45DFA301:05.66
> bitrate=34899.2kbits/s
> [matroska,webm @ 029b2a20] Unknown entry 0x18538067
>

I doesn't matter if I remux them (same format) first or if I only try to
concat video/audio only. If I remux them to .avi first then I get:

> [matroska @ 04517000] Can't write packet with unknown timestamp
> av_interleaved_write_frame(): Invalid argument
> [matroska @ 04517000] Can't write packet with unknown timestamp
>

If I try to concat to mkv again.
or something like:

> [matroska @ 04517000] Can't write packet with unknown timestamp
> av_interleaved_write_frame(): Invalid argument [matroska @ 04517000] Can't
> write packet with unknown timestamp
>

several times with changing values.

What is the problem here?

(attached mediainfo data)

(resend, forgot to subscribe first)
-------------- next part --------------
General
Unique ID                                : 171843566887082479128720412784227206779 (0x8147DDFBB1FA1176B120EF5868E3467B)
Complete name                            : E:\Videó Felvételek\dxtory\Bank-bent2.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 221 MiB
Duration                                 : 44s 40ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 42.0 Mbps
Encoded date                             : UTC 2013-06-03 23:03:06
Writing application                      : mkvmerge v6.1.0 ('Old Devil') built on Mar  2 2013 14:32:37
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 Predictive at L5.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 44s 33ms
Width                                    : 1 920 pixels
Height                                   : 1 200 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 60.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:4:4
Bit depth                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 129 r2245 bc13772
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=30 / keyint_min=3 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Matrix coefficients                      : RGB

Audio
ID                                       : 2
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Codec ID                                 : A_FLAC
Duration                                 : 44s 40ms
Bit rate mode                            : Variable
Channel(s)                               : 8 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Writing library                          : Lavf55.8.102
Default                                  : Yes
Forced                                   : No

-------------- next part --------------
General
Unique ID                                : 202840732536554720523393849651058579072 (0x9899B43E26D42F4D9B4FB8B8078E1680)
Complete name                            : E:\Videó Felvételek\dxtory\Bank-bent.mkv
Format                                   : Matroska
Format version                           : Version 4 / Version 2
File size                                : 274 MiB
Duration                                 : 1mn 6s
Overall bit rate mode                    : Variable
Overall bit rate                         : 34.4 Mbps
Encoded date                             : UTC 2013-06-03 23:07:13
Writing application                      : mkvmerge v6.1.0 ('Old Devil') built on Mar  2 2013 14:32:37
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High 4:4:4 Predictive at L5.0
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 5 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 1mn 6s
Width                                    : 1 920 pixels
Height                                   : 1 200 pixels
Display aspect ratio                     : 16:10
Frame rate mode                          : Constant
Frame rate                               : 60.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:4:4
Bit depth                                : 8 bits
Scan type                                : Progressive
Writing library                          : x264 core 129 r2245 bc13772
Encoding settings                        : cabac=1 / ref=5 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=8 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=30 / keyint_min=3 / scenecut=40 / intra_refresh=0 / rc_lookahead=30 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Default                                  : Yes
Forced                                   : No
Matrix coefficients                      : RGB

Audio
ID                                       : 2
Format                                   : FLAC
Format/Info                              : Free Lossless Audio Codec
Codec ID                                 : A_FLAC
Duration                                 : 1mn 6s
Bit rate mode                            : Variable
Channel(s)                               : 8 channels
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Writing library                          : Lavf55.8.102
Default                                  : Yes
Forced                                   : No



More information about the ffmpeg-user mailing list