Denna delen av 99 uppdateras inte längre utan har arkiverats inför framtiden som ett museum.
Här kan du läsa mer om varför.
Mac-nyheter hittar du på Macradion.com och forumet hittar du via Applebubblan.
m00nie

m00nie

Medlem
  • Plats Askersund
  • Registrerad 2007-01-09
  • Senast aktiv 2012-02-20
  • Antal inlägg 25

Foruminlägg

De senaste inläggen m00nie har skrivit i forumet.

  • Medlem
  • Askersund
  • 2012-01-22 15:26

Jag har läst där, ja. Får väl pröva att göra en ominstallation och se om det hjälper.

  • Medlem
  • Askersund
  • 2012-01-22 14:33

Om någon kan hjälpa mig är jag evigt tacksam!

  • Medlem
  • Askersund
  • 2012-01-20 17:30

Det går framåt nu i alla fall. Mitt förra problem löstes (tror jag), men när jag skall försöka använda rtmpdump märker den att jag har två versioner installerade (2.3 och 2.4). Den väljer slutligen att använda den gamla (2.3) och samma fel återkommer därför.

När jag försöker avinstallera rtmpdump 2.3 och Macports (vilket jag använt för att installera 2.3:an) blir det fel igen. Nedanstående kod uppkommer när jag skrivit in sudo port -fp uninstall --follow-dependents installed vilket skall vara det man skriver in enligt Macports guide.

ChristiansMacBook:~ mane89$ sudo port -fp uninstall --follow-dependents installed
Port extract failed: tar: Error opening archive: Failed to open '/Users/mane89/Users/mane89/DarwinPorts/local-sources'
    while executing
"macports::fetch_port $path 1"
    (procedure "macports::getportdir" line 12)
    invoked from within
"macports::getportdir $source"
    (procedure "macports::getindex" line 4)
    invoked from within
"macports::getindex $source"
    (procedure "_mports_load_quickindex" line 11)
    invoked from within
"_mports_load_quickindex"
    (procedure "mportinit" line 536)
    invoked from within
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, Port extract failed: tar: Error opening archive: Failed to open '/Users/mane89/Users/mane89/DarwinPorts/local-sources'

Det blir då rörigare och rörigare, trots att det är mac.

  • Medlem
  • Askersund
  • 2012-01-20 13:20

Vilket av kommandona skulle du rekommendera?

  • Medlem
  • Askersund
  • 2012-01-20 13:11

Hittade nu /usr/local. Jag vet dock inte vad jag skall göra för att kontrollera ev. rättighetsproblem där. Skulle du kunna förklara det i enkla termer?

ChristiansMacBook:~ mane89$ cd /usr/local
ChristiansMacBook:local mane89$ ls -l
total 0
drwx------  6 macports  wheel  204 16 Jan 13:32 bin
drwxr-xr-x  3 root      wheel  102 12 Jan 19:50 include
drwx------  6 macports  wheel  204 17 Jan 22:32 lib
drwxr-xr-x  5 root      wheel  170 12 Jan 19:50 man
drwxr-xr-x  5 root      wheel  170 12 Jan 19:50 sbin
ChristiansMacBook:local mane89$ ls
bin	include	lib	man	sbin
ChristiansMacBook:local mane89$ 
ChristiansMacBook:local mane89$ ls -l lib
ls: lib: Permission denied
ChristiansMacBook:local mane89$ 

Tack för att du tar dig tid!

  • Medlem
  • Askersund
  • 2012-01-20 00:07

Hittar ingen sådan mapp. Väl en /opt/local/lib, men jag ser inga konstigheter där. Hur kontrollerar jag ev. rättigheter?

Tack!

  • Medlem
  • Askersund
  • 2012-01-18 23:44

Det är ingen som har en idé om vad som inte stämmer? Jag är mycket tacksam för all hjälp.

  • Medlem
  • Askersund
  • 2012-01-17 22:36

Jag prövade med det också, men glömde visst lägga till de koderna. Händelseförloppet följer i sin helhet nedan.

ChristiansMacBook:~ mane89$ git clone git://git.ffmpeg.org/rtmpdump 
Cloning into rtmpdump...
remote: Counting objects: 2326, done.
remote: Compressing objects: 100% (687/687), done.
remote: Total 2326 (delta 1755), reused 2154 (delta 1638)
Receiving objects: 100% (2326/2326), 731.34 KiB | 552 KiB/s, done.
Resolving deltas: 100% (1755/1755), done.
ChristiansMacBook:~ mane89$ cd rtmpdump
ChristiansMacBook:rtmpdump mane89$ make SYS=darwin
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
In file included from handshake.h:83,
                 from rtmp.c:127:
dh.h: In function ‘isValidPublicKey’:
dh.h:160: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:164: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:165: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:173: warning: ‘BN_copy’ is deprecated (declared at /usr/include/openssl/bn.h:420)
dh.h:174: warning: ‘BN_sub_word’ is deprecated (declared at /usr/include/openssl/bn.h:463)
dh.h:175: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:191: warning: ‘BN_CTX_new’ is deprecated (declared at /usr/include/openssl/bn.h:403)
dh.h:191: warning: ‘BN_mod_exp’ is deprecated (declared at /usr/include/openssl/bn.h:475)
dh.h:191: warning: ‘BN_CTX_free’ is deprecated (declared at /usr/include/openssl/bn.h:407)
dh.h:193: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:193: warning: ‘BN_value_one’ is deprecated (declared at /usr/include/openssl/bn.h:401)
dh.h:200: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHInit’:
dh.h:208: warning: ‘DH_new’ is deprecated (declared at /usr/include/openssl/dh.h:184)
dh.h:213: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:218: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:224: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:231: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
dh.h: In function ‘DHGenerateKey’:
dh.h:247: warning: ‘DH_generate_key’ is deprecated (declared at /usr/include/openssl/dh.h:204)
dh.h:250: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:256: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:257: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:261: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHGetPublicKey’:
dh.h:277: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)
dh.h:282: warning: ‘BN_bn2bin’ is deprecated (declared at /usr/include/openssl/bn.h:423)
dh.h: In function ‘DHComputeSharedSecretKey’:
dh.h:317: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)
dh.h:321: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:325: warning: ‘DH_compute_key’ is deprecated (declared at /usr/include/openssl/dh.h:205)
dh.h:329: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:330: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
In file included from rtmp.c:127:
handshake.h: In function ‘InitRC4Encryption’:
handshake.h:122: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:122: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:122: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:123: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:124: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:124: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:129: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h:131: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:131: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:131: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:132: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:133: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:133: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:138: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h: In function ‘HMACsha256’:
handshake.h:268: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:268: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:268: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:269: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:270: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:270: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h: In function ‘HandShake’:
handshake.h:1046: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1051: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h: In function ‘SHandShake’:
handshake.h:1396: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1401: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_TLS_Init’:
rtmp.c:220: warning: ‘SSL_load_error_strings’ is deprecated (declared at /usr/include/openssl/ssl.h:1416)
rtmp.c:221: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553)
rtmp.c:222: warning: ‘OpenSSL_add_all_digests’ is deprecated (declared at /usr/include/openssl/evp.h:840)
rtmp.c:223: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
rtmp.c:223: warning: ‘SSLv23_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1515)
rtmp.c:224: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
rtmp.c:225: warning: ‘SSL_CTX_set_default_verify_paths’ is deprecated (declared at /usr/include/openssl/ssl.h:1570)
rtmp.c: In function ‘RTMP_Connect1’:
rtmp.c:867: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
rtmp.c:868: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
rtmp.c:869: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
rtmp.c: In function ‘ReadN’:
rtmp.c:1363: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘WriteN’:
rtmp.c:1389: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_Close’:
rtmp.c:3535: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
rtmp.c: In function ‘RTMPSockBuf_Fill’:
rtmp.c:3565: warning: ‘SSL_read’ is deprecated (declared at /usr/include/openssl/ssl.h:1493)
rtmp.c: In function ‘RTMPSockBuf_Send’:
rtmp.c:3608: warning: ‘SSL_write’ is deprecated (declared at /usr/include/openssl/ssl.h:1495)
rtmp.c: In function ‘RTMPSockBuf_Close’:
rtmp.c:3624: warning: ‘SSL_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1532)
rtmp.c:3625: warning: ‘SSL_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1490)
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o log.o log.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o amf.o amf.c
In file included from amf.c:33:
bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o hashswf.o hashswf.c
hashswf.c: In function ‘HTTP_get’:
hashswf.c:164: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
hashswf.c:165: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
hashswf.c:166: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
hashswf.c: In function ‘swfcrunch’:
hashswf.c:314: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:332: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:339: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c: In function ‘RTMP_HashSWF’:
hashswf.c:585: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
hashswf.c:585: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
hashswf.c:585: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
hashswf.c:640: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
hashswf.c:651: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating archive librtmp.a
gcc -dynamiclib -twolevel_namespace -undefined dynamic_lookup -fno-common -headerpad_max_install_names -install_name /usr/local/lib/librtmp.0.dylib  -o librtmp.0.dylib rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
ln -sf librtmp.0.dylib librtmp.dylib
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
gcc -Wall  -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpgw.o rtmpgw.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o thread.o thread.c
gcc -Wall  -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsrv.o rtmpsrv.c
gcc -Wall  -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall  -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
ChristiansMacBook:rtmpdump mane89$ sudo make SYS=darwin install
Password:
make[1]: Nothing to be done for `all'.
mkdir -p /usr/local/bin /usr/local/sbin /usr/local/man/man1 /usr/local/man/man8
cp rtmpdump /usr/local/bin
cp rtmpgw rtmpsrv rtmpsuck /usr/local/sbin
cp rtmpdump.1 /usr/local/man/man1
cp rtmpgw.8 /usr/local/man/man8
sed -e "s;@prefix@;/usr/local;" -e "s;@libdir@;/usr/local/lib;" \
		-e "s;@VERSION@;v2.4;" \
		-e "s;@CRYPTO_REQ@;libssl,libcrypto;" \
		-e "s;@PRIVATE_LIBS@;;" librtmp.pc.in > librtmp.pc
mkdir -p /usr/local/include/librtmp /usr/local/lib/pkgconfig /usr/local/man/man3 /usr/local/lib
cp amf.h http.h log.h rtmp.h /usr/local/include/librtmp
cp librtmp.a /usr/local/lib
cp librtmp.pc /usr/local/lib/pkgconfig
cp librtmp.3 /usr/local/man/man3
cp librtmp.0.dylib /usr/local/lib
cd /usr/local/lib; ln -sf librtmp.0.dylib librtmp.dylib
ChristiansMacBook:rtmpdump mane89$ ./rtmpdump -W http://www.tv4play.se/flash/tv4playflashlets.... -r rtmpe://cp70051.edgefcs.net/tv4ondemand -y "mp4:/mp4root/2012-01-10/pid3536521(2135537_T3MP425).mp4" -o Sverigesmasterkock2.flv
dyld: Library not loaded: /usr/local/lib/librtmp.0.dylib
  Referenced from: /users/mane89/rtmpdump/./rtmpdump
  Reason: no suitable image found.  Did find:
	/usr/local/lib/librtmp.0.dylib: stat() failed with errno=13
	/usr/local/lib/librtmp.0.dylib: stat() failed with errno=13
Trace/BPT trap: 5
ChristiansMacBook:rtmpdump mane89$ 
  • Medlem
  • Askersund
  • 2012-01-17 18:48

Jag kan väl tillägga att när jag kört de tre första raderna i koden ovan resulterar det i nedanstående kod. Varnings-/felmeddelandena förstår jag inte, men om jag försöker med ./rtmpdump kommer ytterligare felmeddelanden.

Kan någon av er förstå varför det blir fel?

ChristiansMacBook:~ mane89$ git clone git://git.ffmpeg.org/rtmpdump 
Cloning into rtmpdump...
remote: Counting objects: 2326, done.
remote: Compressing objects: 100% (687/687), done.
remote: Total 2326 (delta 1755), reused 2154 (delta 1638)
Receiving objects: 100% (2326/2326), 731.34 KiB | 552 KiB/s, done.
Resolving deltas: 100% (1755/1755), done.
ChristiansMacBook:~ mane89$ cd rtmpdump
ChristiansMacBook:rtmpdump mane89$ make SYS=darwin
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o rtmp.o rtmp.c
In file included from handshake.h:83,
                 from rtmp.c:127:
dh.h: In function ‘isValidPublicKey’:
dh.h:160: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:164: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:165: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:173: warning: ‘BN_copy’ is deprecated (declared at /usr/include/openssl/bn.h:420)
dh.h:174: warning: ‘BN_sub_word’ is deprecated (declared at /usr/include/openssl/bn.h:463)
dh.h:175: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:191: warning: ‘BN_CTX_new’ is deprecated (declared at /usr/include/openssl/bn.h:403)
dh.h:191: warning: ‘BN_mod_exp’ is deprecated (declared at /usr/include/openssl/bn.h:475)
dh.h:191: warning: ‘BN_CTX_free’ is deprecated (declared at /usr/include/openssl/bn.h:407)
dh.h:193: warning: ‘BN_cmp’ is deprecated (declared at /usr/include/openssl/bn.h:467)
dh.h:193: warning: ‘BN_value_one’ is deprecated (declared at /usr/include/openssl/bn.h:401)
dh.h:200: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHInit’:
dh.h:208: warning: ‘DH_new’ is deprecated (declared at /usr/include/openssl/dh.h:184)
dh.h:213: warning: ‘BN_new’ is deprecated (declared at /usr/include/openssl/bn.h:417)
dh.h:218: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:224: warning: ‘BN_set_word’ is deprecated (declared at /usr/include/openssl/bn.h:464)
dh.h:231: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
dh.h: In function ‘DHGenerateKey’:
dh.h:247: warning: ‘DH_generate_key’ is deprecated (declared at /usr/include/openssl/dh.h:204)
dh.h:250: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:256: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:257: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:261: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h: In function ‘DHGetPublicKey’:
dh.h:277: warning: ‘BN_num_bits’ is deprecated (declared at /usr/include/openssl/bn.h:415)
dh.h:282: warning: ‘BN_bn2bin’ is deprecated (declared at /usr/include/openssl/bn.h:423)
dh.h: In function ‘DHComputeSharedSecretKey’:
dh.h:317: warning: ‘BN_bin2bn’ is deprecated (declared at /usr/include/openssl/bn.h:422)
dh.h:321: warning: ‘BN_hex2bn’ is deprecated (declared at /usr/include/openssl/bn.h:507)
dh.h:325: warning: ‘DH_compute_key’ is deprecated (declared at /usr/include/openssl/dh.h:205)
dh.h:329: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
dh.h:330: warning: ‘BN_free’ is deprecated (declared at /usr/include/openssl/bn.h:468)
In file included from rtmp.c:127:
handshake.h: In function ‘InitRC4Encryption’:
handshake.h:122: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:122: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:122: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:123: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:124: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:124: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:129: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h:131: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:131: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:131: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:132: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:133: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:133: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h:138: warning: ‘RC4_set_key’ is deprecated (declared at /usr/include/openssl/rc4.h:84)
handshake.h: In function ‘HMACsha256’:
handshake.h:268: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
handshake.h:268: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
handshake.h:268: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
handshake.h:269: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
handshake.h:270: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
handshake.h:270: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
handshake.h: In function ‘HandShake’:
handshake.h:1046: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1051: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h: In function ‘SHandShake’:
handshake.h:1396: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
handshake.h:1401: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_TLS_Init’:
rtmp.c:220: warning: ‘SSL_load_error_strings’ is deprecated (declared at /usr/include/openssl/ssl.h:1416)
rtmp.c:221: warning: ‘SSL_library_init’ is deprecated (declared at /usr/include/openssl/ssl.h:1553)
rtmp.c:222: warning: ‘OpenSSL_add_all_digests’ is deprecated (declared at /usr/include/openssl/evp.h:840)
rtmp.c:223: warning: ‘SSL_CTX_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1346)
rtmp.c:223: warning: ‘SSLv23_method’ is deprecated (declared at /usr/include/openssl/ssl.h:1515)
rtmp.c:224: warning: ‘SSL_CTX_ctrl’ is deprecated (declared at /usr/include/openssl/ssl.h:1498)
rtmp.c:225: warning: ‘SSL_CTX_set_default_verify_paths’ is deprecated (declared at /usr/include/openssl/ssl.h:1570)
rtmp.c: In function ‘RTMP_Connect1’:
rtmp.c:867: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
rtmp.c:868: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
rtmp.c:869: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
rtmp.c: In function ‘ReadN’:
rtmp.c:1363: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘WriteN’:
rtmp.c:1389: warning: ‘RC4’ is deprecated (declared at /usr/include/openssl/rc4.h:86)
rtmp.c: In function ‘RTMP_Close’:
rtmp.c:3535: warning: ‘DH_free’ is deprecated (declared at /usr/include/openssl/dh.h:185)
rtmp.c: In function ‘RTMPSockBuf_Fill’:
rtmp.c:3565: warning: ‘SSL_read’ is deprecated (declared at /usr/include/openssl/ssl.h:1493)
rtmp.c: In function ‘RTMPSockBuf_Send’:
rtmp.c:3608: warning: ‘SSL_write’ is deprecated (declared at /usr/include/openssl/ssl.h:1495)
rtmp.c: In function ‘RTMPSockBuf_Close’:
rtmp.c:3624: warning: ‘SSL_shutdown’ is deprecated (declared at /usr/include/openssl/ssl.h:1532)
rtmp.c:3625: warning: ‘SSL_free’ is deprecated (declared at /usr/include/openssl/ssl.h:1490)
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o log.o log.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o amf.o amf.c
In file included from amf.c:33:
bytes.h:74:2: warning: #warning "Float word order not defined, assuming the same as byte order!"
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o hashswf.o hashswf.c
hashswf.c: In function ‘HTTP_get’:
hashswf.c:164: warning: ‘SSL_new’ is deprecated (declared at /usr/include/openssl/ssl.h:1481)
hashswf.c:165: warning: ‘SSL_set_fd’ is deprecated (declared at /usr/include/openssl/ssl.h:1370)
hashswf.c:166: warning: ‘SSL_connect’ is deprecated (declared at /usr/include/openssl/ssl.h:1492)
hashswf.c: In function ‘swfcrunch’:
hashswf.c:314: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:332: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c:339: warning: ‘HMAC_Update’ is deprecated (declared at /usr/include/openssl/hmac.h:99)
hashswf.c: In function ‘RTMP_HashSWF’:
hashswf.c:585: warning: ‘HMAC_CTX_init’ is deprecated (declared at /usr/include/openssl/hmac.h:90)
hashswf.c:585: warning: ‘HMAC_Init_ex’ is deprecated (declared at /usr/include/openssl/hmac.h:98)
hashswf.c:585: warning: ‘EVP_sha256’ is deprecated (declared at /usr/include/openssl/evp.h:673)
hashswf.c:640: warning: ‘HMAC_Final’ is deprecated (declared at /usr/include/openssl/hmac.h:100)
hashswf.c:651: warning: ‘HMAC_CTX_cleanup’ is deprecated (declared at /usr/include/openssl/hmac.h:91)
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\" -DUSE_OPENSSL  -O2 -fPIC   -c -o parseurl.o parseurl.c
ar rs librtmp.a rtmp.o log.o amf.o hashswf.o parseurl.o
ar: creating archive librtmp.a
gcc -dynamiclib -twolevel_namespace -undefined dynamic_lookup -fno-common -headerpad_max_install_names -install_name /usr/local/lib/librtmp.0.dylib  -o librtmp.0.dylib rtmp.o log.o amf.o hashswf.o parseurl.o  -lssl -lcrypto -lz 
ln -sf librtmp.0.dylib librtmp.dylib
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpdump.o rtmpdump.c
gcc -Wall  -o rtmpdump rtmpdump.o -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpgw.o rtmpgw.c
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o thread.o thread.c
gcc -Wall  -o rtmpgw rtmpgw.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsrv.o rtmpsrv.c
gcc -Wall  -o rtmpsrv rtmpsrv.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
gcc -Wall   -DRTMPDUMP_VERSION=\"v2.4\"   -O2   -c -o rtmpsuck.o rtmpsuck.c
gcc -Wall  -o rtmpsuck rtmpsuck.o thread.o -lpthread -Llibrtmp -lrtmp -lssl -lcrypto -lz  
ChristiansMacBook:rtmpdump mane89$ 
  • Medlem
  • Askersund
  • 2012-01-17 15:24

Jag lyckades (på ett sätt jag nu inte minns) installera rtmpdump 2.4 tidigare, men iom att jag installerade om OS i samband med att jag installerade SSD för ett par veckor sedan har problemet uppstått. Nu uppstår problemet med rtmpdump 2.4, och jag har inte en susning om hur jag gjorde för att lösa detta tidigare.

Nu har jag med hjälp av Macports (vilket jag inte använde tidigare) lyckats installera version 2.3. Den har dock inte all den funktionalitet version 2.4 har.

Jag har förgäves sökt svar på de sätt jag brukar vid den här typen av problem, dvs. bloggar, forum och dyl. utan att hitta ett svar som löser mitt problem. Därför är jag tacksam för din direkta hjälp.

Rtmpdump 2.4 laddade jag ner från en av de länkar jag angivit i ett tidigare inlägg i tråden. Uttryck som shell, binärer osv. förstår jag inte så om du har möjlighet att beskriva hur jag med hjälp av filerna från Rtmpdumps hemsida (en sida med ungersk domän har jag för mig) kan kompilera/installera (via terminalen) är jag mycket tacksam.

Tack!

  • Medlem
  • Askersund
  • 2012-01-17 12:55

Oj, nu tror jag att vi behöver ta det här från början.

Jag har Xcode installerat, men skall jag öppna ett nytt dokument där och skriva in det där? Eller är det så att jag skall skriva det där i terminalen, på ett eller annat vis?

Tack för att du tar dig tid!

  • Medlem
  • Askersund
  • 2012-01-16 23:04

Vågar man fråga hur du gjorde för att få 2.4 att fungera?

  • Medlem
  • Askersund
  • 2012-01-16 11:42

Tack för hjälpen Samuel! Jag gjorde som du föreslog, och lyckades i motsats till mitt första försök installera Macports, och dessutom få det att fungera. Nu har jag installerat rtmpdump och fått det att fungera. De hade dock bara version 2.3, men det fungerade åtminstone för mig.

Återigen, tack för hjälpen!

  • Medlem
  • Askersund
  • 2012-01-14 19:14

Någon som har kunskap om vad som skulle kunna vara fel?

  • Medlem
  • Askersund
  • 2012-01-13 17:14

Det går framåt i alla fall. När jag försökte spara ner ett program som jag gjort tidigare kom det nästan igång (se utdrag nedan). Nedanstående blev resultatet:

ChristiansMacBook:rtmpdump mane89$ sudo ./rtmpdump
Password:
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
ChristiansMacBook:rtmpdump mane89$ ./rtmpdump
dyld: Library not loaded: librtmp.0.dylib
Referenced from: /users/mane89/rtmpdump/./rtmpdump
Reason: no suitable image found. Did find:
/usr/local/lib/librtmp.0.dylib: stat() failed with errno=13
Trace/BPT trap: 5

ChristiansMacBook:rtmpdump mane89$ sudo rtmpdump -W http://www.tv4play.se/flash/tv4playflashlets.swf -r rtmpe://cp70051.edgefcs.net/tv4ondemand -y "mp4:/mp4root/2012-01-10/pid3536521(2135537_T3MP425).mp4" -o Sverigesmasterkock2.flv
RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
ChristiansMacBook:rtmpdump mane89$