Opened 4 years ago

Closed 4 years ago

#2514 closed defect (needs_more_info)

Container is not matching up

Reported by: dpapuga Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I have some corrupt files and when I -i I get:

Stream #0.0(eng): Video: h264, 1280x720, 30386 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 720k tbc

When I -i a valid file I get:

Stream #0.0(eng): Video: h264 (High), yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 30580 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 59.94 tbc

Please let me know how I can get the bad files to be the same as the valid one. Here is the full output of both.

Good:
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 119.88 (120000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0799.MP4':

Metadata:

major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-04-27 10:02:59

Duration: 00:00:11.64, start: 0.000000, bitrate: 31360 kb/s

Stream #0.0(eng): Video: h264 (High), yuvj420p, 1280x720 [PAR 1:1 DAR 16:9], 30580 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 59.94 tbc
Metadata:

creation_time : 2013-04-27 10:02:59

Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
Metadata:

creation_time : 2013-04-27 10:02:59

At least one output file must be specified

Bad:
Seems stream 0 codec frame rate differs from container frame rate: 720000.00 (720000/1) -> 119.88 (120000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '791.MP4':

Metadata:

major_brand : avc1
minor_version : 0
compatible_brands: avc1isom
creation_time : 2013-04-27 09:03:52

Duration: 00:00:43.55, start: 0.000000, bitrate: 30541 kb/s

Stream #0.0(eng): Video: h264, 1280x720, 30386 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 720k tbc
Metadata:

creation_time : 2013-04-27 09:03:52

Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16, 128 kb/s
Metadata:

creation_time : 2013-04-27 09:03:52

At least one output file must be specified

Thank you so much

Change History (9)

comment:1 Changed 4 years ago by cehoyos

Please update to current git head, then explain what is "corrupt" about the file, run ffmpeg -i filename and post the complete, uncut console output here.

comment:2 Changed 4 years ago by dpapuga

I reinstalled ffmpeg and under this is the output. The footage was taken with a GoPro? Hero 3 Black Edition in 1280 x 72 @ 120 fps. The user turned off the camera after shooting the footage, forgetting to stop the recording. Beneath the "bad" file (791.mp4) is a completely valid file (GOPR0799.mp4) if that helps.

ffmpeg started on 2013-04-30 at 06:41:48
Report written to "ffmpeg-20130430-064148.log"
Command line:
ffmpeg -i 791.MP4 -report
ffmpeg version git-2013-04-30-a0adeb1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 06:34:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument '791.MP4'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
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 791.MP4.
Successfully parsed a group of options.
Opening an input file: 791.MP4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] ISO: File Type Major Brand: avc1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] File position before avformat_find_stream_info() is 166264832
[h264 @ 0x20eaac0] AVC: Consumed only 8 bytes instead of 32
[h264 @ 0x20eaac0] AVC: nal size 1836019574
[h264 @ 0x20eaac0] no frame!
[aac @ 0x20ebb20] channel element 2.4 is not allocated
[h264 @ 0x20eaac0] AVC: nal size -1463607013
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2029629501
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1859980818
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -454764729
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1567060857
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -172714589
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -285945864
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1161279485
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -83592129
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -769254934
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1357754097
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1053857407
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -601753829
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -2126559879
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1210825103
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1334206074
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 460607764
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 273661630
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 758703295
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -532385962
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1749538581
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1268497301
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1118165074
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1492802589
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1920771148
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -972086176
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1747637343
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -809089439
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 460382543
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1282597318
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 441359832
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -317312510
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1411613004
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -850491456
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1210677035
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1448366371
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -333208374
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -529605255
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 956547349
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1913656809
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 494016001
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1463428448
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -839222947
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -91467284
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1184939140
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1591654639
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -996883934
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -373913695
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2102824427
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2026708294
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 43882127
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -997258894
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1711263489
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1479017745
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2079193063
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -720210550
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 911189918
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1246120195
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1853433068
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 195016755
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1930839842
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 594130740
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1878141714
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 979486835
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1600659591
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2075637150
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 719946967
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 37506746
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -2007453948
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -240354878
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1936459064
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 398366198
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -860903946
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1703766052
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 840215511
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 288829792
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 489191871
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -422710161
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 312396545
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 305609218
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1360747560
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -169488226
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1870311441
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 990338042
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1003318638
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1866576957
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1178181320
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 785012925
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1995820192
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 10413206
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -766515607
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1656490244
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 472862983
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 226198123
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1145109506
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1828968469
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1983620565
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1377713049
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -126068077
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1888780264
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 229885570
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1524244495
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1187367806
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1472300792
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1932417839
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -720213491
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -146772210
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1043840206
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 806147585
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 606770755
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -371500331
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2110033815
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1209573927
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -518835
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -924246948
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1277961330
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1375707230
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -479588121
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1967921271
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -577720558
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1710824218
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1438774908
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1864119266
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1641468082
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1015525035
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1622230612
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -652492162
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1219872071
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -886683116
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1948952068
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 725658407
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 283568456
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 91317974
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1437741552
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 104633975
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1615116986
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1029208057
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1736137600
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -502606453
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 859391785
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -586940350
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1222582448
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1830485239
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size -1872073194
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 812125147
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2044902875
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1810856168
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1761750905
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 1002521140
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 605620206
[h264 @ 0x20eaac0] no frame!
[h264 @ 0x20eaac0] AVC: nal size 2014194652
[h264 @ 0x20eaac0] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] Probe buffer size limit of 5000000 bytes reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), 1280x720, 30386 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x20e9c20] File position after avformat_find_stream_info() is 5131260
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '791.MP4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2013-04-27 09:03:52
  Duration: 00:00:43.55, start: 0.000000, bitrate: 30541 kb/s
    Stream #0:0(eng), 152, 1/360000: Video: h264 (avc1 / 0x31637661), 1280x720, 30386 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 720k tbc
    Metadata:
      creation_time   : 2013-04-27 09:03:52
      handler_name    :  GoPro AVC
    Stream #0:1(eng), 60, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2013-04-27 09:03:52
      handler_name    :  GoPro AAC
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x20f2260] Statistics: 5140754 bytes read, 2 seeks

GOOD FILE ------------------------------------------------------------------------

ffmpeg started on 2013-04-30 at 06:52:40
Report written to "ffmpeg-20130430-065240.log"
Command line:
ffmpeg -i GOPR0799.MP4 -report
ffmpeg version git-2013-04-30-a0adeb1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 06:34:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-i' ... matched as input file with argument 'GOPR0799.MP4'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
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 GOPR0799.MP4.
Successfully parsed a group of options.
Opening an input file: GOPR0799.MP4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b0ac20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b0ac20] ISO: File Type Major Brand: avc1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b0ac20] File position before avformat_find_stream_info() is 32768
[h264 @ 0x1b0bac0] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b0ac20] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1b0ac20] File position after avformat_find_stream_info() is 132257
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'GOPR0799.MP4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2013-04-27 10:02:59
  Duration: 00:00:11.65, start: 0.000000, bitrate: 31360 kb/s
    Stream #0:0(eng), 1, 1/360000: Video: h264 (High) (avc1 / 0x31637661), yuvj420p, 1280x720 [SAR 1:1 DAR 16:9], 30580 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 59.94 tbc
    Metadata:
      creation_time   : 2013-04-27 10:02:59
      handler_name    :  GoPro AVC
    Stream #0:1(eng), 1, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2013-04-27 10:02:59
      handler_name    :  GoPro AAC
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x1b13260] Statistics: 164684 bytes read, 0 seeks

THANK YOU SO MUCH FOR YOUR HELP!!!

comment:3 Changed 4 years ago by cehoyos

Does it work with the following command?
$ ffmpeg -probesize 2G -analyzeduration 2G -i 791.MP4

comment:4 Changed 4 years ago by dpapuga

It did not:

ffmpeg started on 2013-04-30 at 07:06:37
Report written to "ffmpeg-20130430-070637.log"
Command line:
ffmpeg -probesize 2G -analyzeduration 2G -i 791.MP4 -report
ffmpeg version git-2013-04-30-a0adeb1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Apr 30 2013 06:34:48 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libspeex --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
  libavutil      52. 27.101 / 52. 27.101
  libavcodec     55.  6.100 / 55.  6.100
  libavformat    55.  3.100 / 55.  3.100
  libavdevice    55.  0.100 / 55.  0.100
  libavfilter     3. 61.101 /  3. 61.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Splitting the commandline.
Reading option '-probesize' ... matched as AVOption 'probesize' with argument '2G'.
Reading option '-analyzeduration' ... matched as AVOption 'analyzeduration' with argument '2G'.
Reading option '-i' ... matched as input file with argument '791.MP4'.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
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 791.MP4.
Successfully parsed a group of options.
Opening an input file: 791.MP4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] ISO: File Type Major Brand: avc1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] File position before avformat_find_stream_info() is 166264832
[h264 @ 0x2881d60] AVC: Consumed only 8 bytes instead of 32
[h264 @ 0x2881d60] AVC: nal size 1836019574
[h264 @ 0x2881d60] no frame!
[aac @ 0x2882dc0] channel element 2.4 is not allocated
[h264 @ 0x2881d60] AVC: nal size -1463607013
[h264 @ 0x2881d60] no frame!
..............................................
Too long, had to get rid of the repetitive stuff
..............................................
[h264 @ 0x2881d60] no frame!
[h264 @ 0x2881d60] AVC: nal size 432353964
[h264 @ 0x2881d60] no frame!
[h264 @ 0x2881d60] AVC: nal size 1880470059
[h264 @ 0x2881d60] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), 1280x720, 30386 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2880e20] File position after avformat_find_stream_info() is 166252681
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '791.MP4':
  Metadata:
    major_brand     : avc1
    minor_version   : 0
    compatible_brands: avc1isom
    creation_time   : 2013-04-27 09:03:52
  Duration: 00:00:43.55, start: 0.000000, bitrate: 30541 kb/s
    Stream #0:0(eng), 5221, 1/360000: Video: h264 (avc1 / 0x31637661), 1280x720, 30386 kb/s, 119.88 fps, 119.88 tbr, 360k tbn, 720k tbc
    Metadata:
      creation_time   : 2013-04-27 09:03:52
      handler_name    :  GoPro AVC
    Stream #0:1(eng), 2041, 1/48000: Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2013-04-27 09:03:52
      handler_name    :  GoPro AAC
Successfully opened the file.
At least one output file must be specified
[AVIOContext @ 0x28813a0] Statistics: 166256480 bytes read, 2 seeks

comment:5 Changed 4 years ago by cehoyos

Is there a program that plays the sample?

comment:6 Changed 4 years ago by dpapuga

Not that I have found, I have tried VLC and Windows Media Player. WMP will instantly ask to play again and VLC will go through the file (43 seconds) with no video or audio.

comment:7 Changed 4 years ago by dpapuga

Also, if you want / need a copy of the file I can host it somewhere for you. Just let me know.

comment:8 Changed 4 years ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords mov added
  • Version changed from unspecified to git-master

If I understand correctly, you ask to demux (decode) a mov file that was not closed correctly by the writing application.

While this is not generally possible afaik, please provide a sample if you want a developer to look at the problem.

comment:9 Changed 4 years ago by cehoyos

  • Resolution set to needs_more_info
  • Status changed from new to closed

Please feel free to reopen this ticket if you can provide a sample.

Note: See TracTickets for help on using tickets.