[FFmpeg-user] Cannot seem to play recent videos from my Android phone.

Fletcher Davis fletcher.t.davis at gmail.com
Thu Aug 13 09:25:02 CEST 2015


Hey,

I recorded video on the default camera with Lollipop on my HTC One M8.
I used to be able to playback video on VLC with no problems, but recently
cannot get anything to play.

The older videos from my Android seem have the Codec ID Isom, the more
recent ones that do not work are mp42
Pasted below are my most recent ffmpeg run as well as the mediainfo for a
known working and not working video.

In dropbox 1113 is an older video that plays fine. 3350 will not work for
the life of me for me
https://www.dropbox.com/sh/vqqhgqjc7k8ia43/AABoWPpCTF0MU5soWc6zh03aa?dl=0

Any advice in troubleshooting and understanding is greatly appreciated.

Best,

#working video from 2014-11-30
mediainfo 1113.mp4
General
Complete name                            : 1113.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 6.39 MiB
Duration                                 : 29s 0ms
Overall bit rate                         : 1 848 Kbps
Encoded date                             : UTC 2014-11-30 23:33:06
Tagged date                              : UTC 2014-11-30 23:33:06

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline at L3
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 29s 0ms
Bit rate                                 : 1 635 Kbps
Width                                    : 640 pixels
Height                                   : 352 pixels
Display aspect ratio                     : 16:9
Rotation                                 : 90°
Frame rate mode                          : Constant
Frame rate                               : 24.241 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.299
Stream size                              : 5.69 MiB (89%)
Language                                 : English
Encoded date                             : UTC 2014-11-30 23:33:05
Tagged date                              : UTC 2014-11-30 23:33:06

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 29s 0ms
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Nominal bit rate                         : 96.0 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 686 KiB (10%)
Language                                 : English
Encoded date                             : UTC 2014-11-30 23:32:12
Tagged date                              : UTC 2014-11-30 23:33:06


#current video that does not work
mediainfo 3350.mp4
General
Complete name                            : 3350.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 147 MiB
Duration                                 : 1mn 0s
Overall bit rate                         : 20.3 Mbps
Encoded date                             : UTC 2015-08-08 22:22:54
Tagged date                              : UTC 2015-08-08 22:22:54

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Baseline at L4
Format settings, CABAC                   : No
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 0s
Source duration                          : 1mn 0s
Bit rate                                 : 20.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 24.225 fps
Minimum frame rate                       : 21.671 fps
Maximum frame rate                       : 24.563 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.397
Stream size                              : 145 MiB (99%)
Source stream size                       : 145 MiB (99%)
Title                                    : VideoHandle
Language                                 : English
Encoded date                             : UTC 2015-08-08 22:22:54
Tagged date                              : UTC 2015-08-08 22:22:54
mdhd_Duration                            : 60759

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1mn 0s
Bit rate mode                            : Constant
Bit rate                                 : 192 Kbps
Nominal bit rate                         : 96.0 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 1.39 MiB (1%)
Title                                    : SoundHandle
Language                                 : English
Encoded date                             : UTC 2015-08-08 22:22:54
Tagged date                              : UTC 2015-08-08 22:22:54
[1] fdavis at haifisch> ffmpeg -loglevel debug -vcodec h264 -i 3350.mp4
/tmp/test.m4v
ffmpeg version N-74414-g1bbb5ea Copyright (c) 2000-2015 the FFmpeg
developers
  built with gcc 5.2.0 (GCC)
  configuration: --prefix=/usr --shlibdir=/usr/lib --disable-static
--enable-gpl --enable-gnutls --enable-libass --enable-libfdk-aac
--enable-libfreetype --enable-libmp3lame --enable-libopus
--enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree --enable-shared --enable-x11grab
  libavutil      54. 30.100 / 54. 30.100
  libavcodec     56. 57.100 / 56. 57.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 33.100 /  5. 33.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Splitting the commandline.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument 'debug'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec
('copy' to copy stream)) with argument 'h264'.
Reading option '-i' ... matched as input file with argument '3350.mp4'.
Reading option '/tmp/test.m4v' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option loglevel (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input file 3350.mp4.
Applying option vcodec (force video codec ('copy' to copy stream)) with
argument h264.
Successfully parsed a group of options.
Opening an input file: 3350.mp4.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] Format mov,mp4,m4a,3gp,3g2,mj2
probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] rfps: 24.166667 0.004947
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] rfps: 24.250000 0.000728
    Last message repeated 1 times
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] rfps: 24.333333 0.015445
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] Before
avformat_find_stream_info() pos: 810172 bytes read:65536 seeks:1
[aac @ 0x55809173c4a0] stereo with SCE
[aac @ 0x55809173c4a0] channel element 0.0 is not allocated
[h264 @ 0x558091736ae0] AVC: nal size 1905361577
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1086319262
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1286842782
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1940703501
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1523323908
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -2522996
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -2140930318
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1835705131
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -791953323
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -866066423
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 173903557
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1098099925
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 805266031
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -480804333
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 87368954
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1804290235
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1686806867
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1242018040
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1486137586
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -351248633
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -2129134643
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1258617032
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1045536624
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -608894043
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1638490795
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1847489120
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -484183864
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -99664071
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -17689780
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1089652009
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -988792122
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 1056033993
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -78981577
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -2145822482
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 926760153
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 528069436
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -449179667
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -442714394
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 516408086
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 353060021
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1460276000
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -533608691
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1883290176
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -126141881
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size 170684972
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1366703319
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -1728822296
[h264 @ 0x558091736ae0] no frame!
[h264 @ 0x558091736ae0] AVC: nal size -433491425
[h264 @ 0x558091736ae0] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] Probe buffer size limit of
5000000 bytes reached
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] Could not find codec parameters
for stream 0 (Video: h264, 1 reference frame (avc1 / 0x31637661),
none(left), 1920x1080, 1/180000, 19958 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x5580917350c0] After
avformat_find_stream_info() pos: 5883458 bytes read:5187990 seeks:3
frames:144
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '3350.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2015-08-08 22:22:54
  Duration: 00:01:00.78, start: 0.000000, bitrate: 20251 kb/s
    Stream #0:0(eng), 48, 1/90000: Video: h264, 1 reference frame (avc1 /
0x31637661), none(left), 1920x1080, 1/180000, 19958 kb/s, SAR 1:1 DAR 16:9,
24.22 fps, 24.25 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2015-08-08 22:22:54
      handler_name    : VideoHandle
    Stream #0:1(eng), 96, 1/48000: Audio: aac (LC) (mp4a / 0x6134706D),
48000 Hz, stereo, fltp, 192 kb/s (default)
    Metadata:
      creation_time   : 2015-08-08 22:22:54
      handler_name    : SoundHandle
Successfully opened the file.
Parsing a group of options: output file /tmp/test.m4v.
Successfully parsed a group of options.
Opening an output file: /tmp/test.m4v.
Successfully opened the file.
detected 4 logical cores
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'video_size' to
value '1920x1080'
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'pix_fmt' to value
'-1'
[buffer @ 0x558091734f40] Unable to parse option value "-1" as pixel format
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'time_base' to
value '1/90000'
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'pixel_aspect' to
value '1/1'
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'sws_param' to
value 'flags=2'
[graph 0 input from stream 0:0 @ 0x55809174e680] Setting 'frame_rate' to
value '97/4'
[buffer @ 0x558091734f40] Unable to parse option value "-1" as pixel format
[buffer @ 0x558091734f40] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:0 @ 0x55809174e680] Error applying options to
the filter.
Error opening filters!
[AVIOContext @ 0x55809173c040] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0x55809173dae0] Statistics: 5187990 bytes read, 3 seeks
[1] fdavis at haifisch>


More information about the ffmpeg-user mailing list