dump

Dump RTSP to file like rtmpdump

拈花ヽ惹草 提交于 2019-12-25 02:50:56
问题 How to dump an RTSP stream to a file? For RTMP I can do this: rtmpdump --quiet --start=0 --stop=10 -rtmp=[Path to stream] --flv=dump.f4v I need to do the same for RTSP. I'm on OS X and have access to VLC, python and ffmpeg. I only need to save a small 10 second sample of the stream to test a server. 回答1: It is not useful to "dump" an "RTSP stream" to a file. RTSP is a bidirectional conversation between a client and the server. The byte content changes every time it is run, so you can't replay

How to take a minidump of a web application on concrete exception running in a farm with periodic recycling?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-24 18:23:50
问题 Given: sometimes a certain exception occurs in our web application, which we cannot reproduce, except in production. Unfortunately, there are no telemetry and the logs are not helpful. Wanted: minidump when exception happens Problem: Running procdump is not helpful, because the process is periodically recycled. A solution is needed that would run ProcDump automatically whenever the web application starts and do it on each and every web server in the farm. Before engaging in writing an in

what is rcconsolidateframes?

允我心安 提交于 2019-12-24 16:19:18
问题 I have a call stack like below from my dump file. I want to find my code in the call stack, but I can't. What is start point to analyze my dump? Link option of my program is release/Od. msvcr120.dll!abort() msvcr120.dll!terminate() msvcp120.dll!_Call_func$catch() msvcr120.dll!_CallSettingFrame() msvcr120.dll!__CxxCallCatchBlock(_EXCEPTION_RECORD * pExcept=0x0000002885f9b010) ntdll.dll!RcConsolidateFrames() msvcp120.dll!_Call_func(void * _Data=0x00000028835d5ce0) msvcr120.dll!

MySQL: Dump a database from a SQL query

谁都会走 提交于 2019-12-24 08:15:21
问题 I'm writing a test framework in which I need to capture a MySQL database state (table structure, contents etc.). I need this to implement a check that the state was not changed after certain operations. (Autoincrement values may be allowed to change, but I think I'll be able to handle this.) The dump should preferably be in a human-readable format (preferably an SQL code, like mysqldump does). I wish to limit my test framework to use a MySQL connection only. To capture the state it should not

Importing wikipedia-dump to SQL-base

微笑、不失礼 提交于 2019-12-24 03:25:32
问题 I have a problem with MySQL. I wanted to import a dump of Wikipedia in my MediaWiki (Local Server "Denwer"). First, I'm using MWdumper.jar for convert XML-dump to SQL-file. (for test I'am used simplewiki-dump with small size (~92 MB)) Then import sql-file to my sql-base: I'm from command line, using mysql.exe enter a commands: mysql.exe --user=root --password= use wikidb source X:[path to dump.sql]\dump.sql The process of long runs normally (message: Query OK). But at some point, I get an

How can i dump blob fields from mysql tables

 ̄綄美尐妖づ 提交于 2019-12-24 02:33:24
问题 i am trying to dump the BLOB fields from mysql table. but when i dumping blob records using sqlYog am getting unvaluable data. How can i backup BLOB type fields? Note: BLOB field has image. 回答1: The official mysqldump utility can dump BLOBs fields without any problem, use -q or --opt when you run the backup. So for example to backup images_table that contains image in BLOB format : mysqldump --opt -u user -ppass dbname images_table > images.sql 回答2: the parameter --hex-blob is useful when you

Import specific tables from oracle dump file?

无人久伴 提交于 2019-12-23 09:36:28
问题 I have a dump of a huge oracle database so it is impossible to import it all. I want to import a specific table called X. The problem is that X has foreign keys. If I import just X, I will get the following error: imp user/pass@dbName tables=X rows=y ignore=Y ORA-02291: integrity constraint violated - parent key not found I already have the whole db locally (but without data), I want to import all tables that are associated to X. How can I achieve that? I have plsql installed. I also need to

What Firefox extension can dump HTTP responses?

牧云@^-^@ 提交于 2019-12-23 04:26:35
问题 I'm familiar with LiveHTTPHeaders and TamperData which can show what is going to be sent to the web server. However, I also want to study the server responses. How can I do this? 回答1: As always: Firebug. 回答2: I recommend Fiddler. It shows all traffic organized per request, and offers multiple ways to view the request and response. Like formatted xml, javascript, post body. It also decodes when needed. If I'm right it also offers an firefox integration addon. 回答3: HttpFox is one of my

Xdebug hiding dump information?

◇◆丶佛笑我妖孽 提交于 2019-12-22 03:49:12
问题 I am using xdebug with my php methods such as var_dump() are beautiful but not showing full information instead the dump ends with three dots ... which might be the sign of continuation followed by (length=87749) How should I tell xdebug to show full dump ?? Thanks 回答1: Xdebug truncates the output of (at least) strings and arrays, to avoid it getting to big. The amout of data that's printed can be configured using these directives : xdebug.var_display_max_children xdebug.var_display_max_data

Dump hex float in C++

て烟熏妆下的殇ゞ 提交于 2019-12-21 15:19:15
问题 I tried following: std::cout << std::hex << 17.0625; But it dumped it in decimal. I'd like to see 11.01 (17.0625 in hex). How can I print some floating point value in hex? Please do not offer solutions like: void outhexdigits(std::ostream& out, fp_t d, int max_chars=160) { while(d > 0. && max_chars) { while(d < 1. && max_chars){ out << '0'; --max_chars; d*=16; } if (d>=1. && max_chars) { int i = 0; while (d>=1.) ++i, --d; out << std::hex << i; --max_chars; } } } Is there any way to dump float