ffmpeg的10.04找不到codeC参数 [英] ffmpeg 10.04 Could Not Find Codec Parameters

查看:1888
本文介绍了ffmpeg的10.04找不到codeC参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到一个错误执行命令时 的ffmpeg -i /path/to/video.mp4

 的ffmpeg版本的git-2012-07-24-93342de版权所有(C)2000-2012 FFmpeg的开发
      建于2012年7月24日23时55分41秒用gcc 4.4.3(Ubuntu的4.4.3-4ubuntu5.1)
      配置:--enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-GPL --enable-非自由--enable-postproc --enable- swscale --enable-VDPAU --enable-版本3 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab
      libavutil 51. 65.100 / 51 65.100
      libav $ C $毫升54 44.100 / 54 44.100
      libavformat流54. 20.100 / 54 20.100
      libavdevice 54 2.100 / 54 2.100
      libavfilter 3. 3.100 / 3.100 3.
      libswscale 2. 1.100 / 2 1.100
      libswresample 0 15.100 / 0 15.100
      libpostproc 52 0.100 / 52 0.100
    [MOV,MP4,M4A,3GP,3G2,MJ2 @ 0x2a1b240]找不到codeC参数流0(视频:H264(AVC1 / 0x31637661),1280×720):未指定的像素格式
    考虑保值增值的analyzeduration'和'probesize选项
    /path/to/video.mp4:找不到codeC参数
 

解决方案

我是测试中的文件实际上是破坏。但是,如果任何人面临这个问题,设置-probesize和-analyzeduration 100到10,000,000例如可能的帮助。

I am getting an error while executing the command ffmpeg -i /path/to/video.mp4 :

  ffmpeg version git-2012-07-24-93342de Copyright (c) 2000-2012 the FFmpeg developers
      built on Jul 24 2012 23:55:41 with gcc 4.4.3 (Ubuntu 4.4.3-4ubuntu5.1)
      configuration: --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-swscale --enable-vdpau --enable-version3 --enable-libtheora --enable-libvorbis --enable-libvpx --enable-x11grab
      libavutil      51. 65.100 / 51. 65.100
      libavcodec     54. 44.100 / 54. 44.100
      libavformat    54. 20.100 / 54. 20.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  3.100 /  3.  3.100
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a1b240] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), 1280x720): unspecified pixel format
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    /path/to/video.mp4: could not find codec parameters

解决方案

The files I was testing were in fact damaged. But if anyone faces this problem, setting -probesize and -analyzeduration to 100 and 10000000 for example might help.

这篇关于ffmpeg的10.04找不到codeC参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆