[FFmpeg-user] Installationon Debian not working

a@fumatic.org a at fumatic.org
Thu Dec 31 19:54:47 CET 2015



----- Reply message -----
From: "Thomas Hehl" <thomas.hehl at lexmark.com>
To: "FFmpeg user questions" <ffmpeg-user at ffmpeg.org>
Subject: [FFmpeg-user] Installationon Debian not working
Date: Thu, Dec 31, 2015 6:58 AM

I had exactly this same problem on Ubuntu where my 265 library didn't
build. I ended up going forward and leaving out the 265 libraries. Let me
know if you come up with something different.

On Wed, Dec 30, 2015 at 11:57 PM, Harald <recieve_2 at niemeczek.at> wrote:

>
>
> Hello,
>
> I tried to install ffmpeg on my debian 8 PC, but it doesnt wok and it
> tells me to write to this mailing list. So I write here.
>
> Here is the Log of the installation, but itis just a piece due to the
> limited storage in the terminal.: http://pastebin.com/feVbsPFN
>
> I used this tutorial:
> https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
>
> I think the most important part is
>
> root at AnonymusChaotic:~/ffmpeg_sources/ffmpeg# PATH="$HOME/bin:$PATH"
> PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure \
> > --prefix="$HOME/ffmpeg_build" \
> > --pkg-config-flags="--static" \
> > --extra-cflags="-I$HOME/ffmpeg_build/include" \
> > --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
> > --bindir="$HOME/bin" \
> > --enable-gpl \
> > --enable-libass \
> > --enable-libfdk-aac \
> > --enable-libfreetype \
> > --enable-libmp3lame \
> > --enable-libopus \
> > --enable-libtheora \
> > --enable-libvorbis \
> > --enable-libvpx \
> > --enable-libx264 \
> > --enable-libx265 \
> > --enable-nonfree
> ERROR: X265 NOT FOUND USING PKG-CONFIG
>
> If you think configure made a mistake, make sure you are using the
> latest
> version from Git. If the latest version fails, report the problem to the
> ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
> Include the log file "config.log" produced by configure as this will
> help
> solve the problem.
>
> When trying to convert it to .ogg it fails, converting to .mp4 works
> well
>
> #######################################################################
>
> avconv -i intro.mov -c copy introx.ogg
> avconv version 11.4-6:11.4-1~deb8u1, Copyright (c) 2000-2014 the Libav
> developers
> built on Jun 4 2015 19:39:02 with gcc 4.9.2 (Debian 4.9.2-10)
> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'intro.mov':
> Metadata:
> major_brand : qt
> minor_version : 0
> compatible_brands: qt
> creation_time : 2015-11-24 11:15:12
> Duration: 00:03:27.82, start: 0.000000, bitrate: 16131 kb/s
> Stream #0.0(und): Video: h264 (High), yuv420p, 1920x1080, 15958 kb/s,
> PAR 1:1 DAR 16:9, 29.97 fps, 30k tbn, 50 tbc (default)
> Metadata:
> creation_time : 2015-11-24 11:15:12
> encoder : H.264
> Stream #0.1(und): Audio: aac, 48000 Hz, stereo, fltp, 127 kb/s (default)
> Metadata:
> creation_time : 2015-11-24 11:15:12
> Stream #0.2(und): Data: tmcd / 0x64636D74 (default)
> Metadata:
> creation_time : 2015-11-24 11:15:12
> File 'introx.ogg' already exists. Overwrite ? [y/N] y
> [OGG @ 0X199A400] UNSUPPORTED CODEC ID IN STREAM 0
> Output #0, ogg, to 'introx.ogg':
> Metadata:
> major_brand : qt
> minor_version : 0
> compatible_brands: qt
> creation_time : 2015-11-24 11:15:12
> encoder : Lavf56.1.0
> Stream #0.0(und): Video: libx264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9],
> q=2-31, 15958 kb/s, 30k tbn, 30k tbc (default)
> Metadata:
> creation_time : 2015-11-24 11:15:12
> encoder : H.264
> Stream #0.1(und): Audio: aac, 48000 Hz, stereo, 127 kb/s (default)
> Metadata:
> creation_time : 2015-11-24 11:15:12
> Stream mapping:
> Stream #0:0 -> #0:0 (copy)
> Stream #0:1 -> #0:1 (copy)
> COULD NOT WRITE HEADER FOR OUTPUT FILE #0 (INCORRECT CODEC PARAMETERS
> ?): OPERATION NOT PERMITTED
>
> Can you please help me? I just want to convert .mov videos to .ogg.
>
> ############################################################
>
> The command ffmpeg does not work.
>
> I've tried several programs within the last 5 hours without any chance
> to success.
>
> Yours,
>
> Harald
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


I build on debian weekly,it's not debian.
you need to runpkg-config libx265
why not just apt install x265 libx265-dev libx265-68( stretch debs)for your mov to ogg error,you cannot use -c copy in that situation.you need to read the docs.


More information about the ffmpeg-user mailing list