View Full Version : MPlayer and .edl file generation,..
Selur
5th July 2010, 06:58
Is there a trick to create edl files with MPlayer ?
(tried this on Linux&Windows)
I start mplayer with:
mplayer "test.avi" "Path to the ttf font I want" -osdlevel 3 -edlout "Path to the edl-outputfile"
navigate to the points where I want an edl entry to be created and press 'i' which results in the creation of an empty edl-outputfile (if the file didn't exist) but there's no edl entry.
MPlayer even writes:
"EDL skip start, press 'i' again to end block."
and
"EDL skip end, line written."
to the command line.
-> did I miss something?
Cu Selur
Ps.: background for me wanting this to work is that I wanted to add a visual aid to set chapter and cut points in Hybrid using edl files.
Henrikx
5th July 2010, 07:41
Synatax
...to create test.edl
mplayer -edlout test.edl GEDC0212.mkv
Playing GEDC0212.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 640x480 24bpp 30.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12
EDL skip start, press 'i' again to end block. 0 124% 27% 7.9% 31 0
EDL skip end, line written.01 ct: 0.022 0/ 0 78% 15% 2.8% 90 0
EDL skip start, press 'i' again to end block. 0 74% 13% 2.3% 90 0
EDL skip end, line written.01 ct: 0.022 0/ 0 72% 12% 1.9% 90 0
EDL skip start, press 'i' again to end block. 0 71% 12% 1.8% 90 0
EDL skip end, line written.00 ct: 0.022 0/ 0 70% 11% 1.8% 90 0
EDL skip start, press 'i' again to end block. 0 71% 11% 1.8% 90 0
EDL skip end, line written.01 ct: 0.022 0/ 0 70% 11% 1.7% 90 0
A: 66.2 V: 65.7 A-V: 0.491 ct: 0.023 0/ 0 71% 11% 1.7% 135 0
test.edl
1.066000 5.666000 0
8.866000 13.933000 0
18.132999 21.365999 0
40.398998 52.499001 0
Selur
5th July 2010, 07:47
Found the problem: The EDL File, needs to have an .edl extension in the file name (wtf?).
-> correction: it's not the extension, but one has to close mplayer for it to write the content of the edl file. :)
Thanks for the help! :)
Cu Selur
Selur
5th July 2010, 14:06
Does anyone know if there's a way to tell mplayer not to wait until it's closing to write the edl list?
(if it would write them directly one could visually represent then better in a gui)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.