Unable to parse option value "-1" as pixel format

Any other question that don't fit into the other support categorizes.
Post Reply
Shartox
Posts: 1
Joined: Sun Nov 02, 2014 10:05 am

Unable to parse option value "-1" as pixel format

Post by Shartox » Sun Nov 02, 2014 10:20 am

Hey everyone,
I dunno if this is the right section for my problem but i'll tell you anyway what's my problem.
I've recorded a 3 hour video through OBS (Open Broadcast Software) but somehow the data is broken.
I've openend the file with "MPC, VLC & Windows Media Player" MPC & VLC seem to crash instantly while Windows Media Player plays the audio.

Someone told me i should try ffmpeg using : ffmpeg -i input.mp4 output.mkv
but then i got following error:

Code: Select all

E:\O_O\ffmpeg-20141101-git-d2d97b3-win64-static\bin>ffmpeg -i input.mp4 output.m
kv
ffmpeg version N-67318-gd2d97b3 Copyright (c) 2000-2014 the FFmpeg developers
  built on Nov  1 2014 01:00:33 with gcc 4.9.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      54. 11.100 / 54. 11.100
  libavcodec     56. 10.100 / 56. 10.100
  libavformat    56. 11.101 / 56. 11.101
  libavdevice    56.  2.100 / 56.  2.100
  libavfilter     5.  2.100 /  5.  2.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[h264 @ 0000000002c2aa60] non-existing PPS 0 referenced
[h264 @ 0000000002c2aa60] decode_slice_header error
[h264 @ 0000000002c2aa60] no frame!
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002c18980] decoding for stream 1 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000000002c18980] Could not find codec parameters for
 stream 1 (Video: h264 (avc1 / 0x31637661), none, 1920x1080, 19999 kb/s): unspec
ified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'input.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2014-11-01 20:26:42
    encoder         : Open Broadcaster Software v0.637b
  Duration: 02:57:54.27, start: 0.000000, bitrate: 20172 kb/s
    Stream #0:0(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 16
0 kb/s (default)
    Metadata:
      creation_time   : 2014-11-01 20:26:42
      handler_name    : Sound Media Handler
    Stream #0:1(und): Video: h264 (avc1 / 0x31637661), none, 1920x1080, 19999 kb
/s, 30 fps, 30 tbr, 1k tbn, 2k tbc (default)
    Metadata:
      creation_time   : 2014-11-01 20:26:42
      handler_name    : Video Media Handler
      encoder         : AVC Coding
File 'output.mkv' already exists. Overwrite ? [y/N] y
[buffer @ 0000000006ecc280] Unable to parse option value "-1" as pixel format
    Last message repeated 1 times
[buffer @ 0000000006ecc280] Error setting option pix_fmt to value -1.
[graph 0 input from stream 0:1 @ 0000000002b8f440] Error applying options to the
 filter.
Error opening filters!

E:\O_O\ffmpeg-20141101-git-d2d97b3-win64-static\bin>
Please i need help. What can i do?

Mediainfo Data:

Code: Select all

General
Complete name                            : E:\O_O\ffmpeg-20141101-git-d2d97b3-win64-static\bin\input.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom
File size                                : 25.1 GiB
Duration                                 : 2h 57mn
Overall bit rate                         : 20.2 Mbps
Encoded date                             : UTC 2014-11-01 20:26:42
Tagged date                              : UTC 2014-11-01 20:26:42
Writing application                      : Open Broadcaster Software v0.637b

Video
ID                                       : 2
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2h 57mn
Source duration                          : 2h 57mn
Bit rate                                 : 20.0 Mbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 30.000 fps
Minimum frame rate                       : 29.412 fps
Maximum frame rate                       : 30.303 fps
Bits/(Pixel*Frame)                       : 0.321
Stream size                              : 24.9 GiB (99%)
Source stream size                       : 24.9 GiB (99%)
Encoded date                             : UTC 2014-11-01 20:26:42
Tagged date                              : UTC 2014-11-01 20:26:42
mdhd_Duration                            : 10674266

Audio
ID                                       : 1
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 57mn
Source duration                          : 2h 57mn
Bit rate mode                            : Constant
Nominal bit rate                         : 320 Kbps
Channel(s)                               :  channel0
Original Channel count                   : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Source stream size                       : 205 MiB (1%)
Language                                 : English
Encoded date                             : UTC 2014-11-01 20:26:42
Tagged date                              : UTC 2014-11-01 20:26:42

Post Reply
'