Log in

View Full Version : "-seekToIFrames" bug - how fix?


Kermit25
20th November 2013, 16:38
hello.
I have a problem with the encoding of my recordings with DVB-T.
Here are the specifications:
Ogólne
ID : 1 (0x1)
Pełna ścieżka : E:\Goof_job\20131016 1525 - Kacza Paczka.ts
Format : MPEG-TS
Rozmiar pliku : 26,6 MB
Czas trwania : 1 min.
Rodzaj całkowitej przepływności bitów : Zmienna
Całkowita przepływność bitów : 2.129 Kb/s

Wideo
ID : 512 (0x200)
ID menu : 1 (0x1)
Format : AVC
Format/Informacja : Advanced Video Codec
Profil formatu : High@L3.0
Ustawienia formatu, CABAC : Tak
Ustawienia formatu, poklatkowy : 4 klatki
ID kodeka : 27
Czas trwania : 1 min.
Przepływność bitów : 1.863 Kb/s
Szerokość : 544 piksele
Wysokość : 576 pikseli
Proporcje obrazu : 1,374
Szybkość wyświetlania klatek : 25,000 kl/s
ColorSpace : YUV
ChromaSubsampling : 4:2:0
BitDepth/String : 8 bitów
Rodzaj skanu : Z przeplotem
Kolejność skanu : Górne pole wpierw
bity/(piksele*ramki) : 0.238
Rozmiar strumienia : 23,3 MB (87%)
colour_primaries : BT.601 PAL
transfer_characteristics : BT.470 System B, BT.470 System G
matrix_coefficients : BT.601

Audio
ID : 612 (0x264)
ID menu : 1 (0x1)
Format : MPEG Audio
Wersja formatu : Version 1
Profil formatu : Layer 2
ID kodeka : 3
Czas trwania : 1 min.
Rodzaj przepływności : Stała
Przepływność bitów : 160 Kb/s
Kanały : 2 kanały
Częstotliwość próbkowania : 48,0 KHz
Opóźnienie wideo : -40ms
Rozmiar strumienia : 2,00 MB (8%)
Język : Polski

When I try to separate the streams in MeGUI <Tools-HDStreams Extractor> there is a problem. In the "LOG" entry appears:
--- [Warning] [2013-11-20 4:32:45 p.m.] The "-seekToIFrames" option small work around that.
--- [Warning] [2013-11-20 4:32:45 p.m.] however, using this option small result in artifacts when seeking.
- [Warning] [2013-11-20 4:32:43 p.m.] Standard error stream
--- [Warning] [2013-11-20 4:32:45 p.m.] Unfortunately the Haali Muxer can not handle this source file.It does not contain enough seek / recovery file points.Aborted at meals
- [Error] [2013-11-20 4:32:45 p.m.] Process exits with error: 1

Do any of You know how to fix these files?
How to make all H.264 / AVC "I" frames seekable, to be able to encoded the recording in MeGUI?

Best regards and please help.

Atak_Snajpera
20th November 2013, 16:57
try remuxing first to .mkv

Kermit25
20th November 2013, 19:42
I've tried this method - does not work.
1 In tsMuxer I created a new file ts - did not help.
2 in tsDoctor "repaired" and I created a new file - did not help
3 in VideoReDo - also unchanged.
4 Demux in tsMuxer and I joined in mkvMarge to *. Mkv - did not help.

Of course, all formed in this way files reproduce without a problem in the WMP and VLC. Only MeGUI still poses problems ...

Guest
20th November 2013, 20:15
What source filter are you using? Maybe DGSource() can work here.

Kermit25
20th November 2013, 20:30
I use FFMSIndex

I use a FFMSIndex , because it correctly decodes the image. The DGA or DGAVC macroblocks appear on every other frame.

LoadPlugin("C:\Program Files\GordianKnot\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\Goof_job\T1_Video.mkv") #first I indexing, and filtr create *.ffindex file
Load_Stdcall_Plugin("C:\Program Files\GordianKnot\MeGUI\tools\yadif\yadif.dll")
Yadif(order=1)
LanczosResize(640,480,8, 0, -8, 0) # Lanczos (Sharp)
LoadPlugin("C:\Program Files\GordianKnot\MeGUI\tools\avisynth_plugin\UnDot.dll")
Undot() # Minimal Noise

Guest
20th November 2013, 20:52
I'm talking about DGDecNV, which correctly handles PAFF.

If you like to provide a sample I can test it.

Kermit25
20th November 2013, 21:50
DGDecNV is not work on my PC.... soo I cane use them :(

This is a sample:
http://www.sendspace.com/file/ddneo7

Guest
20th November 2013, 22:35
To me it's obvious that I (not IDR) frames have to be treated heuristically. DGDecNV handles these streams properly. Possibly other source filters may not always optimistically interpret I frames in appropriate cases.

Kermit25
22nd November 2013, 10:09
The problem is that I do not have a Nvidia graphics card. The program does not work for me. Appears mistake in the file nvcuda.dll

That is why I am looking for help in alternatwnym software. At last on the market are also ATI Radeon graphics card. Why is this DGDecNV can not work on ATI? Or can act, then what am I doing wrong?

Guest
22nd November 2013, 11:41
Well, DGDecV requires nVidia because it uses the CUVID API.

You said FFMSIndex correctly decodes it, so why can't you just use that directly, outside of MeGUI?

Kermit25
23rd November 2013, 10:20
So I use FFMSIndex, but the point is that NOT EVERY .ts file can be opened by him. 4/10 FFMSIndex file opens, but the rest did not. Appears the unfortunate mistake "-seekToIFrames" and I'm stuck.
It seems that we agreed not to :) I'm not looking for answers "How to open files AVC?". Looking for answers: "How to open these files AVC, which is not open in the normal way?" Your answer is certainly good, but binds with the reconstruction / replacement. At the moment impossible.

Maybe there's some other way?

BTW. Remux ts ->mkv - recommended by Atak_Snajpera - doesn't help.

Atak_Snajpera
23rd November 2013, 13:12
why don't you use old school method? directshowsource() with installed ffdshow and haali media splitter.

btw your video has unusual width of 544?? not very common in pal world. i would expect 720 or 704.

kieranrk
28th November 2013, 19:44
why don't you use old school method? directshowsource() with installed ffdshow and haali media splitter.

btw your video has unusual width of 544?? not very common in pal world. i would expect 720 or 704.

This is quite common in fact and is allowed in DVB.

the_weirdo
29th November 2013, 06:04
@Kermit25
You may also try this (http://forum.doom9.org/showthread.php?t=167435) source filter.