-
-
Save Ruxton/6beb6f3d74e7b7612fca to your computer and use it in GitHub Desktop.
FFMPEG not encoding a MJPG from a CanonMVI02 encoder due to issues with the audio reencode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruxton@hostname:~$ ffmpeg -i /home/ruxton/MVI_0611.AVI -c:v libx264 -crf 0 -strict -2 /home/ruxton/MVI_0611.mp4 | |
ffmpeg version 0.10.6-6:0.10.6-0ubuntu0jon1~lucid2 Copyright (c) 2000-2012 the FFmpeg developers | |
built on Nov 12 2012 15:08:51 with gcc 4.4.3 | |
configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~lucid2' --libdir=/usr/lib --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib --enable-shared --disable-static | |
avcodec configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect --extra-version='6:0.10.6-0ubuntu0jon1~lucid2' --libdir=/usr/lib --disable-stripping --prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype --enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl --enable-postproc --enable-libcdio --enable-x11grab --enable-libx264 --shlibdir=/usr/lib --enable-shared --disable-static --enable-libopencore-amrnb --enable-version3 --enable-libopencore-amrwb --enable-version3 | |
libavutil 51. 35.100 / 51. 35.100 | |
libavcodec 53. 61.100 / 53. 61.100 | |
libavformat 53. 32.100 / 53. 32.100 | |
libavdevice 53. 4.100 / 53. 4.100 | |
libavfilter 2. 61.100 / 2. 61.100 | |
libswscale 2. 1.100 / 2. 1.100 | |
libswresample 0. 6.100 / 0. 6.100 | |
libpostproc 52. 0.100 / 52. 0.100 | |
Input #0, avi, from '/home/ruxton/MVI_0611.AVI': | |
Metadata: | |
creation_time : 2005-07-07 10:06:25 | |
encoder : CanonMVI02 | |
Duration: 00:00:15.23, start: 0.000000, bitrate: 15023 kb/s | |
Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p, 640x480, 30 tbr, 30 tbn, 30 tbc | |
Stream #0:1: Audio: pcm_u8 ([1][0][0][0] / 0x0001), 11024 Hz, 1 channels, u8, 88 kb/s | |
File '/home/ruxton/MVI_0611.mp4' already exists. Overwrite ? [y/N] y | |
Incompatible pixel format 'yuvj422p' for codec 'libx264', auto-selecting format 'yuvj420p' | |
[buffer @ 0x258a140] w:640 h:480 pixfmt:yuvj422p tb:1/1000000 sar:0/1 sws_param: | |
[buffersink @ 0x258a540] auto-inserting filter 'auto-inserted scale 0' between the filter 'src' and the filter 'out' | |
[scale @ 0x2580f80] w:640 h:480 fmt:yuvj422p -> w:640 h:480 fmt:yuvj420p flags:0x4 | |
Incompatible sample format 'u8' for codec 'aac', auto-selecting format 'flt' | |
[libx264 @ 0x257f860] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64 | |
[libx264 @ 0x257f860] profile High 4:4:4 Predictive, level 3.0, 4:2:0 8-bit | |
[libx264 @ 0x257f860] 64 - core 120 r2151 a3f4407 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=0 mixed_ref=1 me_range=16 chroma_me=1 trellis=0 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=0 chroma_qp_offset=0 threads=6 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc=cqp mbtree=0 qp=0 | |
[aac @ 0x2589640] Unsupported sample rate 11024 | |
Output #0, mp4, to '/home/ruxton/MVI_0611.mp4': | |
Metadata: | |
creation_time : 2005-07-07 10:06:25 | |
encoder : CanonMVI02 | |
Stream #0:0: Video: h264, yuvj420p, 640x480, q=-1--1, 90k tbn, 30 tbc | |
Stream #0:1: Audio: aac, 11024 Hz, 1 channels, flt, 128 kb/s | |
Stream mapping: | |
Stream #0:0 -> #0:0 (mjpeg -> libx264) | |
Stream #0:1 -> #0:1 (pcm_u8 -> aac) | |
Error while opening encoder for output stream #0:1 - maybe incorrect parameters such as bit_rate, rate, width or height |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment