<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://ffdiaporama.tuxfamily.org/Forum/extern.php?action=feed&amp;tid=845&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[ffDiaporama Forum / Erreur à la compilation avec Manjaro]]></title>
		<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?id=845</link>
		<description><![CDATA[The most recent posts in Erreur à la compilation avec Manjaro.]]></description>
		<lastBuildDate>Thu, 22 Jan 2015 11:06:14 +0000</lastBuildDate>
		<generator>FluxBB 1.4.7</generator>
		<item>
			<title><![CDATA[Re: Erreur à la compilation avec Manjaro]]></title>
			<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3793#p3793</link>
			<description><![CDATA[<p>Merci de votre aide .<br />Je vais donc utiliser vos conseils . <br />J&#039;avais étudié les réponses que vous m&#039;aviez conseillé d&#039;aller voir et effectivement<br />avec l&#039;aide de Google Translate j&#039;étais arrivé à la même conclusion.</p><p>Encore Merci pour votre aide</p>]]></description>
			<author><![CDATA[dummy@example.com (janolero)]]></author>
			<pubDate>Thu, 22 Jan 2015 11:06:14 +0000</pubDate>
			<guid>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3793#p3793</guid>
		</item>
		<item>
			<title><![CDATA[Re: Erreur à la compilation avec Manjaro]]></title>
			<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3792#p3792</link>
			<description><![CDATA[<p>bonjour,</p><p>Je pense que le fichier source à modifier se situe <br />ffDiaporama/src/ffDiaporama/engine/</p><p>Tout ceci d&#039;après le post précédent et sous toute réserve.<br />soit EncodeVideo.cpp<br />ligne 1088 audio<br />ligne 1181 video<br /></p><div class="quotebox"><blockquote><div><p>in _EncodeVideo.cpp remplacer<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; avcodec_get_frame_defaults(AudioFrame);<br />with<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; #if (FFMPEGVERSIONINT&gt;=220)<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; av_frame_unref(AudioFrame);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; #else<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; avcodec_get_frame_defaults(AudioFrame);<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; #endif</p><br /><p>and<br />&#160; &#160; &#160; &#160; &#160; &#160; avcodec_get_frame_defaults(VideoFrame);</p><p>with<br />&#160; &#160; &#160; &#160; #if (FFMPEGVERSIONINT&gt;=220)<br />&#160; &#160; &#160; &#160; &#160; &#160; av_frame_unref(VideoFrame);<br />&#160; &#160; &#160; &#160; #else<br />&#160; &#160; &#160; &#160; &#160; &#160; avcodec_get_frame_defaults(VideoFrame);<br />&#160; &#160; &#160; &#160; #endif</p></div></blockquote></div><p>puis dans le fichier cDeviceModelDef.h<br /></p><div class="quotebox"><blockquote><div><p>#define RESAMPLE_MAX_CHANNELS SWR_CH_MAX<br />to<br />&#160; &#160; #define RESAMPLE_MAX_CHANNELS 32</p></div></blockquote></div><p>puis enfin<br />dans EncodeVideo.cpp,<br /></p><div class="quotebox"><blockquote><div><p>VideoStream-&gt;time_base&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; = VideoFrameRate;&#160; &#160;//new ffmpeg 2.5.0!!!!<br />a la fin de la ligne, il faut rajouter.<br />&#160; &#160;VideoStream-&gt;codec-&gt;time_base&#160; &#160; &#160; &#160; &#160; &#160;= VideoFrameRate;</p></div></blockquote></div><p>J&#039;espère que j&#039;ai bien interprété le sujet.</p><p>Bon courage.</p>]]></description>
			<author><![CDATA[dummy@example.com (Sestay)]]></author>
			<pubDate>Thu, 22 Jan 2015 07:59:23 +0000</pubDate>
			<guid>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3792#p3792</guid>
		</item>
		<item>
			<title><![CDATA[Re: Erreur à la compilation avec Manjaro]]></title>
			<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3791#p3791</link>
			<description><![CDATA[<div class="quotebox"><cite>Sestay wrote:</cite><blockquote><div><p>Bonsoir,<br />Je n&#039;ai hélas pas de solution ne connaissant pas manjaro.<br />Mais regardez ici il y a un problème similaire au votre.</p><p><a href="http://ffdiaporama.tuxfamily.org/Forum/">http://ffdiaporama.tuxfamily.org/Forum/</a> … 3783#p3783.</p></div></blockquote></div><p>Oui je suis allé voir ce post mais malheureusement je ne suis pas doué en informatique et je ne comprends<br />pas :<br />- Où dois-je changer ces 2 lignes ?<br />- A quel moment dois-je faire cette modification ?</p><p>Un grand Merci pour votre aide <img src="https://ffdiaporama.tuxfamily.org/Forum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (janolero)]]></author>
			<pubDate>Wed, 21 Jan 2015 10:00:06 +0000</pubDate>
			<guid>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3791#p3791</guid>
		</item>
		<item>
			<title><![CDATA[Re: Erreur à la compilation avec Manjaro]]></title>
			<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3790#p3790</link>
			<description><![CDATA[<p>Bonsoir,<br />Je n&#039;ai hélas pas de solution ne connaissant pas manjaro.<br />Mais regardez ici il y a un problème similaire au votre.</p><p><a href="http://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3783#p3783">http://ffdiaporama.tuxfamily.org/Forum/ … 3783#p3783</a>.</p>]]></description>
			<author><![CDATA[dummy@example.com (Sestay)]]></author>
			<pubDate>Tue, 20 Jan 2015 20:53:54 +0000</pubDate>
			<guid>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3790#p3790</guid>
		</item>
		<item>
			<title><![CDATA[Erreur à la compilation avec Manjaro]]></title>
			<link>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3789#p3789</link>
			<description><![CDATA[<p>Bonjour à tous,</p><p>Voilà plusieurs mois que je ne peux installer ffdiaporama que ce soit la version normale ou la version devel.<br />J&#039;ai déjà utilisé ffdiaporama et j&#039;ai même réalisé quelques projets que j&#039;aurai bien voulu reprendre. Mais voilà , un beau jour<br />ma version installée n&#039;a plus fonctionnée et je ne suis pas arrivé à les réinstaller. Que ce soit la version normale ou la version devel !<br />Les 2 versions génèrent la même erreur que voici ci-dessous :</p><p>engine/_EncodeVideo.cpp:456:29: attention : ‘AVCodecContext::lmin’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2382) [-Wdeprecated-declarations]<br />&#160; &#160; &#160; &#160; &#160;VideoStream-&gt;codec-&gt;lmin&#160; &#160; =VideoStream-&gt;codec-&gt;qmin*FF_QP2LAMBDA;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^<br />engine/_EncodeVideo.cpp:456:29: attention : ‘AVCodecContext::lmin’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2382) [-Wdeprecated-declarations]<br />engine/_EncodeVideo.cpp:458:29: attention : ‘AVCodecContext::lmax’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2388) [-Wdeprecated-declarations]<br />&#160; &#160; &#160; &#160; &#160;VideoStream-&gt;codec-&gt;lmax&#160; &#160; =VideoStream-&gt;codec-&gt;qmax*FF_QP2LAMBDA;<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^<br />engine/_EncodeVideo.cpp:458:29: attention : ‘AVCodecContext::lmax’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:2388) [-Wdeprecated-declarations]<br />In file included from engine/cApplicationConfig.h:42:0,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from engine/_Transition.h:80,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from engine/_Diaporama.h:26,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from engine/_EncodeVideo.h:28,<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;from engine/_EncodeVideo.cpp:21:<br />engine/_EncodeVideo.cpp: In member function ‘void cEncodeVideo::EncodeMusic(cDiaporamaObjectInfo*, cSoundBlockList*, cSoundBlockList*, bool&amp;)’:<br />engine/cDeviceModelDef.h:87:35: erreur: ‘SWR_CH_MAX’ was not declared in this scope<br />&#160; &#160; &#160;#define RESAMPLE_MAX_CHANNELS SWR_CH_MAX<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^<br />engine/_EncodeVideo.cpp:1059:39: note: in expansion of macro ‘RESAMPLE_MAX_CHANNELS’<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;u_int8_t *in_data[RESAMPLE_MAX_CHANNELS]={0},*out_data[RESAMPLE_MAX_CHANNELS]={0};<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;^<br />engine/_EncodeVideo.cpp:1061:48: erreur: ‘in_data’ was not declared in this scope<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (av_samples_fill_arrays(in_data,&amp;in_linesize,(u_int8_t *)PacketSound,ToEncodeMusic-&gt;Channels,DestNbrSamples,ToEncodeMusic-&gt;SampleFormat,0)&lt;0) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ^<br />engine/_EncodeVideo.cpp:1065:52: erreur: ‘out_data’ was not declared in this scope<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;if (av_samples_fill_arrays(out_data,&amp;out_linesize,AudioResamplerBuffer,AudioStream-&gt;codec-&gt;channels,out_samples,AudioStream-&gt;codec-&gt;sample_fmt,0)&lt;0) {<br />&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; ^<br />Makefile:4635 : la recette pour la cible « _EncodeVideo.o » a échouée<br />make[1]: *** [_EncodeVideo.o] Erreur 1<br />make[1] : on quitte le répertoire « /tmp/yaourt-tmp-jean/aur-ffdiaporama-devel/src/ffDiaporama/src/ffDiaporama »<br />Makefile:68 : la recette pour la cible « sub-src-ffDiaporama-make_first » a échouée<br />make: *** [sub-src-ffDiaporama-make_first] Erreur 2<br />==&gt; ERREUR : Une erreur s’est produite dans build().<br />&#160; &#160; Abandon...<br />==&gt; ERREUR: Makepkg n&#039;a pas pu construire .</p><p>Apparemment une erreur due à &quot;libavcodec&quot; qui serait déprécié ????</p><p>Sachant que je suis vraiment nul en informatique et en Linux en particulier : <br />Comment résoudre ce problème ?</p><p>Pourtant je voudrais bien retrouver mon &quot; ffdiaporama &quot; que j&#039;apprécia énormément.<br />Un grand Merci pour votre aide .</p>]]></description>
			<author><![CDATA[dummy@example.com (janolero)]]></author>
			<pubDate>Tue, 20 Jan 2015 17:10:21 +0000</pubDate>
			<guid>https://ffdiaporama.tuxfamily.org/Forum/viewtopic.php?pid=3789#p3789</guid>
		</item>
	</channel>
</rss>
