r8913 SIGSEGV while loading mpeg-ts, index not created FIXED

Started by Jan Gruuthuse, September 12, 2013, 01:23:52 PM

Previous topic - Next topic

Jan Gruuthuse

fixed in r8917
pop info window:Crash

Segfault
at line 0, file ??ADM_backTrack

std::basic_string, std::allocator >::basic_string(std::string const&)
TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)
tsIndexer(char const*)
probe
ADM_demuxerSpawn(unsigned int, char const*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))
HandleAction(Action)
MainWindow::searchToolBar(QAction*)
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)

terminal output:*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7fd1a38dbebc]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fd19f3f94a0]:1:<>:-2
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) [0x7fd19fd33f2b]:2:<std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z15TS_guessContentPKcPjPP12ADM_TS_TRACK+0x5c4) [0x7fd16df26a74]:3:<TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z9tsIndexerPKc+0x5e4) [0x7fd16df1ad64]:4:<tsIndexer(char const*)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(probe+0x93) [0x7fd16df1a3c3]:5:<probe>:-2
/usr/lib/libADM_coreDemuxer6.so(_Z16ADM_demuxerSpawnjPKc+0x44) [0x7fd1a2e9cf24]:6:<ADM_demuxerSpawn(unsigned int, char const*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x123) [0x450253]:7:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0xb0) [0x439620]:8:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x20) [0x483940]:9:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x4f2) [0x43a272]:10:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x91) [0x46d571]:11:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fd1a0d6f281]:12:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7fd1a17036df]:13:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x652604) [0x7fd1a1704604]:14:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fd1a0d6f281]:15:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7fd1a170bc4f]:16:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x65aa99) [0x7fd1a170ca99]:17:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fd1a0d6f281]:18:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7fd1a1277132]:19:<QAction::triggered(bool)>:0
*********** BACKTRACK **************

gdb stops:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff29bdf2b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6


Avidemux v2.6.5 (r8913)
_____________________________________________
Compiler: GCC 4.6.3
cmake: 2.8.11
Build Target: Linux (x86-64)
User Interface: Qt (4.8.1)
_____________________________________________
Kernel: Linux 3.5.0-40-generic (x86_64)
Distribution: Linux Ubuntu 12.04.3 LTS (Precise Pangolin)
Desktop: Unity 2D 5.20.0

Display Server:  X Server 1.13.0
Intel Core i7-3770K @ 3.50GHz (4 Cores/8 Threads) with 16 GB ram
Graphics: NVIDIA GeForce GT 520/PCIe/SSE2 1024MB (810/535MHz)
OpenGL render:   NVIDIA Corporation
Version:   4.2.0 NVIDIA 304.88
_____________________________________________

mean

Its not with a real TS file from over the air capture , right ?

Jan Gruuthuse

#2
Is satellite recording happens with mpeg2 ts (sd tv) and h264 mpeg-ts (hd) by STB with openpli 4.0, now in process of checking on 12.10 and 13.04 (all 64-bit)
Quoteffprobe -show_format '/media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts'
ffprobe version N-37559-g90c8863 Copyright (c) 2007-2013 the FFmpeg developers
  built on Jun 13 2013 10:46:30 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
  configuration: --enable-avfilter --enable-vdpau --enable-bzlib --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-pthreads --enable-zlib --enable-libvpx --disable-stripping --enable-runtime-cpudetect --enable-vaapi --enable-swscale --enable-libdc1394 --enable-shared --disable-static --enable-librtmp --enable-gpl --enable-version3 --disable-nonfree --enable-postproc --enable-libmp3lame --enable-libgsm --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-filter=movie
  libavutil      52. 35.101 / 52. 35.101
  libavcodec     55. 16.100 / 55. 16.100
  libavformat    55.  8.102 / 55.  8.102
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 76.101 /  3. 76.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
[h264 @ 0x25a1220] non-existing PPS referenced
[h264 @ 0x25a1220] non-existing PPS 0 referenced
[h264 @ 0x25a1220] decode_slice_header error
[h264 @ 0x25a1220] no frame!
[h264 @ 0x25a1220] non-existing PPS referenced
[h264 @ 0x25a1220] non-existing PPS 0 referenced
[h264 @ 0x25a1220] decode_slice_header error
[h264 @ 0x25a1220] no frame!
[h264 @ 0x25a1220] non-existing PPS referenced
[h264 @ 0x25a1220] non-existing PPS 0 referenced
[h264 @ 0x25a1220] decode_slice_header error
[h264 @ 0x25a1220] no frame!
[h264 @ 0x25a1220] non-existing PPS referenced
[h264 @ 0x25a1220] non-existing PPS 0 referenced
[h264 @ 0x25a1220] decode_slice_header error
[h264 @ 0x25a1220] no frame!
[h264 @ 0x25a1220] mmco: unref short failure
    Last message repeated 5 times
[mpegts @ 0x257d260] max_analyze_duration 5000000 reached at 5000000 microseconds
[mpegts @ 0x257d260] Could not find codec parameters for stream 3 (Unknown: none ([5][0][0][0] / 0x0005)): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[NULL @ 0x2583880] start time is not set in estimate_timings_from_pts
[mpegts @ 0x257d260] PES packet size mismatch
Input #0, mpegts, from '/media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts':
  Duration: 25:06:38.51, start: 118921.902611, bitrate: 136 kb/s
  Program 6010
  Program 6015
  Program 6020
  Program 6025
  Program 6030
  Program 6035
  Program 6040
  Program 6045
  Program 6055
  Program 6060
  Program 6065
  Program 6080
    Stream #0:0[0x20d]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x69](dut): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x2b](dut): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
    Stream #0:3[0x33]: Unknown: none ([5][0][0][0] / 0x0005)
  Program 6090
  Program 6092
  Program 6066
  Program 6067
  Program 6068
  Program 6072
  Program 6073
Unsupported codec with id 94215 for input stream 2
Unsupported codec with id 0 for input stream 3
[FORMAT]
filename=/media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts
nb_streams=4
format_name=mpegts
format_long_name=MPEG-TS (MPEG-2 Transport Stream)
start_time=118921.902611
duration=90398.512789
size=1543113964
bit_rate=136561
[/FORMAT]

Jan Gruuthuse

#3
same with 12.10 64-bit:
info window:Segfault
at line 0, file ??ADM_backTrack

std::basic_string, std::allocator >::basic_string(std::string const&)
TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)
tsIndexer(char const*)
probe
ADM_demuxerSpawn(unsigned int, char const*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))
HandleAction(Action)
MainWindow::searchToolBar(QAction*)
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)

Terminal output:*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7fb5f426a04c]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fb5efda84a0]:1:<>:-2
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) [0x7fb5f070183b]:2:<std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z15TS_guessContentPKcPjPP12ADM_TS_TRACK+0x2a4) [0x7fb5c69c8e44]:3:<TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z9tsIndexerPKc+0x3b2) [0x7fb5c69bddd2]:4:<tsIndexer(char const*)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(probe+0x9a) [0x7fb5c69bccaa]:5:<probe>:-2
/usr/lib/libADM_coreDemuxer6.so(_Z16ADM_demuxerSpawnjPKc+0x44) [0x7fb5f382afb4]:6:<ADM_demuxerSpawn(unsigned int, char const*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x147) [0x44fe37]:7:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0xa1) [0x439d51]:8:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x1d) [0x4816ad]:9:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x4f2) [0x43a9a2]:10:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x90) [0x46cf30]:11:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fb5f1720f5f]:12:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7fb5f20a1bdf]:13:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x63eb0c) [0x7fb5f20a2b0c]:14:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fb5f1720f5f]:15:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7fb5f20a9fff]:16:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x646dc9) [0x7fb5f20aadc9]:17:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fb5f1720f5f]:18:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7fb5f1c29a32]:19:<QAction::triggered(bool)>:0
*********** BACKTRACK **************

Jan Gruuthuse

It is not with all recordings, can't put my finger on it.

same with 13.04 64-bit:
info window: Segfault
at line 0, file ??ADM_backTrack

std::string::assign(std::string const&)
tsIndexer(char const*)
probe
ADM_demuxerSpawn(unsigned int, char const*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))
HandleAction(Action)
MainWindow::searchToolBar(QAction*)
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)

Terminal output:
*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7fc7012be06c]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x370b0) [0x7fc6fcde00b0]:1:<>:-2
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSs6assignERKSs+0x24) [0x7fc6fd749604]:2:<std::string::assign(std::string const&)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z9tsIndexerPKc+0x19b) [0x7fc6d48bdccb]:3:<tsIndexer(char const*)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(probe+0x9a) [0x7fc6d48bcdfa]:4:<probe>:-2
/usr/lib/libADM_coreDemuxer6.so(_Z16ADM_demuxerSpawnjPKc+0x44) [0x7fc70087efd4]:5:<ADM_demuxerSpawn(unsigned int, char const*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x147) [0x44fc87]:6:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0xa1) [0x439511]:7:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x1d) [0x48185d]:8:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x4f2) [0x43ab22]:9:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x90) [0x46d0e0]:10:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fc6fe76d0ef]:11:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7fc6ff0f557f]:12:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x63f38c) [0x7fc6ff0f638c]:13:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fc6fe76d0ef]:14:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7fc6ff0fd74f]:15:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x647429) [0x7fc6ff0fe429]:16:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2bf) [0x7fc6fe76d0ef]:17:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7fc6fec7c152]:18:<QAction::triggered(bool)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction8activateENS_11ActionEventE+0x70) [0x7fc6fec7d580]:19:<QAction::activate(QAction::ActionEvent)>:0
*********** BACKTRACK **************

Jan Gruuthuse

rebuild and installed r8909, still opens and processes file:
0000 : d.(�.4�.�..x....  64 00 28 ad 00 34 c4 01 e0 11 1f 78 0a 10 10 10
0010 : ..........�P  14 00 00 03 00 04 00 00 03 00 ca 50 [extractSPSInfo_lavcodec]  Parser created
  [extractSPSInfo_lavcodec]  Codec created
  [extractSPSInfo_lavcodec]  Context created
  [extractSPSInfo_lavcodec]  Width  : 0
  [extractSPSInfo_lavcodec]  Height : 0
Scale : 50, tick=1, fps=50000
Crop L: 0
Crop R: 0
Crop T: 0
Crop B: 2
Taking crop bottom into account
[extractSPSInfo_lavcodec]  Width2 : 1920
  [extractSPSInfo_lavcodec]  Height2: 1080
  [extractSPSInfo]  width:1920
  [extractSPSInfo]  height:1080
  [extractSPSInfo]  fps1000:50000
  [extractSPSInfo]  hasStructInfo:1
  [extractSPSInfo]  CpbDpbToSkip:0
  [extractSPSInfo]  darNum:1
  [extractSPSInfo]  darDen:1
[TsIndexer] Found video 0x0, fps=0
[tsPacket] Sync lost (0x0)
[tsPacketLinear] Refill failed for pid :20d

[TS Demuxer] There is an index for that file
[mxfHeader] Cannot open that (1d0d0247)
[MP4] Cannot open that...
[avsProxy] Cannot open that
[flvHeader] Cannot open that
[picHeader] Cannot open that
[mkvHeader] Cannot open that
[openDML] Cannot open that
[asfHeader] Cannot open that
match :63 / 455 (probeSize:1048576)
[PS Demuxer] Not a ps file
[tsDemux] Append=0

Simple loading:
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
found 1 files
Done
[TsDemuxerer] Reading Video
[TsIndex] codec :<H264>
[indexFile] Token ExtraData not found
  [0]Version
  [1]Type
  [2]File
  [3]Append
  [4]Width
  [5]Height
  [6]Fps
  [7]Interlaced
  [8]AR
  [9]Pid
  [10]VideoCodec
[tsDemux] Video pid is 0x20d 525
[psDemuxer] Reading Audio
00:fq=48000
00:br=48000
00:chan=6
00:codec=8192
00:pid=105
00:muxing=0
[indexFile] Token Track0.extraData not found
  [0]Version
  [1]Type
  [2]File
  [3]Append
  [4]Width
  [5]Height
  [6]Fps
  [7]Interlaced
  [8]AR
  [9]Pid
  [10]VideoCodec
  [11]Tracks
  [12]Track0.pid
  [13]Track0.codec
  [14]Track0.fq
  [15]Track0.chan
  [16]Track0.br
  [17]Track0.muxing
[readAudio]  No extradata (Track0.extraData)
Checking if there are several files...
left:</media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_>, right=<.ts>,base=1,digit=3

Auto adding:
Using %03d as match string
Checking /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts
file 1: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
Checking /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_002.ts
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_002.ts not found.
found 1 files
Done
[TsPacket] Detecting TS/TS2...
[TsPacket] Score : 188:20, 192:1 out of 20
[TsPacket] Probably TS1 (188)...
[ADM_tsAccess]  Creating audio track, pid=69, muxing =0
[TsDemuxerer] Reading index
[TsDemuxer] Found 3 I, 74508 B, 23286 P
[TsH264] Found 1548 IDR
[TsH264] Remapping IDR to I and I TO P
[tsDemux] Found 99345 video frames

Simple loading:
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
found 1 files
Done
[TsPacket] Detecting TS/TS2...
[TsPacket] Score : 188:20, 192:1 out of 20
[TsPacket] Probably TS1 (188)...
[tsDemuxer] Loaded 1
[ADM_PP]  Initializing postproc
  [cleanup]  Deleting post proc
  [update]  updating post proc
  [update]  Disabled
  [addFile]  Clearing video filters
  [ADM_vf_clearFilters]  clear filters
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_faad.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_vorbis.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_lav.so score 50
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_Mad.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_opencore_amrnb.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_dca.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ima_adpcm.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_a52.so score 100
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_opencore_amrwb.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ms_adpcm.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ulaw.so score 0
No accelerated IMDCT transform found
[ADM_edAudioTrackFromVideo]  Creating edAudio from video track 0 at 4597730
[Editor] Decoder FCC: H264 (34363248) [ADM_getDecoder] 
Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1920 x 1080, extradataSize:0)...
  [ADM_getDecoder]  This is vdpau compatible
  [ADM_getDecoder]  Vdpau is not active
  [ADM_getDecoder]  Searching decoder in xvba (1920 x 1080, extradataSize:0)...
  [ADM_getDecoder]  This is xvba compatible
  [ADM_getDecoder]  XVBA is not active
  [ADM_getDecoder]  Searching decoder in libva (1920 x 1080, extradataSize:0)...
  [ADM_getDecoder]  This is libva compatible
  [ADM_getDecoder]  LIBVA is not active
  [ADM_getDecoder]  Searching decoder in coreVideoCodec(1920 x 1080, extradataSize:0)...
  [ADM_coreCodecGetDecoder]  Searching decoder in coreVideoCodec(1920 x 1080, extradataSize:0)...
[lavc] Build: 3562596
[decoderFFH264]  [lavc] Initializing H264 decoder with 0 extradata
[lavc] Decoder init: CODEC_ID_H264 video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10)
[addReferenceVideo]  [editor] Original frame increment  00:00:00,020
  [addReferenceVideo]  [Editor] min increment  00:00:00,020
  [addReferenceVideo]  [Editor] max increment  00:00:00,020
  [addReferenceVideo]  [Editor] About 20000 microseconds per frame
  [getVideoDuration]  Found maxPts = 00:33:07,080 , 0 frames from the end
  [getVideoDuration]  Found maxDts = 00:33:06,880 , 0 frames from the end
  [getVideoDuration]  Using PTS..
  [getVideoDuration]  Using duration of  00:33:07,080
  [addReferenceVideo]  The first frame has a PTS >0, adjusting to 200 ms
  [updateStartTime]  Using pts2= 00:00:00,200  to get dts, as this video does not start at zero
  [ADM_verifyDts]  Verifying DTS....
  [ADM_verifyDts]  Checking from 1 to 99345
  [ADM_verifyDts]  Pass 2..
  [ADM_verifyDts]  DTS verified
[Editor] B- frame possible with that codec
[addFile]  [Editor] This is H264, check if we can fill missing PTS
  [ADM_setH264MissingPts]  We have 0 missing PTS
  [checkForDoubledFps]  Checking for doubled FPS.., time increment ceiling = 36000
  [checkForDoubledFps]  Out of 99345 frames, we have :
  [checkForDoubledFps]  Bad     : 62090
  [checkForDoubledFps]  Good    : 0
  [checkForDoubledFps]  Skipped : 37254
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [init]  [Vdpau]Xv start
  [mixerEnableFeature]  Enabling 0 features
  [spawnRenderer]  vdpau init ok
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
[RDR] Resizing to 960 x 540
[renderCompleteRedrawRequest]  RedrawRequest
  [A_ResetMarkers]  Video Total duration :  00:33:07,100  ms
  [rewind]  Rewinding
  [switchToSegment]  Trying to switch to seg 0 with startTime in reference pic= 0 ms
  [seektoTime]  First frame of the new segment is a keyframe at 200ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
[edCache] Flush
[adm_lavLogCallback]  [lavc] mmco: unref short failure
  [adm_lavLogCallback]  [lavc] mmco: unref short failure
[decompressImage] uncompress failed
[DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
  [switchToSegment]  Switched ok to segment 0 (dontdecode=0)
  [start]  admPreview,starting
  [updateLoaded]   conf updated

Jan Gruuthuse

problem starts with r8910:
info window:
QuoteSegfault
at line 0, file ??ADM_backTrack

std::basic_string, std::allocator >::basic_string(std::string const&)
TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)
tsIndexer(char const*)
probe
ADM_demuxerSpawn(unsigned int, char const*)
ADM_Composer::addFile(char const*)
A_openAvi(char const*)
ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))
HandleAction(Action)
MainWindow::searchToolBar(QAction*)
QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolBar::actionTriggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QToolButton::triggered(QAction*)

QMetaObject::activate(QObject*, QMetaObject const*, int, void**)
QAction::triggered(bool)
Terminal output:
[Ts Demuxer] Pes for Pid =0x525 does not contain payload start
[idContent]  PES start : 000001e0
  [idContentE0]  Found startcode1 =9
  [idContentE0]  Found startcode1 =9
  [idContentE0]  Found startcode1 =9
  [idContentE0]  Found startcode1 =9
  [idContentE0]  Found startcode1 =9
  [idContentE0]  Probably H264
Saving crash file to /home/jan/.avidemux6/crash.py

*********** BACKTRACK **************
/usr/lib/libADM_core6.so(ADM_backTrack+0x5c) [0x7fa4c4fd4ebc]:0:<ADM_backTrack>:-2
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fa4c0af24a0]:1:<>:-2
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZNSsC1ERKSs+0xb) [0x7fa4c142cf2b]:2:<std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z15TS_guessContentPKcPjPP12ADM_TS_TRACK+0x5c4) [0x7fa48fe7d684]:3:<TS_guessContent(char const*, unsigned int*, ADM_TS_TRACK**)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(_Z9tsIndexerPKc+0x5e4) [0x7fa48fe71c64]:4:<tsIndexer(char const*)>:0
/usr/lib/ADM_plugins6/demuxers/libADM_dm_ts.so(probe+0x93) [0x7fa48fe712c3]:5:<probe>:-2
/usr/lib/libADM_coreDemuxer6.so(_Z16ADM_demuxerSpawnjPKc+0x44) [0x7fa4c4595f24]:6:<ADM_demuxerSpawn(unsigned int, char const*)>:0
/usr/bin/avidemux3_qt4(_ZN12ADM_Composer7addFileEPKc+0x123) [0x450253]:7:<ADM_Composer::addFile(char const*)>:0
/usr/bin/avidemux3_qt4(_Z9A_openAviPKc+0xb0) [0x439620]:8:<A_openAvi(char const*)>:0
/usr/bin/avidemux3_qt4(_ZN15ADM_QT4_fileSel15GUI_FileSelReadEPKcPFvS1_E+0x20) [0x483940]:9:<ADM_QT4_fileSel::GUI_FileSelRead(char const*, void (*)(char const*))>:0
/usr/bin/avidemux3_qt4(_Z12HandleAction6Action+0x4f2) [0x43a272]:10:<HandleAction(Action)>:0
/usr/bin/avidemux3_qt4(_ZN10MainWindow13searchToolBarEP7QAction+0x91) [0x46d571]:11:<MainWindow::searchToolBar(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fa4c2468281]:12:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN8QToolBar15actionTriggeredEP7QAction+0x2f) [0x7fa4c2dfc6df]:13:<QToolBar::actionTriggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x652604) [0x7fa4c2dfd604]:14:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fa4c2468281]:15:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN11QToolButton9triggeredEP7QAction+0x2f) [0x7fa4c2e04c4f]:16:<QToolButton::triggered(QAction*)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(+0x65aa99) [0x7fa4c2e05a99]:17:<>:-2
/usr/lib/x86_64-linux-gnu/libQtCore.so.4(_ZN11QMetaObject8activateEP7QObjectPKS_iPPv+0x2b1) [0x7fa4c2468281]:18:<QMetaObject::activate(QObject*, QMetaObject const*, int, void**)>:0
/usr/lib/x86_64-linux-gnu/libQtGui.so.4(_ZN7QAction9triggeredEb+0x32) [0x7fa4c2970132]:19:<QAction::triggered(bool)>:0
*********** BACKTRACK **************


If you need anything else, let me know

mean

Maybe better, i dont have a sample that exhibits the problem

Jan Gruuthuse

Will see how it goes, have only +1 GB samples showing this behavior. Now building r8917.

Jan Gruuthuse

that video seems to process fine, will test some more, to be on safe side.
[Ts Demuxer] Pes for Pid =0x525 does not contain payload start

0000 : d.(�.4�.�..x....  64 00 28 ad 00 34 c4 01 e0 11 1f 78 0a 10 10 10
0010 : ..........�P  14 00 00 03 00 04 00 00 03 00 ca 50 [extractSPSInfo_lavcodec]  Parser created
  [extractSPSInfo_lavcodec]  Codec created
  [extractSPSInfo_lavcodec]  Context created
  [extractSPSInfo_lavcodec]  Width  : 0
  [extractSPSInfo_lavcodec]  Height : 0
Scale : 50, tick=1, fps=50000
Crop L: 0
Crop R: 0
Crop T: 0
Crop B: 2
Taking crop bottom into account
[extractSPSInfo_lavcodec]  Width2 : 1920
  [extractSPSInfo_lavcodec]  Height2: 1080
  [extractSPSInfo]  width:1920
  [extractSPSInfo]  height:1080
  [extractSPSInfo]  fps1000:50000
  [extractSPSInfo]  hasStructInfo:1
  [extractSPSInfo]  CpbDpbToSkip:0
  [extractSPSInfo]  darNum:1
  [extractSPSInfo]  darDen:1
[TsIndexer] Found video 0x0, fps=0
[tsPacket] Sync lost (0x0)
[tsPacketLinear] Refill failed for pid :20d

[TS Demuxer] There is an index for that file
[mxfHeader] Cannot open that (1d0d0247)
[MP4] Cannot open that...
[avsProxy] Cannot open that
[flvHeader] Cannot open that
[picHeader] Cannot open that
[mkvHeader] Cannot open that
[openDML] Cannot open that
[asfHeader] Cannot open that
match :63 / 455 (probeSize:1048576)
[PS Demuxer] Not a ps file
[tsDemux] Append=0

Simple loading:
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
found 1 files
Done
[TsDemuxerer] Reading Video
[TsIndex] codec :<H264>
[indexFile] Token ExtraData not found
  [0]Version
  [1]Type
  [2]File
  [3]Append
  [4]Width
  [5]Height
  [6]Fps
  [7]Interlaced
  [8]AR
  [9]Pid
  [10]VideoCodec
[tsDemux] Video pid is 0x20d 525
[psDemuxer] Reading Audio
00:fq=48000
00:br=48000
00:chan=6
00:codec=8192
00:pid=105
00:muxing=0
Language=
[indexFile] Token Track0.extraData not found
  [0]Version
  [1]Type
  [2]File
  [3]Append
  [4]Width
  [5]Height
  [6]Fps
  [7]Interlaced
  [8]AR
  [9]Pid
  [10]VideoCodec
  [11]Tracks
  [12]Track0.pid
  [13]Track0.codec
  [14]Track0.fq
  [15]Track0.chan
  [16]Track0.br
  [17]Track0.muxing
  [18]Track0.language
[readAudio]  No extradata (Track0.extraData)
Checking if there are several files...
left:</media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_>, right=<.ts>,base=1,digit=3

Auto adding:
Using %03d as match string
Checking /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts
file 1: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
Checking /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_002.ts
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_002.ts not found.
found 1 files
Done
[TsPacket] Detecting TS/TS2...
[TsPacket] Score : 188:20, 192:1 out of 20
[TsPacket] Probably TS1 (188)...
[ADM_tsAccess]  Creating audio track, pid=69, muxing =0
[TsDemuxerer] Reading index
[TsDemuxer] Found 3 I, 74508 B, 23286 P
[TsH264] Found 1548 IDR
[TsH264] Remapping IDR to I and I TO P
[tsDemux] Found 99345 video frames

Simple loading:
file: /media/0ToProcess/0xp1000/20130904 1940 - NED2 HD - Rail Away_001.ts, size: 1543113964
found 1 files
Done
[TsPacket] Detecting TS/TS2...
[TsPacket] Score : 188:20, 192:1 out of 20
[TsPacket] Probably TS1 (188)...
[tsDemuxer] Loaded 1
[ADM_PP]  Initializing postproc
  [cleanup]  Deleting post proc
  [update]  updating post proc
  [update]  Disabled
  [addFile]  Clearing video filters
  [ADM_vf_clearFilters]  clear filters
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_faad.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_vorbis.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_lav.so score 50
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_Mad.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_opencore_amrnb.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_dca.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ima_adpcm.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_a52.so score 100
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_opencore_amrwb.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ms_adpcm.so score 0
[ADM_ad_plugin]Format 0x2000 : probing libADM_ad_ulaw.so score 0
No accelerated IMDCT transform found
[ADM_edAudioTrackFromVideo]  Creating edAudio from video track 0 at 43dfcd0
[Editor] Decoder FCC: H264 (34363248) [ADM_getDecoder] 
Searching decoder in plugins
  [tryCreatingVideoDecoder]  No decoder found in plugin
  [ADM_getDecoder]  Searching decoder in vdpau (1920 x 1080, extradataSize:0)...
  [ADM_getDecoder]  This is vdpau compatible
[lavc] Build: 3562596
[lavc] Decoder init: h264_vdpau video decoder initialized! (H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration))
[decoderFFVDPAU]  [VDPAU] Decoder created
  [addReferenceVideo]  [editor] Original frame increment  00:00:00,020
  [addReferenceVideo]  [Editor] min increment  00:00:00,020
  [addReferenceVideo]  [Editor] max increment  00:00:00,020
  [addReferenceVideo]  [Editor] About 20000 microseconds per frame
  [getVideoDuration]  Found maxPts = 00:33:07,080 , 0 frames from the end
  [getVideoDuration]  Found maxDts = 00:33:06,880 , 0 frames from the end
  [getVideoDuration]  Using PTS..
  [getVideoDuration]  Using duration of  00:33:07,080
  [addReferenceVideo]  The first frame has a PTS >0, adjusting to 200 ms
  [updateStartTime]  Using pts2= 00:00:00,200  to get dts, as this video does not start at zero
  [ADM_verifyDts]  Verifying DTS....
  [ADM_verifyDts]  Checking from 1 to 99345
  [ADM_verifyDts]  Pass 2..
  [ADM_verifyDts]  DTS verified
[Editor] B- frame possible with that codec
[addFile]  [Editor] This is H264, check if we can fill missing PTS
  [ADM_setH264MissingPts]  We have 0 missing PTS
  [checkForDoubledFps]  Checking for doubled FPS.., time increment ceiling = 36000
  [checkForDoubledFps]  Out of 99345 frames, we have :
  [checkForDoubledFps]  Bad     : 62090
  [checkForDoubledFps]  Good    : 0
  [checkForDoubledFps]  Skipped : 37254
  [renderDisplayResize]  Render to 1920x1080 zoom=1
  [init]  [Vdpau]Xv start
  [mixerEnableFeature]  Enabling 0 features
  [spawnRenderer]  vdpau init ok
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
[RDR] Resizing to 960 x 540
[renderCompleteRedrawRequest]  RedrawRequest
  [A_ResetMarkers]  Video Total duration :  00:33:07,100  ms
  [rewind]  Rewinding
  [switchToSegment]  Trying to switch to seg 0 with startTime in reference pic= 0 ms
  [seektoTime]  First frame of the new segment is a keyframe at 200ms
  [DecodePictureUpToIntra]   DecodeUpToInta 0 ref:0
[edCache] Flush
[adm_lavLogCallback]  [lavc] mmco: unref short failure
  [adm_lavLogCallback]  [lavc] mmco: unref short failure
[decompressImage] uncompress failed
[DecodePictureUpToIntra]   decode error for frame 0, not necessarily a problem
  [switchToSegment]  Switched ok to segment 0 (dontdecode=0)
  [start]  admPreview,starting
  [updateLoaded]   conf updated
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest
  [refresh]  [Vdpau]Rrefresh
  [renderCompleteRedrawRequest]  RedrawRequest

Jan Gruuthuse