Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


183 posts

Master Geek


Topic # 25982 8-Sep-2008 15:22
Send private message

Yes looking for Directshow Filter(s) for AAC audio in NZ TS files. Do they exist? I'm not having much luck finding one :(

I demuxed the aac audio stream and in winamp it lables it as version HE-AAC. Not sure if it's v1 or v2
http://en.wikipedia.org/wiki/HE-AAC#Decoding

Google search led me to these places but none of them worked :(
http://www.elecard.com/products/products-pc/codec-pack/avc-codec
http://www.orban.com/plugin
http://www.rarewares.org/aac-decoders.php
http://sourceforge.net/projects/ffdshow-tryout/
http://www.free-codecs.com/download/3ivx.htm
http://www.free-codecs.com/download/CoreAAC_Directshow_filter.htm


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3 | 4
73 posts

Master Geek


  Reply # 163090 8-Sep-2008 15:26
Send private message

Monogram AAC decoder

http://blog.monogram.sk/janos/2008/04/20/monogram-aac-decoder-0950/

Andy

sub

290 posts

Ultimate Geek
+1 received by user: 20


  Reply # 163098 8-Sep-2008 15:43
Send private message

Its worth noting that even with a compatible audio decoder installed, very little software will be able to play the files. This is because very few applications know how to demultiplex this type of audio - they just see it as some unknown data type and are unable to realise it is HE-AAC audio, so are unaware what type of decoder they need to look for, and dont know how to process the data.

A few apps like GB-PVR etc can handle this audio.



183 posts

Master Geek


  Reply # 163100 8-Sep-2008 15:52
Send private message

Yes it's a tricky one being able to get this aac file played in a directshow player or loaded into graphedit.

Mayb we also need a directshow demuxer/splitter that supports HE-AAC?




183 posts

Master Geek


  Reply # 163852 11-Sep-2008 20:34
Send private message

I still havnt found a directshow filter that supports nz freeviews he-aac audio yet. But if you convert the he-aac audio to lc-aac with ArcSoft Media converter then mux that into the video stream with smartLabs tsMuxeR, the directshow Haali Media Splitter filter will pick up both video and audio.

That opens up all sorts of options. One example is i can now use avisynth to crop a recorded ts file like "wipe out" that was 4:3 yet broadcast as 16:9 giving you black boarders all around the picture on a crt tv so it now has no black boarders and can take up whole screen. To play it in CyberLink PowerDVD 8 or ArcSoft TotalMedia Theatre though i had use an AVI wrapper like makeAVIS since those players dont support avs files.

The cool thing about using avisynth in this way is that you can crop the ts file and watch it on the fly. No re-encoding needed to crop the video.

p.s if you have sync issues when seeking add EnsureVBRMP3Sync to your script before crop. It works with aac and mpa audios.

e.g
DirectShowSource("Hogan_Knows_Best.ts")
EnsureVBRMP3Sync()
Crop(96,0,-96,-0)

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 164268 13-Sep-2008 19:44
Send private message

Interesting experiences. I used Mediaconverter to convert some .ts files with AAC-HE audio and transformed the audio to AAC-LE. Then demuxed the audio out using mp4box and muxed it back with the original video file throwing away the AAC-HE audio. While it works, I found I was getting audio out of sync and gave up in the end as not being a reliable process.  In some situations the audio would disappear completely. Not sure if that is a reception problem I have with my captured files or something else.

Anyway you seem to have it worked out which is good for you.




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




183 posts

Master Geek


  Reply # 164271 13-Sep-2008 20:03
Send private message

ArcSoft Media converter is the only tool i've found so far that gives a lc-aac or mpa/mp2 audio that stays insync with the opriginal video. Hopefully Haali Media Splitter filter or some other filter plans to add support for our nz he-aac audio. Would be great to eliminate the audio conversion, demux/remux steps.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 164300 14-Sep-2008 06:54
Send private message

Just out of interest I tried this again. Captured about 30 minutes from TV2 (Scary Movie 4) using gbpvr. Converted the .ts file to mp4 using MediaConverter. Demuxed the audio using YAMB and muxed it back with the original video with tsmuxer. It works but 3/4 through the movie the audio drops out and the video goes strange. The file from MC seems to be okay so it must be a problem with the muxing process.




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




183 posts

Master Geek


  Reply # 164383 14-Sep-2008 19:28
Send private message

I havnt come across that problem so far. If the h.264 source and the demuxed aac is ok then i agree the remuxer could be the cause? Is their another remuxer you can try?
Out of interest have you tried getting your converted lc-aac audio using another method say: convert raw.aac to wav with winamp then encode with faad2 or neroAacEnc.exe? I cant see the audio causing the video to play up but you never know?

I tried out "Elecard Converter Studio" today and succesfully converted the audio to lc-aac. Once remuxed with the original h.264 stream i tested the ts file out with powerdvd and got sync issues with both hardware accel on and off. Arcsoft media theater on the other hand played it fine without sync issues with hardware accel off. (couldnt test it with h/w accel on because source was c4 and my card is an ati hd4850)

p.s With Arcsoft media converter powerdvd plays ts file fine and insync with both hardware accel on and off.


4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 164868 16-Sep-2008 16:48
Send private message

Well you had much better luck than me. I have tried to demux the audio and process it in Winamp to create a wav file. It works but the program I am using (dgavcindex) occasionally crashes on large .ts files and/or stops prematurely before the end of the file. What program are you using to demux the audio?




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




183 posts

Master Geek


  Reply # 164878 16-Sep-2008 17:19
Send private message

I use either DGAVCDec or MPlayer. For MPlayer i created a batch file for convenience.

Here's my batchfile example for audio extraction.

@echo off
chcp 1252 >nul
D:
cd "D:\MPlayer for Windows\mplayer"
mplayer.exe "D:\nzdvbt.ts" -dumpaudio -dumpfile "D:\raw.aac"
echo.
pause





Here's my batchfile example for video extraction.


@echo off
chcp 1252 >nul
D:
cd "D:\MPlayer for Windows\mplayer"
mplayer.exe -dumpvideo -dumpfile "D:\raw.264" "D:\nzdvbt.ts"
echo.
pause


4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 165069 17-Sep-2008 12:42
Send private message

OK - played around with this with mixed success

1. Demuxed the audio using mplayer - it worked and created an aac file but ended with a core dump or something but the file seemed to have the right length

2. Converted the aac file to wav using Winamp

3. Converted the wav file to ac-3 and AAC using Besweet

Demuxed the video using dgavcindex and also tsmuxer. Both files seemed to play fine (albeit with no audio)

Muxed the audio back with Tsremuxer (something like that)

The files plays fine for abut 50% and then the video goes all jerky and sound is out of sync

Then tried muxing the file into a MKV container using AC-3 audio. This gave the best result but the audio slowly got out of sync until after 15 minutes it was about 10 seconds out!

So no joy so far




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




183 posts

Master Geek


  Reply # 165080 17-Sep-2008 13:05
Send private message

Whats a core dump?

You dont have to demux the video. Just load the original ts file into tsMuxeR then add the newly created lc-aac file.

Strange how your having issues after 50%. Have you tried a different ts file? Do those problems occur when playing it in vlc-0.9.2?
I'd also test playback with h/w accel on and off.

I hope you get it working. Is so much better watching bordered recordings in full screen.

p.s I use AvsP to find crop settings for each ts recording. It has a window preview with slider.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 165126 17-Sep-2008 17:33
Send private message

OK - I run this command line with mplayer and get this result

Playing c:\x264\Scary Movie 4_20080913214600.ts.
TS file format detected.
VIDEO H264(pid=271) AUDIO AAC(pid=321) NO SUBS (yet)!  PROGRAM N. 0
TS_PARSE: COULDN'T SYNC
Core dumped ;)

Exiting... (End of file)

The file seems okay and plays in winamp generating a wav file

I know you don't have to demux - you can open the original ts file in tsmuxer and it just complains about the audio and rejects it (Some tracks not recognized. This tracks was ignored).

However when I mux it back with any audio the file plays only about 50% and then jumps around with audio way out of sync

If I demux the video and mux it back with AC-3 audio into a MKV container, this works but it slowly goes out of sync.

I am playing with PowerDVD8 and also with a Popcorn Hour




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 




183 posts

Master Geek


  Reply # 165142 17-Sep-2008 18:33
Send private message

Your observant :)

oh right the demuxing for mkv file....my bad.


When playing the mkv file is their a glitch of some sort around the time where the video goes jerky in the remuxed ts file?

Can you open these files in graphedit and if so are the same filters used?
I also suggest playing the remuxed ts file with vlc-0.9.2, Media Player Classic Home Cinema v1.1.604.0 and wmp 6.4 to test if you still get that jerky behaviour around the 50% mark.

4889 posts

Uber Geek
+1 received by user: 97

Trusted

  Reply # 165349 18-Sep-2008 14:24
Send private message

I did another test. Recorded Two and Half Men from TV2. Demuxed the audio using tsremux, converted to wav using Winamp and back to AC-3 using Besweet. Then muxed it back to a .ts file using Tsmuxergui. The audio was 14s behind the video!  But once I compensated for that b adding in a delay, the entire 30 minute played in sync. So strange.....




System One: Popcorn Hour A200,  PS3 SuperSlim, NPVR and Plex Server running on Gigabyte Brix (Windows 10 Pro), Sony BDP-S390 BD player, Pioneer AVR, Raspberry Pi running Kodi and Plex, Panasonic 60" 3D plasma, Google Chromecast

System Two: Popcorn Hour A200 ,  Oppo BDP-80 BluRay Player with hardware mode to be region free, Vivitek HD1080P 1080P DLP projector with 100" screen. Harman Kardon HK AVR 254 7.1 receiver, Samsung 4K player, Google Chromecast

 


My Google+ page 

 

 

 

https://plus.google.com/+laurencechiu

 

 


 1 | 2 | 3 | 4
View this topic in a long page with up to 500 replies per page Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Microsoft Dynamics 365 Business Central launches
Posted 10-Jul-2018 10:40


Spark completes first milestone in voice platform upgrade
Posted 10-Jul-2018 09:36


Microsoft ices heated developers
Posted 6-Jul-2018 20:16


PB Technologies charged for its extended warranties and warned for bait advertising
Posted 3-Jul-2018 15:45


Almost 20,000 people claim credits from Spark
Posted 29-Jun-2018 10:40


Cove sells NZ's first insurance policy via chatbot
Posted 25-Jun-2018 10:04


N4L helping TAKA Trust bridge the digital divide for Lower Hutt students
Posted 18-Jun-2018 13:08


Winners Announced for 2018 CIO Awards
Posted 18-Jun-2018 13:03


Logitech Rally sets new standard for USB-connected video conference cameras
Posted 18-Jun-2018 09:27


Russell Stanners steps down as Vodafone NZ CEO
Posted 12-Jun-2018 09:13


Intergen recognised as 2018 Microsoft Country Partner of the Year for New Zealand
Posted 12-Jun-2018 08:00


Finalists Announced For Microsoft NZ Partner Awards
Posted 6-Jun-2018 15:12


Vocus Group and Vodafone announce joint venture to accelerate fibre innovation
Posted 5-Jun-2018 10:52


Kogan.com to launch Kogan Mobile in New Zealand
Posted 4-Jun-2018 14:34


Enable doubles fibre broadband speeds for its most popular wholesale service in Christchurch
Posted 2-Jun-2018 20:07



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.