2020年8月16日 星期日

vlc 隨手記

1: 如果要重新configure vlc的話, 必須先
rm -rf vlc/build-android-arm-linux-androideabi/config.h
修改compile-libvlc.sh 下的 VLC_CONFIGURE_ARGS, 然後
./compile.sh -a armeabi-v7a




vlc function trace 
1: ./configure --prefix=/home/haha/work/vlc_bin CFLAGS="-g3" CXXFLAGS="-g3" --enable-debug
   make && make install
   
2: gdb vlc
3: set args rtsp://192.168.70.25:8554/test2.ts
4: set logging on
5: set logging redirect off
5: set confirm off
6: rbreak .
7: 按c
8: info breakpoints 看 breakpoints
8: disable 10(決定哪一個不印)  pthread_mutex_lock/memcpy/pthread_mutex_unlock
9: start
9: source haha.py

haha@haha-VirtualBox:~/work/vlc_bin/bin$ cat haha.py
#!/usr/bin/env python3
import gdb
import re

#gdb.execute('set logging on')
#gdb.execute('set confirm off')
#gdb.execute('rbreak .')
try:
    while True:
        gdb.execute('continue')
except:
    print("haha not check")

沒有留言:

張貼留言