VideoHelp Forum




+ Reply to Thread
Results 1 to 6 of 6
  1. I'm trying to get my head around EDLs in mplayer.
    What I want to archive is that I want to only decode/analyse roughly a total of 100 frames across 9 different places across my input.
    My input is 23.976 fps (so each frame is displayed ~41ms) and has a duration of 2710 seconds.
    So my thought was to split the source into 10 sections using an EDL (http://mplayerhq.hu/DOCS/HTML/en/edl.html):
    Code:
    0 406.538 0
    407.002 678.027 0
    678.492 949.517 0
    949.981 1221.01 0
    1221.47 1492.5 0
    1492.96 1763.99 0
    1764.45 2035.48 0
    2035.94 2306.97 0
    2307.43 2578.45 0
    2578.92 2710.75 0
    so that the frames between the sections gets analysed.
    In my case that would be 465ms which is roughly 12 frames.
    So if everything works the way I understood it, the output should consist of roughly 100 frames.
    With that in mind I saved my list into a file named cropEDL.txt and called:
    Code:
    "G:\Hybrid\mplayer_64.exe" -noframedrop -speed 100 -quiet br://10 -bluray-device "Y:\SULXMY~E" -tsprobe 100000000 -nosound -vo null -ao null -nosub -fps 23.976 -vf cropdetect=24:2 -edl "h:\cropEDL.txt"
    Problem is that this doesn't decode/analyse just roughly 100 frames, but more like all frames.

    Is someone here who has some experience with MPlayer and EDL lists who can shed some light on where I go wrong?

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  2. mplayer edl works ok for me

    Try a different mplayer build, and/or try naming the edl the same name as input video (e.g. "video1.mp4" , "video1.edl")
    Quote Quote  
  3. Member Cornucopia's Avatar
    Join Date
    Oct 2001
    Location
    Deep in the Heart of Texas
    Search PM
    Each of those listed are SKIPPED, so the part you are wanting are the parts in between? I see only 9 clips in between, and since the first starts at zero and the last is longer than the total duration that you mentioned, it looks like there are only 9 clips.

    I haven't used this feature in mplayer, so can't help you too much. Too bad they didn't use industry-standard nomenclature (timecode notation, using elements to keep), would make for easier translation from other EDL files.

    I would agree w/ pdr re:_same name & "edl" extension, though it shouldn't make a difference. Also, does your video file not have an extension?

    Scott
    Quote Quote  
  4. Each of those listed are SKIPPED, so the part you are wanting are the parts in between? I see only 9 clips in between, and since the first starts at zero and the last is longer than the total duration that you mentioned, it looks like there are only 9 clips.
    There is only one clip, and yes, I only want to analyze 9 sections of that clip.
    Also, does your video file not have an extension?
    "-bluray-device" is fed with a folder not with a file. "br://10" tells mplayer which playlist should be selected.
    I would agree w/ pdr re:_same name & "edl" extension, though it shouldn't make a difference.
    Renaming the edl to the 'foldername.edl' doesn't change a thing.

    output says that the edls are read:
    Code:
    Playing br://10.
    Read 10 EDL actions.
    libbluray/bdnav/mpls_parse.c:158: failed signature match, expected (MPLS0200) got (PK♥♦¶)
    libbluray/bdnav/mpls_parse.c:917: Failed to open Y:\SULXMY~E\BDMV\BACKUP\PLAYLIST\Archiv.zip
    libavformat version 56.19.100 (internal)
    TS file format detected.
    VIDEO H264(pid=4113) NO AUDIO! (try increasing -tsprobe) NO SUBS (yet)!  PROGRAM N. 1
    FPS seems to be: 23.976025
    Opening video filter: [cropdetect=24:2]
    ==========================================================================
    Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
    libavcodec version 56.21.100 (internal)
    Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
    ==========================================================================
    Audio: no sound
    FPS forced to be 23.976  (ftime: 0.042).
    Starting playback...
    Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
    VO: [null] 1920x1080 => 1920x1080 Planar YV12
    [h264 @ 0000000002367640]Cannot use next picture in error concealment
    [h264 @ 0000000002367640]concealing 7218 DC, 7218 AC, 7218 MV errors in P frame
    [h264 @ 0000000002367640]left block unavailable for requested intra4x4 mode -1 at 0 25
    [h264 @ 0000000002367640]error while decoding MB 0 25, bytestream 7767
    [h264 @ 0000000002367640]concealing 1129 DC, 1129 AC, 1129 MV errors in I frame
    [CROP] Crop area: X: 241..1678  Y: 0..491  (-vf crop=1436:492:242:0).
    [CROP] Crop area: X: 241..1678  Y: 0..493  (-vf crop=1436:494:242:0).
    [CROP] Crop area: X: 241..1678  Y: 0..495  (-vf crop=1436:496:242:0).
    [CROP] Crop area: X: 241..1678  Y: 0..501  (-vf crop=1436:502:242:0).
    [CROP] Crop area: X: 241..1678  Y: 0..506  (-vf crop=1436:506:242:0).
    [CROP] Crop area: X: 241..1678  Y: 0..506  (-vf crop=1436:506:242:0).
    ....
    but since the crop detection doesn't stop, there seems to be something off.
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
  5. Debug it step by step like you would for anything. Start by removing -vf cropdetect, test, then remove something else, test... etc...

    I'm guessing it's because you're reading from a mpls and a problem with libbluray. So I would actually start with a test video
    and work from there

    libbluray/bdnav/mpls_parse.c:158: failed signature match, expected (MPLS0200) got (PK♥♦¶)
    Quote Quote  
  6. Okay, so no-one sees a direct problem.

    Using a clip with a play length of 6180 seconds, adjusting the last edl entry accordingly and shrinking the call to:
    Code:
    "G:\Hybrid\mplayer_64.exe" -edl "h:\wmpreperation.edl" "F:\soccer\wmpreperation.m4v"
    doesn't help and switching to a build from http://mplayerwin.sourceforge.net/downloads.html doesn't help either.

    Cu Selur
    users currently on my ignore list: deadrats, Stears555, marcorocchini
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!