Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
24th July 2008, 04:20 | #1181 | Link | |
Registered User
Join Date: Oct 2006
Posts: 303
|
Quote:
|
|
24th July 2008, 07:05 | #1183 | Link |
Registered User
Join Date: Apr 2002
Posts: 279
|
I know you don't support LATM/LOAS audio streams in .ts files but dgavcindex certainly knows they are there when you do Detect PIDS and occasionally they show up when you do Audio Demux.
How hard would it be to implement limited support - i.e. recognise the streams correctly and allow them to be demuxed from the H.264 video? On occasions I have been able to demux them from some files and convert to wav using winamp, on other occasions while there is audio in the file (same format) dgavcindex doesn't see any audio at all. Don't need to have convert to wav which I guess would be more work to implement. Thanks |
24th July 2008, 14:42 | #1184 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
|
|
24th July 2008, 21:13 | #1185 | Link | |
Registered User
Join Date: Apr 2002
Posts: 279
|
Quote:
http://www.datamix.info/one news aac_.edit.ts This one cannot be demuxed or shows no audio at all http://www.datamix.info/One audio.ts They are about 18mb and 35mb in size - trust that is not an issue Thanks |
|
24th July 2008, 22:36 | #1187 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
Wasn't too hard to guess
http://www.datamix.info/one%20news%20aac_.edit.ts http://www.datamix.info/One%20audio.ts
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
24th July 2008, 22:54 | #1188 | Link | |
Registered User
Join Date: Apr 2002
Posts: 279
|
Quote:
|
|
24th July 2008, 23:25 | #1190 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
Donald might be a strange question but do you have the time and will to help the Avidemux guys with their M2TS AVC parsing/indexing ? at least could you take a glimpse @ the source of the parser/indexer and give a advise ?
http://bugs.avidemux.org/index.php?d...ls&task_id=467
__________________
all my compares are riddles so please try to decipher them yourselves :) It is about Time Join the Revolution NOW before it is to Late ! http://forum.doom9.org/showthread.php?t=168004 Last edited by CruNcher; 24th July 2008 at 23:37. |
25th July 2008, 00:37 | #1191 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
What language is Avidemux implemented in?
Are they trying to duplicate the functionality of DGAVCDec? I don't mind, but I can tell you it is hard. It's not something you can just crank out. It needs a sustained attack and a lot of non-obvious heuristics to make AVC random access work. If they are trying to duplicate DGAVCDec functionality, I can just give them my source code. If not, then what are they trying to do? Bear in mind, I know nothing about Avidemux. |
25th July 2008, 00:57 | #1192 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
It's written in C++ and the MPEG PS/TS/ES demuxer can be found here, I think:
http://svn.berlios.de/wsvn/avidemux/...M_mpegdemuxer_ BTW: Avidemux creates index files to implement random access, similar (but most likely not identical) to DG(AVC)Index...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 25th July 2008 at 01:04. |
25th July 2008, 01:20 | #1193 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
So where is the problem, in the M2TS parser or the AVC indexer? Let me try to find that out by asking these questions:
1. Does an MPEG2 elementary stream inside an M2TS transport stream open, and indexing works correctly? 2. Does an AVC elementary stream (not in M2TS) open, and indexing works correctly? 3. Is it just AVC elementary in M2TS that goes wrong? |
25th July 2008, 01:28 | #1194 | Link | |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Quote:
I wasn't aware that Winamp had an output plugin! Last edited by Guest; 25th July 2008 at 01:42. |
|
25th July 2008, 01:45 | #1195 | Link |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
I think Avidemux can handle both, MPEG-2 and AVC, from Transport Stream. Elementary AVC doesn't work to my experience.
One of the biggest problems in Avidemux is frame-accurate access to AVC in general, no matter what container (MP4, AVI, MKV, TS). Avidemux switches to a "special" mode for AVC video and then you loose frame-accuracy, because the decoder will buffer a number of frames "internally" in that mode. When you seek forth and back, the same frame# doesn't necessarily show the same picture. I think this is more a problem in the decoder part than in the indexing part. But MEAN or Gruntster might answer this more accurately. If I remember correctly, then MEAN said once that "frame reordering" (???) for AVC is not implemented properly yet and that it's very hard to do...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 25th July 2008 at 01:58. |
25th July 2008, 02:12 | #1196 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Then it sounds like a long, involved job to fix that for Avidemux. I have my hands full with DGAVCDecode. If it was just a little problem in the M2TS parsing that would be another matter, although I note that all the M2TS parsing hacks in there are prefixed with "FIXME" comments.
Soon I will release source code for DGAVCDec, at which point the method for indexing and random access of AVC will be available for re-use. The biggest complication is ensuring that the needed SPS/PPS's are available and injected when needed. Last edited by Guest; 25th July 2008 at 02:14. |
25th July 2008, 02:20 | #1197 | Link | |
Software Developer
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
|
I found this quote:
Quote:
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ Last edited by LoRd_MuldeR; 25th July 2008 at 02:22. |
|
25th July 2008, 03:56 | #1199 | Link |
Registered User
Join Date: Oct 2006
Posts: 303
|
I have a question about demuxing the video stream and the extension. I think you give it an avc extension, is there any difference between .264, .h264 and .avc? I use megui and it is looking for .264 as an extension for the muxer. There isn't anyway to tell DGAVCIndex to create a demuxed video stream with a different extension, is there? I just renamed it, is there any significance to the avc extension?
|
25th July 2008, 04:07 | #1200 | Link | |||
Guest
Join Date: Jan 2002
Posts: 21,901
|
I suppose some applications might require certain extensions.
Quote:
Quote:
Quote:
If renaming is really a big issue for you, I could implement an INI file option to allow you to specify the extension to be used. Last edited by Guest; 25th July 2008 at 04:10. |
|||
Thread Tools | Search this Thread |
Display Modes | |
|
|