
Recherche avancée
Médias (1)
-
The Slip - Artworks
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (67)
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
Le plugin : Gestion de la mutualisation
2 mars 2010, parLe plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
Installation basique
On installe les fichiers de SPIP sur le serveur.
On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
< ?php (...)
Sur d’autres sites (9106)
-
Build FFMPEG for Android error
27 juillet 2015, par Douglas AnunciaçãoI cannot build FFMPEG for Android in Ubuntu 14.04 64-bits. I have followed many tutorials but still cannot do it right. I’m using the project recommended by FFMPEG team : https://github.com/cine-io/android-ffmpeg-with-rtmp.
But I get this error in the terminal when I run build.sh :
douglas@douglas-mob:~/dev/android-ffmpeg-with-rtmp$ ./build.sh
Setting up build environment ...
Looking for the NDK ...
find: `/usr/share/doc/google-chrome-stable': Permissão negada
Path to NDK []: /home/douglas/dev/android-ndk-r9
Saving configuration into /home/douglas/dev/android-ffmpeg-with-rtmp/.build-config.sh ...
OS_ARCH=linux-x86_64
NDK=/home/douglas/dev/android-ndk-r9
SYSROOT=/home/douglas/dev/android-ndk-r9/platforms/android-19/arch-arm
TOOLCHAIN=/home/douglas/dev/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
Building openssl-android ...
Building librtmp for android ...
Couldn't build librtmp for android!
Check the build log: /home/douglas/dev/android-ffmpeg-with-rtmp/build/build.logAnd the build.log file content is as follows :
Cloning into
’/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android’...
Android NDK :
WARNING :/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android/crypto/Android.mk:crypto_static : LOCAL_LDLIBS is always ignored for static libraries Compile thumb
: crypto <= cryptlib.c
/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android/crypto/cryptlib.c :
In function ’CRYPTO_THREADID_current’ :
/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android/crypto/cryptlib.c:503:2 :
warning : passing argument 2 of ’CRYPTO_THREADID_set_pointer’ discards
’volatile’ qualifier from pointer target type [enabled by default]
/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android/crypto/cryptlib.c:431:6 :
note : expected ’void *’ but argument is of type ’int volatile *’
Compile thumb : crypto <= mem.c Compile thumb : crypto <= mem_clr.c
Compile thumb : crypto <= mem_dbg.c Compile thumb : crypto <=
cversion.c Compile thumb : crypto <= ex_data.c Compile thumb :
crypto <= cpt_err.c Compile thumb : crypto <= ebcdic.c Compile thumb
: crypto <= uid.c Compile thumb : crypto <= o_time.c Compile thumb :
crypto <= o_str.c Compile thumb : crypto <= o_dir.c Compile thumb :
crypto <= aes_cbc.c Compile thumb : crypto <= aes_cfb.c Compile thumb
: crypto <= aes_ctr.c Compile thumb : crypto <= aes_ecb.c Compile
thumb : crypto <= aes_misc.c Compile thumb : crypto <= aes_ofb.c
Compile thumb : crypto <= aes_wrap.c Compile thumb : crypto <=
a_bitstr.c Compile thumb : crypto <= a_bool.c Compile thumb : crypto
<= a_bytes.c Compile thumb : crypto <= a_d2i_fp.c Compile thumb :
crypto <= a_digest.c Compile thumb : crypto <= a_dup.c Compile thumb
: crypto <= a_enum.c Compile thumb : crypto <= a_gentm.c Compile
thumb : crypto <= a_i2d_fp.c Compile thumb : crypto <= a_int.c
Compile thumb : crypto <= a_mbstr.c Compile thumb : crypto <=
a_object.c Compile thumb : crypto <= a_octet.c Compile thumb :
crypto <= a_print.c Compile thumb : crypto <= a_set.c Compile thumb
: crypto <= a_sign.c Compile thumb : crypto <= a_strex.c Compile
thumb : crypto <= a_strnid.c Compile thumb : crypto <= a_time.c
Compile thumb : crypto <= a_type.c Compile thumb : crypto <=
a_utctm.c Compile thumb : crypto <= a_utf8.c Compile thumb : crypto
<= a_verify.c Compile thumb : crypto <= ameth_lib.c Compile thumb :
crypto <= asn1_err.c Compile thumb : crypto <= asn1_gen.c Compile
thumb : crypto <= asn1_lib.c Compile thumb : crypto <= asn1_par.c
Compile thumb : crypto <= asn_mime.c Compile thumb : crypto <=
asn_moid.c Compile thumb : crypto <= asn_pack.c Compile thumb :
crypto <= bio_asn1.c Compile thumb : crypto <= bio_ndef.c Compile
thumb : crypto <= d2i_pr.c Compile thumb : crypto <= d2i_pu.c
Compile thumb : crypto <= evp_asn1.c Compile thumb : crypto <=
f_enum.c Compile thumb : crypto <= f_int.c Compile thumb : crypto <=
f_string.c Compile thumb : crypto <= i2d_pr.c Compile thumb : crypto
<= i2d_pu.c Compile thumb : crypto <= n_pkey.c Compile thumb :
crypto <= nsseq.c Compile thumb : crypto <= p5_pbe.c Compile thumb :
crypto <= p5_pbev2.c Compile thumb : crypto <= p8_pkey.c Compile
thumb : crypto <= t_bitst.c Compile thumb : crypto <= t_crl.c
Compile thumb : crypto <= t_pkey.c Compile thumb : crypto <= t_req.c
Compile thumb : crypto <= t_spki.c Compile thumb : crypto <=
t_x509.c Compile thumb : crypto <= t_x509a.c Compile thumb : crypto
<= tasn_dec.c Compile thumb : crypto <= tasn_enc.c Compile thumb :
crypto <= tasn_fre.c Compile thumb : crypto <= tasn_new.c Compile
thumb : crypto <= tasn_prn.c Compile thumb : crypto <= tasn_typ.c
Compile thumb : crypto <= tasn_utl.c Compile thumb : crypto <=
x_algor.c Compile thumb : crypto <= x_attrib.c Compile thumb :
crypto <= x_bignum.c Compile thumb : crypto <= x_crl.c Compile thumb
: crypto <= x_exten.c Compile thumb : crypto <= x_info.c Compile
thumb : crypto <= x_long.c Compile thumb : crypto <= x_name.c
Compile thumb : crypto <= x_nx509.c Compile thumb : crypto <=
x_pkey.c Compile thumb : crypto <= x_pubkey.c Compile thumb : crypto
<= x_req.c Compile thumb : crypto <= x_sig.c Compile thumb : crypto
<= x_spki.c Compile thumb : crypto <= x_val.c Compile thumb : crypto
<= x_x509.c Compile thumb : crypto <= x_x509a.c Compile thumb :
crypto <= bf_cfb64.c Compile thumb : crypto <= bf_ecb.c Compile thumb
: crypto <= bf_enc.c Compile thumb : crypto <= bf_ofb64.c Compile
thumb : crypto <= bf_skey.c Compile thumb : crypto <= b_dump.c
Compile thumb : crypto <= b_print.c Compile thumb : crypto <=
b_sock.c Compile thumb : crypto <= bf_buff.c Compile thumb : crypto
<= bf_nbio.c Compile thumb : crypto <= bf_null.c Compile thumb :
crypto <= bio_cb.c Compile thumb : crypto <= bio_err.c Compile thumb
: crypto <= bio_lib.c Compile thumb : crypto <= bss_acpt.c Compile
thumb : crypto <= bss_bio.c Compile thumb : crypto <= bss_conn.c
Compile thumb : crypto <= bss_dgram.c Compile thumb : crypto <=
bss_fd.c Compile thumb : crypto <= bss_file.c Compile thumb : crypto
<= bss_log.c Compile thumb : crypto <= bss_mem.c Compile thumb :
crypto <= bss_null.c Compile thumb : crypto <= bss_sock.c Compile
thumb : crypto <= bn_add.c Compile thumb : crypto <= bn_asm.c
Compile thumb : crypto <= bn_blind.c Compile thumb : crypto <=
bn_ctx.c Compile thumb : crypto <= bn_div.c Compile thumb : crypto
<= bn_err.c Compile thumb : crypto <= bn_exp.c Compile thumb :
crypto <= bn_exp2.c Compile thumb : crypto <= bn_gcd.c Compile thumb
: crypto <= bn_gf2m.c Compile thumb : crypto <= bn_kron.c Compile
thumb : crypto <= bn_lib.c Compile thumb : crypto <= bn_mod.c
Compile thumb : crypto <= bn_mont.c Compile thumb : crypto <=
bn_mpi.c Compile thumb : crypto <= bn_mul.c Compile thumb : crypto
<= bn_nist.c Compile thumb : crypto <= bn_prime.c Compile thumb :
crypto <= bn_print.c Compile thumb : crypto <= bn_rand.c Compile
thumb : crypto <= bn_recp.c Compile thumb : crypto <= bn_shift.c
Compile thumb : crypto <= bn_sqr.c Compile thumb : crypto <=
bn_sqrt.c Compile thumb : crypto <= bn_word.c Compile thumb : crypto
<= buf_err.c Compile thumb : crypto <= buffer.c Compile thumb :
crypto <= c_rle.c Compile thumb : crypto <= c_zlib.c Compile thumb :
crypto <= comp_err.c Compile thumb : crypto <= comp_lib.c Compile
thumb : crypto <= conf_api.c Compile thumb : crypto <= conf_def.c
Compile thumb : crypto <= conf_err.c Compile thumb : crypto <=
conf_lib.c Compile thumb : crypto <= conf_mall.c Compile thumb :
crypto <= conf_mod.c Compile thumb : crypto <= conf_sap.c Compile
thumb : crypto <= cbc_cksm.c Compile thumb : crypto <= cbc_enc.c
Compile thumb : crypto <= cfb64ede.c Compile thumb : crypto <=
cfb64enc.c Compile thumb : crypto <= cfb_enc.c Compile thumb :
crypto <= des_enc.c Compile thumb : crypto <= des_old.c Compile thumb
: crypto <= des_old2.c Compile thumb : crypto <= ecb3_enc.c Compile
thumb : crypto <= ecb_enc.c Compile thumb : crypto <= ede_cbcm_enc.c
Compile thumb : crypto <= enc_read.c Compile thumb : crypto <=
enc_writ.c Compile thumb : crypto <= fcrypt.c Compile thumb : crypto
<= fcrypt_b.c Compile thumb : crypto <= ofb64ede.c Compile thumb :
crypto <= ofb64enc.c Compile thumb : crypto <= ofb_enc.c Compile
thumb : crypto <= pcbc_enc.c Compile thumb : crypto <= qud_cksm.c
Compile thumb : crypto <= rand_key.c Compile thumb : crypto <=
read2pwd.c Compile thumb : crypto <= rpc_enc.c Compile thumb :
crypto <= set_key.c Compile thumb : crypto <= str2key.c Compile thumb
: crypto <= xcbc_enc.c Compile thumb : crypto <= dh_ameth.c Compile
thumb : crypto <= dh_asn1.c Compile thumb : crypto <= dh_check.c
Compile thumb : crypto <= dh_depr.c Compile thumb : crypto <=
dh_err.c Compile thumb : crypto <= dh_gen.c Compile thumb : crypto
<= dh_key.c Compile thumb : crypto <= dh_lib.c Compile thumb :
crypto <= dh_pmeth.c Compile thumb : crypto <= dsa_ameth.c Compile
thumb : crypto <= dsa_asn1.c Compile thumb : crypto <= dsa_depr.c
Compile thumb : crypto <= dsa_err.c Compile thumb : crypto <=
dsa_gen.c Compile thumb : crypto <= dsa_key.c Compile thumb : crypto
<= dsa_lib.c Compile thumb : crypto <= dsa_ossl.c Compile thumb :
crypto <= dsa_pmeth.c Compile thumb : crypto <= dsa_prn.c Compile
thumb : crypto <= dsa_sign.c Compile thumb : crypto <= dsa_vrf.c
Compile thumb : crypto <= dso_dl.c Compile thumb : crypto <=
dso_dlfcn.c Compile thumb : crypto <= dso_err.c Compile thumb :
crypto <= dso_lib.c Compile thumb : crypto <= dso_null.c Compile
thumb : crypto <= dso_openssl.c Compile thumb : crypto <= dso_vms.c
Compile thumb : crypto <= dso_win32.c Compile thumb : crypto <=
ec2_mult.c Compile thumb : crypto <= ec2_smpl.c Compile thumb :
crypto <= ec_ameth.c Compile thumb : crypto <= ec_asn1.c Compile
thumb : crypto <= ec_check.c Compile thumb : crypto <= ec_curve.c
Compile thumb : crypto <= ec_cvt.c Compile thumb : crypto <=
ec_err.c Compile thumb : crypto <= ec_key.c Compile thumb : crypto
<= ec_lib.c Compile thumb : crypto <= ec_mult.c Compile thumb :
crypto <= ec_pmeth.c Compile thumb : crypto <= ec_print.c Compile
thumb : crypto <= eck_prn.c Compile thumb : crypto <= ecp_mont.c
Compile thumb : crypto <= ecp_nist.c Compile thumb : crypto <=
ecp_smpl.c Compile thumb : crypto <= ech_err.c Compile thumb :
crypto <= ech_key.c Compile thumb : crypto <= ech_lib.c Compile thumb
: crypto <= ech_ossl.c Compile thumb : crypto <= ecs_asn1.c Compile
thumb : crypto <= ecs_err.c Compile thumb : crypto <= ecs_lib.c
Compile thumb : crypto <= ecs_ossl.c Compile thumb : crypto <=
ecs_sign.c Compile thumb : crypto <= ecs_vrf.c Compile thumb :
crypto <= err.c Compile thumb : crypto <= err_all.c Compile thumb :
crypto <= err_prn.c Compile thumb : crypto <= bio_b64.c Compile thumb
: crypto <= bio_enc.c Compile thumb : crypto <= bio_md.c Compile
thumb : crypto <= bio_ok.c Compile thumb : crypto <= c_all.c Compile
thumb : crypto <= c_allc.c Compile thumb : crypto <= c_alld.c
Compile thumb : crypto <= digest.c Compile thumb : crypto <= e_aes.c
Compile thumb : crypto <= e_bf.c Compile thumb : crypto <= e_des.c
Compile thumb : crypto <= e_des3.c Compile thumb : crypto <=
e_null.c Compile thumb : crypto <= e_old.c Compile thumb : crypto <=
e_rc2.c Compile thumb : crypto <= e_rc4.c Compile thumb : crypto <=
e_rc5.c Compile thumb : crypto <= e_xcbc_d.c Compile thumb : crypto
<= encode.c Compile thumb : crypto <= evp_acnf.c Compile thumb :
crypto <= evp_enc.c Compile thumb : crypto <= evp_err.c Compile thumb
: crypto <= evp_key.c Compile thumb : crypto <= evp_lib.c Compile
thumb : crypto <= evp_pbe.c Compile thumb : crypto <= evp_pkey.c
Compile thumb : crypto <= m_dss.c Compile thumb : crypto <= m_dss1.c
Compile thumb : crypto <= m_ecdsa.c Compile thumb : crypto <=
m_md4.c Compile thumb : crypto <= m_md5.c Compile thumb : crypto <=
m_mdc2.c Compile thumb : crypto <= m_null.c Compile thumb : crypto
<= m_ripemd.c Compile thumb : crypto <= m_sha1.c Compile thumb :
crypto <= m_sigver.c Compile thumb : crypto <= m_wp.c Compile thumb
: crypto <= names.c Compile thumb : crypto <= p5_crpt.c Compile thumb
: crypto <= p5_crpt2.c Compile thumb : crypto <= p_dec.c Compile
thumb : crypto <= p_enc.c Compile thumb : crypto <= p_lib.c Compile
thumb : crypto <= p_open.c Compile thumb : crypto <= p_seal.c
Compile thumb : crypto <= p_sign.c Compile thumb : crypto <=
p_verify.c Compile thumb : crypto <= pmeth_fn.c Compile thumb :
crypto <= pmeth_gn.c Compile thumb : crypto <= pmeth_lib.c Compile
thumb : crypto <= hm_ameth.c Compile thumb : crypto <= hm_pmeth.c
Compile thumb : crypto <= hmac.c Compile thumb : crypto <=
krb5_asn.c Compile thumb : crypto <= lh_stats.c Compile thumb :
crypto <= lhash.c Compile thumb : crypto <= md4_dgst.c Compile thumb
: crypto <= md4_one.c Compile thumb : crypto <= md5_dgst.c Compile
thumb : crypto <= md5_one.c Compile thumb : crypto <= cbc128.c
Compile thumb : crypto <= cfb128.c Compile thumb : crypto <=
ctr128.c Compile thumb : crypto <= ofb128.c Compile thumb : crypto
<= o_names.c Compile thumb : crypto <= obj_dat.c Compile thumb :
crypto <= obj_err.c Compile thumb : crypto <= obj_lib.c Compile thumb
: crypto <= obj_xref.c Compile thumb : crypto <= ocsp_asn.c Compile
thumb : crypto <= ocsp_cl.c Compile thumb : crypto <= ocsp_err.c
Compile thumb : crypto <= ocsp_ext.c Compile thumb : crypto <=
ocsp_ht.c Compile thumb : crypto <= ocsp_lib.c Compile thumb :
crypto <= ocsp_prn.c Compile thumb : crypto <= ocsp_srv.c Compile
thumb : crypto <= ocsp_vfy.c Compile thumb : crypto <= pem_all.c
Compile thumb : crypto <= pem_err.c Compile thumb : crypto <=
pem_info.c Compile thumb : crypto <= pem_lib.c Compile thumb :
crypto <= pem_oth.c Compile thumb : crypto <= pem_pk8.c Compile thumb
: crypto <= pem_pkey.c Compile thumb : crypto <= pem_seal.c Compile
thumb : crypto <= pem_sign.c Compile thumb : crypto <= pem_x509.c
Compile thumb : crypto <= pem_xaux.c Compile thumb : crypto <=
pvkfmt.c Compile thumb : crypto <= p12_add.c Compile thumb : crypto
<= p12_asn.c Compile thumb : crypto <= p12_attr.c Compile thumb :
crypto <= p12_crpt.c Compile thumb : crypto <= p12_crt.c Compile
thumb : crypto <= p12_decr.c Compile thumb : crypto <= p12_init.c
Compile thumb : crypto <= p12_key.c Compile thumb : crypto <=
p12_kiss.c Compile thumb : crypto <= p12_mutl.c Compile thumb :
crypto <= p12_npas.c Compile thumb : crypto <= p12_p8d.c Compile
thumb : crypto <= p12_p8e.c Compile thumb : crypto <= p12_utl.c
Compile thumb : crypto <= pk12err.c Compile thumb : crypto <=
pk7_asn1.c Compile thumb : crypto <= pk7_attr.c Compile thumb :
crypto <= pk7_doit.c Compile thumb : crypto <= pk7_lib.c Compile
thumb : crypto <= pk7_mime.c Compile thumb : crypto <= pk7_smime.c
Compile thumb : crypto <= pkcs7err.c Compile thumb : crypto <=
md_rand.c Compile thumb : crypto <= rand_egd.c Compile thumb :
crypto <= rand_err.c Compile thumb : crypto <= rand_lib.c Compile
thumb : crypto <= rand_unix.c Compile thumb : crypto <= randfile.c
Compile thumb : crypto <= rc2_cbc.c Compile thumb : crypto <=
rc2_ecb.c Compile thumb : crypto <= rc2_skey.c Compile thumb :
crypto <= rc2cfb64.c Compile thumb : crypto <= rc2ofb64.c Compile
thumb : crypto <= rc4_enc.c Compile thumb : crypto <= rc4_skey.c
Compile thumb : crypto <= rmd_dgst.c Compile thumb : crypto <=
rmd_one.c Compile thumb : crypto <= rsa_ameth.c Compile thumb :
crypto <= rsa_asn1.c Compile thumb : crypto <= rsa_chk.c Compile
thumb : crypto <= rsa_eay.c Compile thumb : crypto <= rsa_err.c
Compile thumb : crypto <= rsa_gen.c Compile thumb : crypto <=
rsa_lib.c Compile thumb : crypto <= rsa_none.c Compile thumb :
crypto <= rsa_null.c Compile thumb : crypto <= rsa_oaep.c Compile
thumb : crypto <= rsa_pk1.c Compile thumb : crypto <= rsa_pmeth.c
Compile thumb : crypto <= rsa_prn.c Compile thumb : crypto <=
rsa_pss.c Compile thumb : crypto <= rsa_saos.c Compile thumb :
crypto <= rsa_sign.c Compile thumb : crypto <= rsa_ssl.c Compile
thumb : crypto <= rsa_x931.c Compile thumb : crypto <= sha1_one.c
Compile thumb : crypto <= sha1dgst.c Compile thumb : crypto <=
sha256.c Compile thumb : crypto <= sha512.c Compile thumb : crypto
<= sha_dgst.c Compile thumb : crypto <= stack.c Compile thumb :
crypto <= ts_err.c Compile thumb : crypto <= txt_db.c Compile thumb
: crypto <= ui_compat.c Compile thumb : crypto <= ui_err.c Compile
thumb : crypto <= ui_lib.c Compile thumb : crypto <= ui_openssl.c
Compile thumb : crypto <= ui_util.c Compile thumb : crypto <=
by_dir.c Compile thumb : crypto <= by_file.c Compile thumb : crypto
<= x509_att.c Compile thumb : crypto <= x509_cmp.c Compile thumb :
crypto <= x509_d2.c Compile thumb : crypto <= x509_def.c Compile
thumb : crypto <= x509_err.c Compile thumb : crypto <= x509_ext.c
Compile thumb : crypto <= x509_lu.c Compile thumb : crypto <=
x509_obj.c Compile thumb : crypto <= x509_r2x.c Compile thumb :
crypto <= x509_req.c Compile thumb : crypto <= x509_set.c Compile
thumb : crypto <= x509_trs.c Compile thumb : crypto <= x509_txt.c
Compile thumb : crypto <= x509_v3.c Compile thumb : crypto <=
x509_vfy.c Compile thumb : crypto <= x509_vpm.c Compile thumb :
crypto <= x509cset.c Compile thumb : crypto <= x509name.c Compile
thumb : crypto <= x509rset.c Compile thumb : crypto <= x509spki.c
Compile thumb : crypto <= x509type.c Compile thumb : crypto <=
x_all.c Compile thumb : crypto <= pcy_cache.c Compile thumb : crypto
<= pcy_data.c Compile thumb : crypto <= pcy_lib.c Compile thumb :
crypto <= pcy_map.c Compile thumb : crypto <= pcy_node.c Compile
thumb : crypto <= pcy_tree.c Compile thumb : crypto <= v3_akey.c
Compile thumb : crypto <= v3_akeya.c Compile thumb : crypto <=
v3_alt.c Compile thumb : crypto <= v3_bcons.c Compile thumb : crypto
<= v3_bitst.c Compile thumb : crypto <= v3_conf.c Compile thumb :
crypto <= v3_cpols.c Compile thumb : crypto <= v3_crld.c Compile
thumb : crypto <= v3_enum.c Compile thumb : crypto <= v3_extku.c
Compile thumb : crypto <= v3_genn.c Compile thumb : crypto <=
v3_ia5.c Compile thumb : crypto <= v3_info.c Compile thumb : crypto
<= v3_int.c Compile thumb : crypto <= v3_lib.c Compile thumb :
crypto <= v3_ncons.c Compile thumb : crypto <= v3_ocsp.c Compile
thumb : crypto <= v3_pci.c Compile thumb : crypto <= v3_pcia.c
Compile thumb : crypto <= v3_pcons.c Compile thumb : crypto <=
v3_pku.c Compile thumb : crypto <= v3_pmaps.c Compile thumb : crypto
<= v3_prn.c Compile thumb : crypto <= v3_purp.c Compile thumb :
crypto <= v3_skey.c Compile thumb : crypto <= v3_sxnet.c Compile
thumb : crypto <= v3_utl.c Compile thumb : crypto <= v3err.c Compile
thumb : crypto <= aes-armv4.S Compile thumb : crypto <= armv4-mont.S
Compile thumb : crypto <= sha1-armv4-large.S Compile thumb : crypto
<= sha256-armv4.S Compile thumb : crypto <= sha512-armv4.S
SharedLibrary : libcrypto.so Install : libcrypto.so =>
libs/armeabi/libcrypto.so Compile thumb : openssl <= app_rand.c
Compile thumb : openssl <= apps.c Compile thumb : openssl <=
asn1pars.c Compile thumb : openssl <= ca.c Compile thumb : openssl
<= ciphers.c Compile thumb : openssl <= crl.c Compile thumb :
openssl <= crl2p7.c Compile thumb : openssl <= dgst.c Compile thumb
: openssl <= dh.c Compile thumb : openssl <= dhparam.c Compile thumb
: openssl <= dsa.c Compile thumb : openssl <= dsaparam.c Compile
thumb : openssl <= ecparam.c Compile thumb : openssl <= ec.c Compile
thumb : openssl <= enc.c Compile thumb : openssl <= engine.c Compile
thumb : openssl <= errstr.c Compile thumb : openssl <= gendh.c
Compile thumb : openssl <= gendsa.c Compile thumb : openssl <=
genpkey.c Compile thumb : openssl <= genrsa.c Compile thumb :
openssl <= nseq.c Compile thumb : openssl <= ocsp.c Compile thumb :
openssl <= openssl.c Compile thumb : openssl <= passwd.c Compile
thumb : openssl <= pkcs12.c Compile thumb : openssl <= pkcs7.c
Compile thumb : openssl <= pkcs8.c Compile thumb : openssl <= pkey.c
Compile thumb : openssl <= pkeyparam.c Compile thumb : openssl <=
pkeyutl.c Compile thumb : openssl <= prime.c Compile thumb : openssl
<= rand.c Compile thumb : openssl <= req.c Compile thumb : openssl
<= rsa.c Compile thumb : openssl <= rsautl.c Compile thumb : openssl
<= s_cb.c Compile thumb : openssl <= s_client.c Compile thumb :
openssl <= s_server.c Compile thumb : openssl <= s_socket.c Compile
thumb : openssl <= s_time.c Compile thumb : openssl <= sess_id.c
Compile thumb : openssl <= smime.c Compile thumb : openssl <=
speed.c Compile thumb : openssl <= spkac.c Compile thumb : openssl
<= verify.c Compile thumb : openssl <= version.c Compile thumb :
openssl <= x509.c Compile thumb : ssl <= s2_meth.c Compile thumb :
ssl <= s2_srvr.c Compile thumb : ssl <= s2_clnt.c Compile thumb :
ssl <= s2_lib.c Compile thumb : ssl <= s2_enc.c Compile thumb : ssl
<= s2_pkt.c Compile thumb : ssl <= s3_meth.c Compile thumb : ssl <=
s3_srvr.c Compile thumb : ssl <= s3_clnt.c Compile thumb : ssl <=
s3_lib.c Compile thumb : ssl <= s3_enc.c Compile thumb : ssl <=
s3_pkt.c Compile thumb : ssl <= s3_both.c Compile thumb : ssl <=
s23_meth.c Compile thumb : ssl <= s23_srvr.c Compile thumb : ssl <=
s23_clnt.c Compile thumb : ssl <= s23_lib.c Compile thumb : ssl <=
s23_pkt.c Compile thumb : ssl <= t1_meth.c Compile thumb : ssl <=
t1_srvr.c Compile thumb : ssl <= t1_clnt.c Compile thumb : ssl <=
t1_lib.c Compile thumb : ssl <= t1_enc.c Compile thumb : ssl <=
t1_reneg.c Compile thumb : ssl <= ssl_lib.c Compile thumb : ssl <=
ssl_err2.c Compile thumb : ssl <= ssl_cert.c Compile thumb : ssl <=
ssl_sess.c Compile thumb : ssl <= ssl_ciph.c Compile thumb : ssl <=
ssl_stat.c Compile thumb : ssl <= ssl_rsa.c Compile thumb : ssl <=
ssl_asn1.c Compile thumb : ssl <= ssl_txt.c Compile thumb : ssl <=
ssl_algs.c Compile thumb : ssl <= bio_ssl.c Compile thumb : ssl <=
ssl_err.c Compile thumb : ssl <= kssl.c SharedLibrary : libssl.so
Executable : openssl Install : openssl =>
libs/armeabi/openssl Install : libssl.so =>
libs/armeabi/libssl.so Compile thumb : ssltest <= ssltest.c
Executable : ssltest Install : ssltest =>
libs/armeabi/ssltest Cloning into
’/home/douglas/dev/android-ffmpeg-with-rtmp/src/rtmpdump’... patching
file Makefile
/home/douglas/dev/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
-Wall -marm -I/home/douglas/dev/android-ffmpeg-with-rtmp/src/openssl-android/include
-isysroot /home/douglas/dev/android-ndk-r9/platforms/android-19/arch-arm
-I/home/douglas/dev/android-ndk-r9/platforms/android-19/arch-arm -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL -fPIC -c -o rtmp.o rtmp.c In file included from rtmp.c:26:0 :
/home/douglas/dev/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.8/include/stdint.h:9:26 :
fatal error : stdint.h : No such file or directory # include_next^ compilation terminated. : recipe for target ’rtmp.o’ failed make : *** [rtmp.o] Error 1
Does anyone knows how to solve this ?
-
Compile OpenCV3 with Cuda7.5 ffmpeg (latest) issue OpenSUSE 13.2
23 janvier 2016, par IngeborgI am using an OpenSUSE 13.2-X86-64 and a Geforce 940M GPU. I want to work with it on the Qt5 IDE.
For this purpose, i have installed my GPU Driver with the Cuda7.5 toolkit rpm from the cudazone. Everything is nearly fine.
It detects everything I have made and executed a couple of the cuda samples.As next step, i have installed the current FFmpeg version with nvenc and other libraries like Xvid and many of
the other usefull stuff which would be to much to list it here. After that i have downloaded the current
OpenCV-3.0.0 source code and ran cmake-gui where i have added cuda, ffmpeg, Qt5 etc and maked it.On different points of the make session (make -j4) i get this kind of mistake from my console (The list of the Multiple definition
error is much longer). This is the first one..
.
.
.
.
.
nvlink error : Multiple definition of '_ZN2cv5cudev16color_cvt_detail15c_HlsSectorDataE' in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_arithm_func.cu.o', first defined in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_lut.cu.o'
nvlink error : Multiple definition of '_ZN2cv5cudev16color_cvt_detail16c_sRGBGammaTab_bE' in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_arithm_func.cu.o', first defined in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_lut.cu.o'
nvlink error : Multiple definition of '_ZN2cv5cudev16color_cvt_detail14c_sRGBGammaTabE' in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_arithm_func.cu.o', first defined in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_lut.cu.o'
nvlink error : Multiple definition of '_ZN2cv5cudev16color_cvt_detail17c_sRGBInvGammaTabE' in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_arithm_func.cu.o', first defined in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_lut.cu.o'
nvlink error : Multiple definition of '_ZN2cv5cudev16color_cvt_detail12c_LabCbrtTabE' in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_arithm_func.cu.o', first defined in '/home/peter/Programme/opencv/build/modules/cudev/test/CMakeFiles/opencv_test_cudev.dir//./opencv_test_cudev_generated_test_lut.cu.o'
modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/build.make:5302: recipe for target 'modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/./opencv_test_cudev_intermediate_link.o' failed
make[2]: *** [modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/./opencv_test_cudev_intermediate_link.o] Error 255
CMakeFiles/Makefile2:1182: recipe for target 'modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/all' failed
make[1]: *** [modules/cudev/test/CMakeFiles/opencv_test_cudev.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2And I have no idea how to fix that.
Thx !
Edit : added cmake configuration
~/Programme/opencv/build> cmake /home/peter/Programme/opencv-3.0.0
CMake Error: The source "/home/peter/Programme/opencv-3.0.0/CMakeLists.txt" does not match the source "/home/peter/Programme/opencv/CMakeLists.txt" used to generate cache. Re-run cmake with a different source directory.
peter@linux-3mgc:~/Programme/opencv/build> cmake /home/peter/Programme/opencv
-- Detected version of GNU GCC: 48 (408)
-- Found ZLIB: /usr/lib64/libz.so (found suitable version "1.2.8", minimum required is "1.2.3")
-- Found ZLIB: /usr/lib64/libz.so (found version "1.2.8")
-- checking for module 'gstreamer-video-0.10'
-- package 'gstreamer-video-0.10' not found
-- checking for module 'gstreamer-app-0.10'
-- package 'gstreamer-app-0.10' not found
-- checking for module 'gstreamer-riff-0.10'
-- package 'gstreamer-riff-0.10' not found
-- checking for module 'gstreamer-pbutils-0.10'
-- package 'gstreamer-pbutils-0.10' not found
-- Looking for linux/videodev.h
-- Looking for linux/videodev.h - not found
-- Looking for linux/videodev2.h
-- Looking for linux/videodev2.h - found
-- Looking for sys/videoio.h
-- Looking for sys/videoio.h - not found
-- checking for module 'libavresample'
-- package 'libavresample' not found
-- Looking for libavformat/avformat.h
-- Looking for libavformat/avformat.h - found
-- Looking for ffmpeg/avformat.h
-- Looking for ffmpeg/avformat.h - not found
-- found IPP (ICV version): 8.2.1 [8.2.1]
-- at: /home/peter/Programme/opencv/3rdparty/ippicv/unpack/ippicv_lnx
-- CUDA detected: 7.5
-- CUDA NVCC target flags: -gencode;arch=compute_50,code=sm_50
-- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake
-- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.8", minimum required is "2.7")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found suitable exact version "2.7.8")
-- Found PythonInterp: /usr/bin/python3.4 (found suitable version "3.4.1", minimum required is "3.4")
-- Found PythonLibs: /usr/lib64/libpython3.4m.so (found suitable exact version "3.4.1")
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'numpy'
-- Found apache ant 1.8.0: /usr/bin/ant
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
-- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN)
-- VTK support is disabled. Incompatible combination: OpenCV + Qt5 and VTK ver.6.1.0 + Qt4
--
-- General configuration for OpenCV 3.0.0-dev =====================================
-- Version control: 3.0.0-528-g3a3f403-dirty
--
-- Platform:
-- Host: Linux 3.16.7-24-desktop x86_64
-- CMake: 3.0.2
-- CMake generator: Unix Makefiles
-- CMake build tool: /usr/bin/gmake
-- Configuration: Release
--
-- C/C++:
-- Built as dynamic libs?: YES
-- C++ Compiler: /usr/bin/c++ (ver 4.8.3)
-- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
-- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
-- C Compiler: /usr/bin/cc
-- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
-- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
-- Linker flags (Release):
-- Linker flags (Debug):
-- Precompiled headers: YES
-- Extra dependencies: /usr/lib64/libcuda.so /usr/lib64/libnvcuvid.so Qt5::Core Qt5::Gui Qt5::Widgets Qt5::Test Qt5::Concurrent Qt5::OpenGL /usr/lib64/libwebp.so /usr/lib64/libpng.so /usr/lib64/libz.so /usr/lib64/libtiff.so /usr/lib64/libjasper.so /usr/lib64/libjpeg.so gstbase-0.10 gstreamer-0.10 gobject-2.0 gmodule-2.0 gthread-2.0 xml2 ucil glib-2.0 unicap dc1394 xine v4l1 v4l2 avcodec avformat avutil swscale gphoto2 gphoto2_port exif /usr/lib64/libbz2.so dl m pthread rt /usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so cudart nppc nppi npps cublas cufft
-- 3rdparty dependencies: IlmImf ippicv
--
-- OpenCV modules:
-- To be built: cudev hal core cudaarithm flann imgproc ml video cudabgsegm cudafilters cudaimgproc cudawarping imgcodecs photo shape videoio cudacodec highgui objdetect ts features2d calib3d cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo stitching superres videostab python2
-- Disabled: world
-- Disabled by dependency: -
-- Unavailable: java python3 viz
--
-- GUI:
-- QT 5.x: YES (ver 5.4.2)
-- QT OpenGL support: YES (Qt5::OpenGL 5.4.2)
-- OpenGL support: YES (/usr/lib64/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libX11.so /usr/lib64/libXext.so)
-- VTK support: NO
--
-- Media I/O:
-- ZLib: /usr/lib64/libz.so (ver 1.2.8)
-- JPEG: /usr/lib64/libjpeg.so (ver )
-- WEBP: /usr/lib64/libwebp.so (ver encoder: 0x0202)
-- PNG: /usr/lib64/libpng.so (ver 1.2.51)
-- TIFF: /usr/lib64/libtiff.so (ver 42 - 4.0.4)
-- JPEG 2000: /usr/lib64/libjasper.so (ver 1.900.1)
-- OpenEXR: build (ver 1.7.1)
-- GDAL: NO
--
-- Video I/O:
-- DC1394 1.x: NO
-- DC1394 2.x: YES (ver 2.2.2)
-- FFMPEG: YES
-- codec: YES (ver 57.3.100)
-- format: YES (ver 57.2.100)
-- util: YES (ver 55.2.100)
-- swscale: YES (ver 4.0.100)
-- resample: NO
-- gentoo-style: YES
-- GStreamer: NO
-- OpenNI: NO
-- OpenNI PrimeSensor Modules: NO
-- OpenNI2: NO
-- PvAPI: NO
-- GigEVisionSDK: NO
-- UniCap: YES (ver 0.9.12)
-- UniCap ucil: YES (ver 0.9.10)
-- V4L/V4L2: Using libv4l1 (ver 1.2.1) / libv4l2 (ver 1.2.1)
-- XIMEA: NO
-- Xine: YES (ver 1.2.6)
-- gPhoto2: YES
--
-- Parallel framework: OpenMP
--
-- Other third-party libraries:
-- Use IPP: 8.2.1 [8.2.1]
-- at: /home/peter/Programme/opencv/3rdparty/ippicv/unpack/ippicv_lnx
-- Use IPP Async: NO
-- Use VA: NO
-- Use Intel VA-API/OpenCL: NO
-- Use Eigen: YES (ver 3.2.2)
-- Use Cuda: YES (ver 7.5)
-- Use OpenCL: YES
--
-- NVIDIA CUDA
-- Use CUFFT: YES
-- Use CUBLAS: YES
-- USE NVCUVID: YES
-- NVIDIA GPU arch: 50
-- NVIDIA PTX archs:
-- Use fast math: YES
--
-- OpenCL:
-- Version: dynamic
-- Include path: /home/peter/Programme/opencv/3rdparty/include/opencl/1.2
-- Use AMDFFT: NO
-- Use AMDBLAS: NO
--
-- Python 2:
-- Interpreter: /usr/bin/python2.7 (ver 2.7.8)
-- Libraries: /usr/lib64/libpython2.7.so (ver 2.7.8)
-- numpy: /usr/lib64/python2.7/site-packages/numpy/core/include (ver 1.9.0)
-- packages path: lib/python2.7/site-packages
--
-- Python 3:
-- Interpreter: /usr/bin/python3.4 (ver 3.4.1)
--
-- Python (for build): /usr/bin/python2.7
--
-- Java:
-- ant: /usr/bin/ant (ver 1.8.0)
-- JNI: NO
-- Java wrappers: NO
-- Java tests: NO
--
-- Matlab:
-- mex: NO
--
-- Documentation:
-- Doxygen: /usr/bin/doxygen (ver 1.8.8)
-- PlantUML: NO
--
-- Tests and samples:
-- Tests: YES
-- Performance tests: YES
-- C/C++ Examples: NO
--
-- Install path: /usr/local
--
-- cvconfig.h is in: /home/peter/Programme/opencv/build
--
-----------------------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/Programme/opencv/build
</module></string></filepath> -
Why JPEG image looks different in two videos ?
28 septembre 2015, par user606521I have two frames :
And I am creating two videos :
./ffmpeg -i ./f%d.jpg -r 30 -y m1.mp4 # both frames 1 and 2
./ffmpeg -i ./f2.jpg -r 30 -y m2.mp4 # only frame 2For some reason frame 2 looks different in these two videos
Frame 2 from m1.mp4 :
$ ./ffmpeg -i m1.mp4 out1_%d.jpg
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'm1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.36.100
Duration: 00:00:00.07, start: 0.000000, bitrate: 478 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 980x100, 381 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
[swscaler @ 0x7f7f9a000600] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'out1_%d.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.36.100
Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 980x100, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.41.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame= 2 fps=0.0 q=1.6 Lsize=N/A time=00:00:00.06 bitrate=N/A
video:6kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownFrame 2 from m2.mp4 :
$ ./ffmpeg -i m2.mp4 out2_%d.jpg
ffmpeg version 2.7.2 Copyright (c) 2000-2015 the FFmpeg developers
built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'm2.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.36.100
Duration: 00:00:00.03, start: 0.000000, bitrate: 824 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc), 980x100 [SAR 1:1 DAR 49:5], 648 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
Metadata:
handler_name : VideoHandler
Output #0, image2, to 'out2_%d.jpg':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.36.100
Stream #0:0(und): Video: mjpeg, yuvj420p(pc), 980x100 [SAR 1:1 DAR 49:5], q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc56.41.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame= 1 fps=0.0 q=1.6 Lsize=N/A time=00:00:00.03 bitrate=N/A
video:4kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknownIt seems that frame 2 looks different when combined with frame 1 in a video. One thing I noticed that when dumping frames from m1.mp4 (two frames combined) there is a warning in ffmpeg output :
[swscaler @ 0x7f7f9a000600] deprecated pixel format used, make sure you did set range correctly
Also two frame images have same dimmensions (980x100) and their format seems to be same :
$ file -b f1.jpg
JPEG image data, JFIF standard 1.01, comment: "CS=ITU601??"
$ file -b f2.jpg
JPEG image data, JFIF standard 1.01So why this is happening ? I am struggling with this issue for quite a long time - for some reason some JPEGs somehow are in different "format ?" than others and make mess in videos...
You can download first two images included in this question and test commands on your own.
$ identify -verbose f1.jpg
Image: f1.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 980x100+0+0
Resolution: 552x551
Print size: 1.77536x0.181488
Units: PixelsPerInch
Type: Palette
Endianess: Undefined
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 189 (0.741176)
max: 233 (0.913725)
mean: 208.261 (0.81671)
standard deviation: 14.1741 (0.0555848)
kurtosis: -1.40078
skewness: 0.332664
Green:
min: 189 (0.741176)
max: 233 (0.913725)
mean: 208.261 (0.81671)
standard deviation: 14.1741 (0.0555848)
kurtosis: -1.40078
skewness: 0.332664
Blue:
min: 189 (0.741176)
max: 233 (0.913725)
mean: 208.26 (0.816706)
standard deviation: 14.1756 (0.0555905)
kurtosis: -1.40068
skewness: 0.332424
Image statistics:
Overall:
min: 189 (0.741176)
max: 233 (0.913725)
mean: 208.261 (0.816709)
standard deviation: 14.1746 (0.0555867)
kurtosis: -1.40075
skewness: 0.332584
Colors: 47
Histogram:
368: (189,189,189) #BDBDBD grey74
1984: (190,190,190) #BEBEBE grey
28: (191,191,189) #BFBFBD srgb(191,191,189)
3780: (191,191,191) #BFBFBF grey75
28: (192,192,190) #C0C0BE srgb(192,192,190)
6628: (192,192,192) #C0C0C0 silver
5664: (193,193,193) #C1C1C1 srgb(193,193,193)
4608: (194,194,194) #C2C2C2 grey76
4480: (195,195,195) #C3C3C3 srgb(195,195,195)
3328: (196,196,196) #C4C4C4 grey77
2592: (197,197,197) #C5C5C5 srgb(197,197,197)
3072: (198,198,198) #C6C6C6 srgb(198,198,198)
2272: (199,199,199) #C7C7C7 grey78
2112: (200,200,200) #C8C8C8 srgb(200,200,200)
2112: (201,201,201) #C9C9C9 grey79
1920: (202,202,202) #CACACA srgb(202,202,202)
1728: (203,203,203) #CBCBCB srgb(203,203,203)
1760: (204,204,204) #CCCCCC grey80
1696: (205,205,205) #CDCDCD srgb(205,205,205)
1248: (206,206,206) #CECECE srgb(206,206,206)
1536: (207,207,207) #CFCFCF grey81
1504: (208,208,208) #D0D0D0 srgb(208,208,208)
1344: (209,209,209) #D1D1D1 grey82
1536: (210,210,210) #D2D2D2 srgb(210,210,210)
1472: (211,211,211) #D3D3D3 LightGray
1088: (212,212,212) #D4D4D4 grey83
1472: (213,213,213) #D5D5D5 srgb(213,213,213)
1536: (214,214,214) #D6D6D6 grey84
1344: (215,215,215) #D7D7D7 srgb(215,215,215)
1184: (216,216,216) #D8D8D8 srgb(216,216,216)
1408: (217,217,217) #D9D9D9 grey85
1472: (218,218,218) #DADADA srgb(218,218,218)
1216: (219,219,219) #DBDBDB grey86
1280: (220,220,220) #DCDCDC gainsboro
1536: (221,221,221) #DDDDDD srgb(221,221,221)
1472: (222,222,222) #DEDEDE grey87
1600: (223,223,223) #DFDFDF srgb(223,223,223)
1696: (224,224,224) #E0E0E0 grey88
1792: (225,225,225) #E1E1E1 srgb(225,225,225)
1728: (226,226,226) #E2E2E2 srgb(226,226,226)
1952: (227,227,227) #E3E3E3 grey89
2272: (228,228,228) #E4E4E4 srgb(228,228,228)
2752: (229,229,229) #E5E5E5 grey90
4512: (230,230,230) #E6E6E6 srgb(230,230,230)
4672: (231,231,231) #E7E7E7 srgb(231,231,231)
640: (232,232,232) #E8E8E8 grey91
576: (233,233,233) #E9E9E9 srgb(233,233,233)
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 980x100+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Orientation: Undefined
Properties:
comment: CS=ITU601
date:create: 2015-09-28T21:47:26+02:00
date:modify: 2015-09-28T21:47:26+02:00
jpeg:colorspace: 2
jpeg:quality: 92
jpeg:sampling-factor: 2x2,1x1,1x1
signature: ca599d8ad07c79b36837cb9f4811d83e236b8d4a4cdfada8d60c4aa330f28f38
Artifacts:
filename: f1.jpg
verbose: true
Tainted: False
Filesize: 1.36KB
Number pixels: 98K
Pixels per second: 9.8MB
User time: 0.000u
Elapsed time: 0:01.009
Version: ImageMagick 6.8.7-0 2013-10-28 Q16 http://www.imagemagick.org$ identify -verbose f2.jpg
Image: f2.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Mime type: image/jpeg
Class: DirectClass
Geometry: 980x100+0+0
Resolution: 72x72
Print size: 13.6111x1.38889
Units: PixelsPerInch
Type: Palette
Endianess: Undefined
Colorspace: sRGB
Depth: 8-bit
Channel depth:
red: 8-bit
green: 8-bit
blue: 8-bit
Channel statistics:
Red:
min: 186 (0.729412)
max: 254 (0.996078)
mean: 242.844 (0.952329)
standard deviation: 11.0845 (0.0434688)
kurtosis: 4.24417
skewness: -2.17102
Green:
min: 186 (0.729412)
max: 254 (0.996078)
mean: 242.844 (0.952329)
standard deviation: 11.0845 (0.0434688)
kurtosis: 4.24417
skewness: -2.17102
Blue:
min: 186 (0.729412)
max: 254 (0.996078)
mean: 242.842 (0.952323)
standard deviation: 11.0886 (0.0434848)
kurtosis: 4.24235
skewness: -2.17103
Image statistics:
Overall:
min: 186 (0.729412)
max: 254 (0.996078)
mean: 242.843 (0.952327)
standard deviation: 11.0859 (0.0434741)
kurtosis: 4.24356
skewness: -2.17102
Colors: 91
Histogram:
2: (186,186,186) #BABABA grey73
2: (187,187,187) #BBBBBB srgb(187,187,187)
1: (189,189,189) #BDBDBD grey74
5: (190,190,190) #BEBEBE grey
2: (191,191,191) #BFBFBF grey75
20: (192,192,192) #C0C0C0 silver
28: (193,193,193) #C1C1C1 srgb(193,193,193)
37: (194,194,194) #C2C2C2 grey76
46: (195,195,195) #C3C3C3 srgb(195,195,195)
59: (196,196,196) #C4C4C4 grey77
108: (197,197,197) #C5C5C5 srgb(197,197,197)
134: (198,198,198) #C6C6C6 srgb(198,198,198)
145: (199,199,199) #C7C7C7 grey78
188: (200,200,200) #C8C8C8 srgb(200,200,200)
230: (201,201,201) #C9C9C9 grey79
241: (202,202,202) #CACACA srgb(202,202,202)
236: (203,203,203) #CBCBCB srgb(203,203,203)
252: (204,204,204) #CCCCCC grey80
240: (205,205,205) #CDCDCD srgb(205,205,205)
243: (206,206,206) #CECECE srgb(206,206,206)
1: (207,207,205) #CFCFCD srgb(207,207,205)
250: (207,207,207) #CFCFCF grey81
1: (208,208,206) #D0D0CE srgb(208,208,206)
267: (208,208,208) #D0D0D0 srgb(208,208,208)
2: (209,209,207) #D1D1CF srgb(209,209,207)
226: (209,209,209) #D1D1D1 grey82
3: (210,210,208) #D2D2D0 srgb(210,210,208)
193: (210,210,210) #D2D2D2 srgb(210,210,210)
5: (211,211,209) #D3D3D1 srgb(211,211,209)
215: (211,211,211) #D3D3D3 LightGray
7: (212,212,210) #D4D4D2 srgb(212,212,210)
227: (212,212,212) #D4D4D4 grey83
11: (213,213,211) #D5D5D3 srgb(213,213,211)
250: (213,213,213) #D5D5D5 srgb(213,213,213)
4: (214,214,212) #D6D6D4 srgb(214,214,212)
291: (214,214,214) #D6D6D6 grey84
16: (215,215,213) #D7D7D5 srgb(215,215,213)
307: (215,215,215) #D7D7D7 srgb(215,215,215)
1: (216,216,214) #D8D8D6 srgb(216,216,214)
371: (216,216,216) #D8D8D8 srgb(216,216,216)
4: (217,217,215) #D9D9D7 srgb(217,217,215)
355: (217,217,217) #D9D9D9 grey85
3: (218,218,216) #DADAD8 srgb(218,218,216)
398: (218,218,218) #DADADA srgb(218,218,218)
3: (219,219,217) #DBDBD9 srgb(219,219,217)
404: (219,219,219) #DBDBDB grey86
5: (220,220,218) #DCDCDA srgb(220,220,218)
435: (220,220,220) #DCDCDC gainsboro
1: (221,221,219) #DDDDDB srgb(221,221,219)
489: (221,221,221) #DDDDDD srgb(221,221,221)
2: (222,222,220) #DEDEDC srgb(222,222,220)
569: (222,222,222) #DEDEDE grey87
1: (223,223,221) #DFDFDD srgb(223,223,221)
552: (223,223,223) #DFDFDF srgb(223,223,223)
2: (224,224,222) #E0E0DE srgb(224,224,222)
595: (224,224,224) #E0E0E0 grey88
2: (225,225,223) #E1E1DF srgb(225,225,223)
645: (225,225,225) #E1E1E1 srgb(225,225,225)
736: (226,226,226) #E2E2E2 srgb(226,226,226)
3: (227,227,225) #E3E3E1 srgb(227,227,225)
646: (227,227,227) #E3E3E3 grey89
1: (228,228,226) #E4E4E2 srgb(228,228,226)
707: (228,228,228) #E4E4E4 srgb(228,228,228)
1: (229,229,227) #E5E5E3 srgb(229,229,227)
667: (229,229,229) #E5E5E5 grey90
1: (230,230,228) #E6E6E4 srgb(230,230,228)
759: (230,230,230) #E6E6E6 srgb(230,230,230)
767: (231,231,231) #E7E7E7 srgb(231,231,231)
788: (232,232,232) #E8E8E8 grey91
862: (233,233,233) #E9E9E9 srgb(233,233,233)
880: (234,234,234) #EAEAEA srgb(234,234,234)
889: (235,235,235) #EBEBEB grey92
863: (236,236,236) #ECECEC srgb(236,236,236)
868: (237,237,237) #EDEDED grey93
1032: (238,238,238) #EEEEEE srgb(238,238,238)
878: (239,239,239) #EFEFEF srgb(239,239,239)
1083: (240,240,240) #F0F0F0 grey94
1035: (241,241,241) #F1F1F1 srgb(241,241,241)
1247: (242,242,242) #F2F2F2 grey95
1610: (243,243,243) #F3F3F3 srgb(243,243,243)
2084: (244,244,244) #F4F4F4 srgb(244,244,244)
3473: (245,245,245) #F5F5F5 grey96
6350: (246,246,246) #F6F6F6 srgb(246,246,246)
9152: (247,247,247) #F7F7F7 grey97
14755: (248,248,248) #F8F8F8 srgb(248,248,248)
21183: (249,249,249) #F9F9F9 srgb(249,249,249)
12507: (250,250,250) #FAFAFA grey98
2516: (251,251,251) #FBFBFB srgb(251,251,251)
305: (252,252,252) #FCFCFC grey99
16: (253,253,253) #FDFDFD srgb(253,253,253)
4: (254,254,254) #FEFEFE srgb(254,254,254)
Rendering intent: Perceptual
Gamma: 0.454545
Chromaticity:
red primary: (0.64,0.33)
green primary: (0.3,0.6)
blue primary: (0.15,0.06)
white point: (0.3127,0.329)
Background color: white
Border color: srgb(223,223,223)
Matte color: grey74
Transparent color: black
Interlace: None
Intensity: Undefined
Compose: Over
Page geometry: 980x100+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Orientation: Undefined
Properties:
date:create: 2015-09-28T21:48:30+02:00
date:modify: 2015-09-28T21:48:30+02:00
jpeg:colorspace: 2
jpeg:quality: 92
jpeg:sampling-factor: 2x2,1x1,1x1
signature: f718ab157fae4ff0395eaf07a0165897fd9de558eaed00586530690d39e5ed23
Artifacts:
filename: f2.jpg
verbose: true
Tainted: False
Filesize: 4.32KB
Number pixels: 98K
Pixels per second: 0B
User time: 0.000u
Elapsed time: 0:01.000
Version: ImageMagick 6.8.7-0 2013-10-28 Q16 http://www.imagemagick.org