ushuaia / mp4parser

Automatically exported from code.google.com/p/mp4parser
0 stars 0 forks source link

Problem when append 2 or more mp4 #93

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Using code from appendExample in my android application I try to append the 3 
videos found in example resources (1365070268951.mp4, 1365070285923.mp4 and 
1365070453555.mp4) I notice that the result video is more speedy then the 3 
videos. 

I am using the final version from https://github.com/sannies/mp4parser (the 
last update was yesterday). I am using ADT on Windows.

Maybe this will help you to tell me what I am doing wrong.

Information from output.mp4

Seems stream 1 codec frame rate differs from container frame rate: 180000.00 
(180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Downloads/videos/output.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isomiso2avc1
    creation_time   : 2014-07-23 07:15:16
  Duration: 00:00:00.03, start: 0.000000, bitrate: -2147483 kb/s
    Stream #0.0(eng): Audio: aac, 48000 Hz, mono, s16, 71176 kb/s
    Metadata:
      creation_time   : 2013-04-04 10:11:06
    Stream #0.1(eng): Video: h264, 1920x1080, 1309766 kb/s, PAR 65536:65536 DAR 16:9, 13923.15 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-04-04 10:11:06 

And for the 3 video founded in resources example
1.mp4
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 
(180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Downloads/videos/1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2013-04-04 10:11:06
  Duration: 00:00:04.50, start: 0.000000, bitrate: 11696 kb/s
    Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1920x1080, 12217 kb/s, PAR 65536:65536 DAR 16:9, 30.20 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-04-04 10:11:06
    Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata:
      creation_time   : 2013-04-04 10:11:06

2.mp4

Seems stream 0 codec frame rate differs from container frame rate: 180000.00 
(180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Downloads/videos/2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2013-04-04 10:11:23
  Duration: 00:00:06.48, start: 0.000000, bitrate: 12068 kb/s
    Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1920x1080, 12166 kb/s, PAR 65536:65536 DAR 16:9, 30.26 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-04-04 10:11:23
    Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata:
      creation_time   : 2013-04-04 10:11:23
3.mp4
Seems stream 0 codec frame rate differs from container frame rate: 180000.00 
(180000/1) -> 90000.00 (180000/2)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Downloads/videos/3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 0
    compatible_brands: isom3gp4
    creation_time   : 2013-04-04 10:14:11
  Duration: 00:00:04.79, start: 0.000000, bitrate: 11556 kb/s
    Stream #0.0(eng): Video: h264 (Constrained Baseline), yuv420p, 1920x1080, 12167 kb/s, PAR 65536:65536 DAR 16:9, 30.32 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata:
      creation_time   : 2013-04-04 10:14:11
    Stream #0.1(eng): Audio: aac, 48000 Hz, mono, s16, 96 kb/s
    Metadata:
      creation_time   : 2013-04-04 10:14:11 

Original issue reported on code.google.com by lambin...@gmail.com on 23 Jul 2014 at 7:54