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.


charley

183 posts

Master Geek


#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
andrewdixon1000
76 posts

Master Geek


  #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

sub
358 posts

Ultimate Geek


  #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.

charley

183 posts

Master Geek


  #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?




charley

183 posts

Master Geek


  #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)

lchiu7
6470 posts

Uber Geek

Trusted

  #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.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


charley

183 posts

Master Geek


  #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.

lchiu7
6470 posts

Uber Geek

Trusted

  #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.




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


 
 
 

Cloud spending continues to surge globally, but most organisations haven’t made the changes necessary to maximise the value and cost-efficiency benefits of their cloud investments. Download the whitepaper From Overspend to Advantage now.
charley

183 posts

Master Geek


  #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.


lchiu7
6470 posts

Uber Geek

Trusted

  #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?




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


charley

183 posts

Master Geek


  #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


lchiu7
6470 posts

Uber Geek

Trusted

  #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




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


charley

183 posts

Master Geek


  #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.

lchiu7
6470 posts

Uber Geek

Trusted

  #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




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


charley

183 posts

Master Geek


  #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.

lchiu7
6470 posts

Uber Geek

Trusted

  #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.....




Staying in Wellington. Check out my AirBnB in the Wellington CBD.  https://www.airbnb.co.nz/h/wellycbd  PM me and mention GZ to get a 15% discount and no AirBnB charges.


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





News and reviews »

Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01


Epson Launches New AM-C550Z WorkForce Enterprise printer
Posted 9-Jul-2025 18:22


Samsung Releases Smart Monitor M9
Posted 9-Jul-2025 17:46


Nearly Half of Older Kiwis Still Write their Passwords on Paper
Posted 9-Jul-2025 08:42


D-Link 4G+ Cat6 Wi-Fi 6 DWR-933M Mobile Hotspot Review
Posted 1-Jul-2025 11:34


Oppo A5 Series Launches With New Levels of Durability
Posted 30-Jun-2025 10:15









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.