[mythtv-users] convert video format

Josu Lazkano josu.lazkano at gmail.com
Wed Dec 12 22:26:13 UTC 2012


Hello again, I try with this command:

# ffmpeg -i EEEM.1x48.Bogota.DVBRiP.Pica.avi -vcodec h264 -acodec aac
EEEM.1x48.Bogota.DVBRiP.Pica.mp4
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 17 2012 11:28:48 with gcc 4.7 (Debian 4.7.2-4)
  configuration: --prefix=/usr --extra-cflags='-g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache
cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree
--disable-decoder=libdirac --enable-libvorbis --enable-pthreads
--enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab
--enable-libgsm --enable-libtheora --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libx264 --enable-libspeex
--enable-nonfree --disable-stripping --enable-libschroedinger
--disable-encoder=libschroedinger --enable-version3
--enable-libopenjpeg --enable-libvpx --enable-librtmp
--enable-avfilter --enable-libfreetype --enable-libvo-aacenc
--disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus
--libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray
--enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl
--enable-libass --enable-libopus --enable-fontconfig
--enable-libdc1394 --disable-altive  libavutil      51. 73.101 / 51.
73.101
  libavcodec     54. 59.100 / 54. 59.100
  libavformat    54. 29.104 / 54. 29.104
  libavdevice    54.  2.101 / 54.  2.101
  libavfilter     3. 17.100 /  3. 17.100
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[avi @ 0x13c1ba0] non-interleaved AVI
[mpeg4 @ 0x13c8c20] Invalid and inefficient vfw-avi packed B frames detected
Input #0, avi, from 'EEEM.1x48.Bogota.DVBRiP.Pica.avi':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
  Duration: 00:53:38.48, start: 0.000000, bitrate: 1668 kb/s
    Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID /
0x44495658), yuv420p, 704x528 [SAR 1:1 DAR 4:3], SAR 15:16 DAR 5:4, 25
tbr, 25 tbn, 25 tbc
    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo,
s16, 128 kb/s
[libx264 @ 0x13a5a60] using SAR=15/16
[libx264 @ 0x13a5a60] using cpu capabilities: MMX2 SSE2Fast
FastShuffle SSEMisalign LZCNT
[libx264 @ 0x13a5a60] profile High, level 3.0
[libx264 @ 0x13a5a60] 264 - core 129 - H.264/MPEG-4 AVC codec -
Copyleft 2003-2012 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=3 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1
interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
aq=1:1.00
[NULL @ 0x13eb640] Codec is experimental but experimental codecs are
not enabled, try -strict -2
Output #0, mp4, to 'EEEM.1x48.Bogota.DVBRiP.Pica.mp4':
  Metadata:
    encoder         : VirtualDubMod 1.5.10.2 (build 2542/release)
    Stream #0:0: Video: h264, yuv420p, 704x528 [SAR 15:16 DAR 5:4],
q=-1--1, 90k tbn, 25 tbc
    Stream #0:1: Audio: none, 48000 Hz, stereo, flt, 128 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (mpeg4 -> libx264)
  Stream #0:1 -> #0:1 (mp3 -> aac)
Error while opening encoder for output stream #0:1 - maybe incorrect
parameters such as bit_rate, rate, width or height


It get an error, but I don't know why, I want to have same bit_rate,
rate, width and height as the original file. I am missing something on
the ffmpeg parameters?

Thanks again.

--
Josu Lazkano


More information about the mythtv-users mailing list