News:

--

Main Menu

Fixed: ivtcDupeRemoval crashing on QT4

Started by Jan Gruuthuse, May 08, 2016, 07:59:34 AM

Previous topic - Next topic

Jan Gruuthuse

Fixed: 6b62aea    [core] Image diff, mark them as output, maybe enough

plays fine on QT5, is this supposed to work on QT4?

Ubuntu 14.04.4 64-bit Qt4
with Mkv Muxer x264 applying new filter ivtcDupeRemoval playing preview:
Lets look for the closest one
Saving crash file to /home/jan/.avidemux6/crash.py
Scripting video streams
Scripting segments
Scripting markers
Scripting post-processing
Scripting video encoder
Scripting video filters
Scripting audio tracks
Scripting muxer

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f5f798c1d30]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f5f751aed40]:1:<>:-2
/usr/lib/libADM_coreImage6.so(_ZN8ADMImage8lumaDiffEPS_S0_j+0x127) [0x7f5f78c72697]:2:<ADMImage::lumaDiff(ADMImage*, ADMImage*, unsigned int)>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover12computeDeltaEP8ADMImageS1_i+0xdd) [0x7f5f44f8cfcd]:3:<ivtcDupeRemover::computeDelta(ADMImage*, ADMImage*, int)>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover10searchSyncEv+0x100) [0x7f5f44f8d0d0]:4:<ivtcDupeRemover::searchSync()>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover12getNextFrameEPjP8ADMImage+0xb8) [0x7f5f44f8d278]:5:<ivtcDupeRemover::getNextFrame(unsigned int*, ADMImage*)>:0
/usr/bin/avidemux3_qt4(_ZN20ADM_videoFilterQueue9runActionEv+0x9f) [0x470c7f]:6:<ADM_videoFilterQueue::runAction()>:0
/usr/lib/libADM_coreUtils6.so(_ZN15ADM_threadQueue3runEv+0x11) [0x7f5f785b74c1]:7:<ADM_threadQueue::run()>:0
/usr/lib/libADM_coreUtils6.so(+0x1c4d9) [0x7f5f785b74d9]:8:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f5f769ab182]:9:<>:-2
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f5f7527247d]:10:<clone>:-2
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack

ADMImage::lumaDiff(ADMImage*, ADMImage*, unsigned int)
ivtcDupeRemover::computeDelta(ADMImage*, ADMImage*, int)
ivtcDupeRemover::searchSync()
ivtcDupeRemover::getNextFrame(unsigned int*, ADMImage*)
ADM_videoFilterQueue::runAction()
ADM_threadQueue::run()


clone

QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread


crash.py
Editor.closeVideo();
Editor.openVideo("~/Videos/010seconds1920x1080OneTrack.ts");
Editor.segments.clear()
Editor.segments.add(0, 10200000, 0);
Editor.setMarkers(0, 10200000);

Editor.currentVideoEncoder = X264VideoEncoder;

videoFilter = new IvtcremoverVideoFilter();
Editor.appliedVideoFilters.add(videoFilter);

Editor.audioOutputs.clear();

audioOutput = new CopyAudioEncoder();
Editor.audioOutputs.add(0, audioOutput);
Editor.audioOutputs[0].drcEnabled = false;
Editor.audioOutputs[0].timeShift = 0;

Editor.currentMuxer = MkvMuxer;


mean

If you disable mmx, does it still crash ?

Jan Gruuthuse

#2
No, runs ok now without mmx, and without mmxext. Had to disable both.

mean

Maybe fixed by last commit

(You can also use that filter with vdpau deint when ivtc is selected)

Jan Gruuthuse

ivtcDupeRemoval

Scripting video streams
Scripting segments
Scripting markers
Scripting post-processing
Scripting video encoder
Scripting video filters
Scripting audio tracks
Scripting muxer

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x60) [0x7f2950491d30]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40) [0x7f294bd7ed40]:1:<>:-2
/usr/lib/libADM_coreImage6.so(_ZN8ADMImage8lumaDiffEPS_S0_j+0x127) [0x7f294f842697]:2:<ADMImage::lumaDiff(ADMImage*, ADMImage*, unsigned int)>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover12computeDeltaEP8ADMImageS1_i+0xdd) [0x7f291be4afcd]:3:<ivtcDupeRemover::computeDelta(ADMImage*, ADMImage*, int)>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover10searchSyncEv+0x100) [0x7f291be4b0d0]:4:<ivtcDupeRemover::searchSync()>:0
/usr/lib/ADM_plugins6/videoFilters/libADM_vf_ivtcDupeRemover.so(_ZN15ivtcDupeRemover12getNextFrameEPjP8ADMImage+0xb8) [0x7f291be4b278]:5:<ivtcDupeRemover::getNextFrame(unsigned int*, ADMImage*)>:0
/usr/bin/avidemux3_qt4(_ZN20ADM_videoFilterQueue9runActionEv+0x9f) [0x470c7f]:6:<ADM_videoFilterQueue::runAction()>:0
/usr/lib/libADM_coreUtils6.so(_ZN15ADM_threadQueue3runEv+0x11) [0x7f294f1874c1]:7:<ADM_threadQueue::run()>:0
/usr/lib/libADM_coreUtils6.so(+0x1c4d9) [0x7f294f1874d9]:8:<>:-2
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f294d57b182]:9:<>:-2
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f294be4247d]:10:<clone>:-2
*********** BACKTRACK **************
Crash Dump for Crash
Segfault
at line 0, file ??ADM_backTrack

ADMImage::lumaDiff(ADMImage*, ADMImage*, unsigned int)
ivtcDupeRemover::computeDelta(ADMImage*, ADMImage*, int)
ivtcDupeRemover::searchSync()
ivtcDupeRemover::getNextFrame(unsigned int*, ADMImage*)
ADM_videoFilterQueue::runAction()
ADM_threadQueue::run()


will reboot and try again

Jan Gruuthuse

only runs when [ ] mmx is not enabled

Jan Gruuthuse

Quote from: mean on May 08, 2016, 12:55:19 PM
(You can also use that filter with vdpau deint when ivtc is selected)

vdpauDeint
[v] Ivtc

gives freeze frame with Current state is dupeSynced
Cound in sequence is 2
[mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
  [mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
  [getPacket]  MP3: Not enough data to lookup header
  [getPacket]  AudioGetPacket failed, audioSegment=0
  [getPacket]  ..and this is the last segment
  [getPacket]  MP3: Not enough data to lookup header
  [getPacket]  AudioGetPacket failed, audioSegment=0
  [getPacket]  ..and this is the last segment
  [getPacket]  MP3: Not enough data to lookup header
  [getPacket]  AudioGetPacket failed, audioSegment=0
  [getPacket]  ..and this is the last segment
  [getPacket]  MP3: Not enough data to lookup header
  [getPacket]  AudioGetPacket failed, audioSegment=0
  [getPacket]  ..and this is the last segment
Current state is dupeSynced
Cound in sequence is 3
[mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
  [mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
Current state is Syncing
Searching sync
[HandleAction]  ************ StopAvi **************
  [cleanup]  Cleaning up..
  [stop]  [audioDevice]Stopping device... DeviceStarted -> DeviceStop_Requested
Lets look for the closest one
>>State = dupeSynced, in =150, out=150
>>PTS=00:00:06,000
[mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
  [mixerRenderFieldWithPastAndFuture]  mixerRenderWithPastAndFuture  failed :The size of a supplied object does not match the object it is being used with.
  [sendField]  [Vdpau] Cannot mixerRender
DeviceStop_Requested -> DeviceStop_Granted

Jan Gruuthuse

buidling; 6b62aea    [core] Image diff, mark them as output, maybe enough

Jan Gruuthuse

QuotevdpauDeint
[v] Ivtc
seems to be fine now

Jan Gruuthuse

ivtcDupeRemoval now runs fine with [v] enable all SIMD on 14.04.4


Jan Gruuthuse

#10
Remove IVTC dupe filter in Interlacing
End result: DupeSynced 1080i 10 seconds
Original: 1080i 10 seconds source

Like it in preview (notice: top left hand), not in end result ;)
Nice job, thnx

our avidemux demo page @ YouTube

mean

I'll change the default to : show value : off, mode = fast
And thanks for the youtube channel content, it is helpful

Jan Gruuthuse

Quote from: mean on May 08, 2016, 03:56:45 PM
And thanks for the youtube channel content, it is helpful
No thanks. This was after all your suggestion to do this.