EDL ( edit decision list ) with [ User switched to scene ' ' ] in log file

zapteam

New Member
Hi,

I'm trying to figure out a way to use the log file to make an EDL ( edit decision list )
My goal is to record the cameras internally and do an editing based on the live switching entry in the log file.

To make an EDL, I need all of the entry.
But sometimes the [User switched to scene ' ' ] entry in the log file end with 'Last log entry repeated for X more lines' and sometimes it list all the entry.

Anyone can point me at what's making the log file to list all entry and sometimes not?
Below, the 2 different log files:

Thanks in advance!



Code:
18:33:24.875: ==== Recording Start ===============================================
18:33:24.875: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/ZAP Workstation 01/Videos/2019-10-02 18-33-24.mkv'...
18:33:28.509: User switched to scene 'B'
18:33:29.917: User switched to scene 'A'
18:33:30.661: User switched to scene 'B'
18:33:31.731: User switched to scene 'A'
18:33:33.294: User switched to scene 'B'
18:33:34.509: User switched to scene 'A'
18:33:35.957: User switched to scene 'B'
18:33:37.661: User switched to scene 'A'
18:33:39.125: User switched to scene 'B'
18:33:41.029: User switched to scene 'A'
18:33:41.852: User switched to scene 'B'
18:33:42.309: User switched to scene 'A'
18:33:42.629: User switched to scene 'B'
18:33:43.093: User switched to scene 'A'
18:33:43.389: User switched to scene 'B'
18:33:43.797: User switched to scene 'A'
18:33:44.205: User switched to scene 'B'
18:33:46.029: User switched to scene 'A'
18:33:47.725: User switched to scene 'B'
18:33:48.525: User switched to scene 'A'
18:33:48.925: User switched to scene 'B'
18:33:49.315: User switched to scene 'A'
18:33:50.341: User switched to scene 'B'
18:33:50.805: User switched to scene 'A'
18:33:51.189: User switched to scene 'B'
18:33:51.797: User switched to scene 'A'
18:33:52.300: User switched to scene 'B'
18:33:52.805: User switched to scene 'A'
18:33:54.509: User switched to scene 'B'
18:33:55.885: User switched to scene 'A'
18:33:56.389: User switched to scene 'B'
18:34:09.126: Last log entry repeated for 15 more lines
18:34:09.126: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/ZAP Workstation 01/Videos/2019-10-02 18-33-24.mkv' stopped
18:34:09.126: Output 'simple_file_output': stopping
18:34:09.126: Output 'simple_file_output': Total frames output: 1052
18:34:09.126: Output 'simple_file_output': Total drawn frames: 1061
18:34:09.127: ==== Recording Stop ================================================

Compare to this one that have all single Switching events:


Code:
17:42:38.433: ==== Recording Start ===============================================
17:42:38.433: [ffmpeg muxer: 'simple_file_output'] Writing file 'D:/Test Sudio 1/2019-08-08 17-42-37.mov'...
17:42:41.132: User switched to scene 'cu rideau porte'
17:42:42.496: User switched to scene '2 shots rideau'
17:42:43.108: User switched to scene 'CU rideau fenetre'
17:42:44.562: User switched to scene 'CU Brique fenetre'
17:42:45.270: User switched to scene '2 shots brique'
17:42:45.875: User switched to scene 'CU Brique porte'
17:42:47.033: User switched to scene 'WIDE'
17:42:47.586: User switched to scene 'CU rideau fenetre'
17:42:48.146: User switched to scene '2 shots rideau'
17:42:48.607: User switched to scene 'cu rideau porte'
17:42:48.955: User switched to scene '2 shots brique'
17:42:58.965: User switched to scene '2 shots rideau'
17:43:00.516: User switched to scene '2 shots brique'
17:43:03.379: User switched to scene 'WIDE'
17:43:05.695: User switched to scene 'CU rideau fenetre'
17:43:07.854: User switched to scene 'cu rideau porte'
17:43:09.769: User switched to scene '2 shots brique'
17:43:12.467: User switched to scene 'cu rideau porte'
17:43:13.877: User switched to scene '2 shots rideau'
17:43:15.790: User switched to scene 'WIDE'
17:43:19.551: User switched to scene 'CU rideau fenetre'
17:43:26.466: User switched to scene '2 shots rideau'
17:43:30.683: User switched to scene '2 shots brique'
17:43:37.347: User switched to scene 'WIDE'
17:43:44.269: User switched to scene '2 shots rideau'
17:43:52.688: User switched to scene '2 shots brique'
17:43:53.691: User switched to scene '2 shots rideau'
17:43:54.538: User switched to scene 'CU rideau fenetre'
17:43:55.198: User switched to scene '2 shots rideau'
17:43:56.209: User switched to scene '2 shots brique'
17:43:57.463: User switched to scene 'CU Brique porte'
17:44:00.227: User switched to scene '2 shots rideau'
17:44:01.675: User switched to scene '2 shots brique'
17:44:09.636: User switched to scene '2 shots rideau'
17:44:17.748: User switched to scene '2 shots brique'
17:44:20.463: User switched to scene 'CU rideau fenetre'
17:44:28.837: User switched to scene 'WIDE'
17:44:33.341: User switched to scene '2 shots rideau'
17:44:37.513: User switched to scene '2 shots brique'
17:44:42.669: User switched to scene 'CU rideau fenetre'
17:44:47.234: User switched to scene '2 shots brique'
17:44:53.297: User switched to scene 'WIDE'
17:45:00.307: User switched to scene '2 shots rideau'
17:45:01.981: User switched to scene '2 shots brique'
17:45:05.245: User switched to scene 'WIDE'
17:45:12.102: User switched to scene 'CU rideau fenetre'
17:45:15.216: User switched to scene '2 shots brique'
17:45:24.023: User switched to scene '2 shots rideau'
17:45:34.903: User switched to scene 'WIDE'
17:45:42.612: User switched to scene '2 shots rideau'
17:45:47.318: User switched to scene '2 shots brique'
17:45:52.719: User switched to scene 'WIDE'
17:45:54.584: User switched to scene 'CU rideau fenetre'
17:45:57.447: User switched to scene '2 shots rideau'
17:45:59.604: User switched to scene 'WIDE'
17:46:06.121: User switched to scene '2 shots brique'
17:46:09.935: User switched to scene '2 shots rideau'
17:46:17.150: User switched to scene 'WIDE'
17:46:20.665: User switched to scene '2 shots rideau'
17:46:27.277: User switched to scene 'WIDE'
17:46:31.646: User switched to scene '2 shots rideau'
17:46:34.344: User switched to scene '2 shots brique'
17:46:43.419: User switched to scene 'WIDE'
17:46:47.274: User switched to scene '2 shots rideau'
17:46:52.878: User switched to scene 'WIDE'
17:46:54.187: User switched to scene 'CU rideau fenetre'
17:47:02.358: User switched to scene '2 shots brique'
17:47:04.418: User switched to scene '2 shots rideau'
17:47:07.280: User switched to scene '2 shots brique'
17:47:31.414: User switched to scene 'CU rideau fenetre'
17:47:36.028: User switched to scene '2 shots brique'
17:47:59.868: User switched to scene 'WIDE'
17:48:02.171: User switched to scene '2 shots rideau'
17:48:23.249: User switched to scene 'WIDE'
17:48:30.119: User switched to scene 'CU rideau fenetre'
17:48:34.023: User switched to scene 'cu rideau porte'
17:48:34.980: User switched to scene 'CU Brique fenetre'
17:48:37.285: User switched to scene '2 shots brique'
17:48:41.039: User switched to scene 'CU Brique fenetre'
17:48:44.261: User switched to scene '2 shots rideau'
17:48:50.624: User switched to scene 'CU rideau fenetre'
17:49:03.049: User switched to scene '2 shots rideau'
17:49:03.909: User switched to scene 'CU rideau fenetre'
17:49:08.017: User switched to scene '2 shots rideau'
17:49:11.628: User switched to scene '2 shots brique'
17:49:15.690: User switched to scene 'CU Brique fenetre'
17:49:21.195: User switched to scene '2 shots rideau'
17:49:21.648: User switched to scene '2 shots brique'
17:49:22.206: User switched to scene 'CU Brique fenetre'
17:49:26.771: User switched to scene '2 shots rideau'
17:49:38.491: User switched to scene 'WIDE'
17:49:40.949: User switched to scene 'CU rideau fenetre'
17:49:43.053: User switched to scene '2 shots rideau'
17:50:07.583: User switched to scene 'WIDE'
17:50:20.798: [ffmpeg muxer: 'simple_file_output'] Output of file 'D:/Test Sudio 1/2019-08-08 17-42-37.mov' stopped
17:50:20.798: Output 'simple_file_output': stopping
17:50:20.798: Output 'simple_file_output': Total frames output: 11083
17:50:20.798: Output 'simple_file_output': Total drawn frames: 11097
17:50:20.798: ==== Recording Stop ================================================
 

dodgepong

Administrator
Community Helper
We've had people asking about exporting EDL files from OBS before. I wonder if it would be more worthwhile to add EDL functionality to OBS as a normal feature rather than trying to parse it from the log. Do you have any information about what sorts of things should be in an EDL file, and how they are formatted?
 

zapteam

New Member
One problem with EDL, is that it need to have all device perfectly sync. We are working on a script that send the time clock of the computer to all camera to sync everything together . We use Blackmagic Pocket 4K camera, as it can receive bluetooth command, we convert the computer time clock to the frame rate and send the real time clock command to all camera.

One other way would be to get the first timecode IN of the camera clip and match the first User switch.

First thing would be to associate the 'Reel Name' and 'Clip name' from the camera clip file to the scene switched.

EDL format:
001 D014_06111947_C003 V C 18:36:44:04 18:36:50:05 1:10:36:17 1:10:42:18
* FROM CLIP NAME: D014_06111947_C003.braw

[Cut Entry] [REEL NAME] [TRACK: VIDEO=V or AUDIO=A] [CUT=C] [TC IN] [TC OUT] [TIMELINE TIME IN] [TIMELINE TIME OUT]
* FROM CLIP NAME: [CLIP NAME FROM CAMERA FILE]


An EDL from the following OBS log txt file look like that:
Code:
TITLE: TEST
FCM: NONDROP FRAME


001  D014_06111947_C003 V     C        18:36:44:04 18:36:50:05 1:10:36:17 1:10:42:18
* FROM CLIP NAME: D014_06111947_C003.braw

002  F013_06111947_C003 V     C        18:36:50:05 18:36:54:10 1:10:42:18 1:10:46:23
* FROM CLIP NAME: F013_06111947_C003.braw

003  D014_06111947_C003 V     C        18:36:54:10 18:37:02:02 1:10:46:23 1:10:54:15
* FROM CLIP NAME: D014_06111947_C003.braw

004  F013_06111947_C003 V     C        18:37:02:02 18:37:05:20 1:10:54:15 1:10:58:09
* FROM CLIP NAME: F013_06111947_C003.braw

005  D014_06111947_C003 V     C        18:37:05:20 18:37:09:01 1:10:58:09 1:11:01:14
* FROM CLIP NAME: D014_06111947_C003.braw

006  F013_06111947_C003 V     C        18:37:09:01 18:37:12:03 1:11:01:14 1:11:04:16
* FROM CLIP NAME: F013_06111947_C003.braw

007  D014_06111947_C003 V     C        18:37:12:03 18:37:15:08 1:11:04:16 1:11:07:21
* FROM CLIP NAME: D014_06111947_C003.braw

008  F013_06111947_C003 V     C        18:37:15:08 18:37:24:05 1:11:07:21 1:11:16:18
* FROM CLIP NAME: F013_06111947_C003.braw

009  D014_06111947_C003 V     C        18:37:24:05 18:37:27:15 1:11:16:18 1:11:20:04
* FROM CLIP NAME: D014_06111947_C003.braw

010  F013_06111947_C003 V     C        18:37:27:15 18:37:31:04 1:11:20:04 1:11:23:17
* FROM CLIP NAME: F013_06111947_C003.braw

011  D014_06111947_C003 V     C        18:37:31:04 18:37:33:23 1:11:23:17 1:11:26:12
* FROM CLIP NAME: D014_06111947_C003.braw

012  F013_06111947_C003 V     C        18:37:33:23 18:37:36:08 1:11:26:12 1:11:28:21
* FROM CLIP NAME: F013_06111947_C003.braw

013  D014_06111947_C003 V     C        18:37:36:08 18:37:38:09 1:11:28:21 1:11:30:22
* FROM CLIP NAME: D014_06111947_C003.braw

014  F013_06111947_C003 V     C        18:37:38:09 18:37:39:21 1:11:30:22 1:11:32:10
* FROM CLIP NAME: F013_06111947_C003.braw

015  D014_06111947_C003 V     C        18:37:39:21 18:37:41:13 1:11:32:10 1:11:34:02
* FROM CLIP NAME: D014_06111947_C003.braw

016  F013_06111947_C003 V     C        18:37:41:13 18:37:43:00 1:11:34:02 1:11:35:13
* FROM CLIP NAME: F013_06111947_C003.braw

017  D014_06111947_C003 V     C        18:37:43:00 18:37:43:15 1:11:35:13 1:11:36:04
* FROM CLIP NAME: D014_06111947_C003.braw

018  F013_06111947_C003 V     C        18:37:43:15 18:37:44:09 1:11:36:04 1:11:36:22
* FROM CLIP NAME: F013_06111947_C003.braw

019  D014_06111947_C003 V     C        18:37:44:09 18:37:45:05 1:11:36:22 1:11:37:18
* FROM CLIP NAME: D014_06111947_C003.braw

020  F013_06111947_C003 V     C        18:37:45:05 18:37:46:16 1:11:37:18 1:11:39:05
* FROM CLIP NAME: F013_06111947_C003.braw

021  D014_06111947_C003 V     C        18:37:46:16 18:37:48:21 1:11:39:05 1:11:41:10
* FROM CLIP NAME: D014_06111947_C003.braw

022  F013_06111947_C003 V     C        18:37:48:21 18:37:52:10 1:11:41:10 1:11:44:23
* FROM CLIP NAME: F013_06111947_C003.braw

023  D014_06111947_C003 V     C        18:37:52:10 18:37:57:19 1:11:44:23 1:11:50:08
* FROM CLIP NAME: D014_06111947_C003.braw

024  F013_06111947_C003 V     C        18:37:57:19 18:38:00:02 1:11:50:08 1:11:52:15
* FROM CLIP NAME: F013_06111947_C003.braw

025  D014_06111947_C003 V     C        18:38:00:02 18:38:05:06 1:11:52:15 1:11:57:19
* FROM CLIP NAME: D014_06111947_C003.braw

026  F013_06111947_C003 V     C        18:38:05:06 18:38:08:19 1:11:57:19 1:12:01:08
* FROM CLIP NAME: F013_06111947_C003.braw

027  D014_06111947_C003 V     C        18:38:08:19 18:38:10:12 1:12:01:08 1:12:03:01
* FROM CLIP NAME: D014_06111947_C003.braw

028  F013_06111947_C003 V     C        18:38:10:12 18:38:14:21 1:12:03:01 1:12:07:10
* FROM CLIP NAME: F013_06111947_C003.braw

029  F013_06111947_C003 V     C        18:38:14:21 18:38:14:21 1:12:07:10 1:12:07:10
* FROM CLIP NAME: F013_06111947_C003.braw


OBS LOG.txt:
Code:
18:36:20.358: ==== Recording Start ===============================================
18:36:20.358: [ffmpeg muxer: 'simple_file_output'] Writing file 'C:/Users/ZAP Workstation 01/Videos/2019-10-03 18-36-20.mp4'...
18:36:44.171: User switched to scene 'A'
18:36:50.218: User switched to scene 'B'
18:36:54.434: User switched to scene 'A'
18:37:02.098: User switched to scene 'B'
18:37:05.834: User switched to scene 'A'
18:37:09.026: User switched to scene 'B'
18:37:12.130: User switched to scene 'A'
18:37:15.346: User switched to scene 'B'
18:37:24.219: User switched to scene 'A'
18:37:27.634: User switched to scene 'B'
18:37:31.162: User switched to scene 'A'
18:37:33.970: User switched to scene 'B'
18:37:36.322: User switched to scene 'A'
18:37:38.362: User switched to scene 'B'
18:37:39.890: User switched to scene 'A'
18:37:41.562: User switched to scene 'B'
18:37:43.010: User switched to scene 'A'
18:37:43.610: User switched to scene 'B'
18:37:44.362: User switched to scene 'A'
18:37:45.203: User switched to scene 'B'
18:37:46.682: User switched to scene 'A'
18:37:48.890: User switched to scene 'B'
18:37:52.402: User switched to scene 'A'
18:37:57.803: User switched to scene 'B'
18:38:00.082: User switched to scene 'A'
18:38:05.234: User switched to scene 'B'
18:38:08.802: User switched to scene 'A'
18:38:10.482: User switched to scene 'B'
18:38:14.875: [ffmpeg muxer: 'simple_file_output'] Output of file 'C:/Users/ZAP Workstation 01/Videos/2019-10-03 18-36-20.mp4' stopped
18:38:14.875: Output 'simple_file_output': stopping
18:38:14.875: Output 'simple_file_output': Total frames output: 2737
18:38:14.875: Output 'simple_file_output': Total drawn frames: 2746
18:38:14.876: ==== Recording Stop ================================================
 

zapteam

New Member
Any hints for why sometimes the [User switched to scene ' ' ] entry in the log file end with 'Last log entry repeated for X more lines' and sometimes it list all the entry.

Anyone can point me at what's making the log file to list all entry and sometimes not?

Thanks!
 
Top