Notices

Welcome to the MPC Club forums.

You are currently viewing our boards as a guest which gives you limited access to view discussions, attachments, images and access to our general features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, see attachments and download these without limitations. Registration is fast, simple and absolutely free so please, join our community today and enjoy MPC at it's best!

» Donate @ MPC





» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Stats
Members: 64,800
Threads: 24,078
Posts: 194,316
Welcome to our newest member, btmagic
» MPC Club Advertisers and Sponsors


      

Reply
 
Thread Tools
Old 04-02-10, 06:57   #1
fcarsten
Premium Potential
TIP: Upgrade to Premium
Active Member
 
Join Date: Jan 2010
Location: Australia
Posts: 40
Contribution: 0.02%
Thanks: 2
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default How to play / convert 706D audio stream

I have a movie where the audio stream is encoded in 706D (according to MediaInfo). This plays on my PC, but not surprisingly, not on my 6640N (the video plays but there is no audio). What's the best way to convert this file to something which will play on my 6640N?

Thanks for your help,
Carsten
fcarsten is offline   Reply With Quote
Advertising
Advertising temporarily disabled
Old 07-02-10, 20:04   #2
LeXXuz

Senior Member
 
LeXXuz's Avatar
 
Join Date: Mar 2008
Location: Germany
Posts: 299
Contribution: 0.15%
Thanks: 2
Thanked 19 Times in 17 Posts
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

Originally Posted by fcarsten View Post
I have a movie where the audio stream is encoded in 706D (according to MediaInfo). This plays on my PC, but not surprisingly, not on my 6640N (the video plays but there is no audio). What's the best way to convert this file to something which will play on my 6640N?

Thanks for your help,
Carsten
Can you post the mediainfo output for more information?
LeXXuz is offline   Reply With Quote
Old 09-02-10, 11:00   #3
fcarsten
Premium Potential
TIP: Upgrade to Premium
Active Member
 
Join Date: Jan 2010
Location: Australia
Posts: 40
Contribution: 0.02%
Thanks: 2
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

MediaInfo:

General
Complete name : H:\Doctor Who_20080824_19302015.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 512 MiB
Duration : 50mn 48s
Overall bit rate : 1 408 Kbps
Writing application : MEncoder dev-SVN-rUNKNOWN-4.2.1-sjlj
Writing library : MPlayer

Video
ID : 0
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.1
Format settings, CABAC : Yes
Format settings, ReFrames : 9 frames
Codec ID : h264
Duration : 50mn 48s
Bit rate : 1 200 Kbps
Width : 720 pixels
Height : 406 pixels
Display aspect ratio : 16:9
Frame rate : 25.000 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.164
Stream size : 437 MiB (85%)
Writing library : x264 core 56
Encoding settings : cabac=1 / ref=6 / deblock=1:0:0 / analyse=0x3:0x133 / me=umh / subme=6 / brdo=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=0 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=3 / b_pyramid=1 / b_adapt=1 / b_bias=0 / direct=1 / wpredb=1 / bime=0 / keyint=250 / keyint_min=25 / scenecut=40(pre) / rc=abr / bitrate=1200 / ratetol=1.0 / rceq='blurCplx^(1-qComp)' / qcomp=0.80 / qpmin=10 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30

Audio
Format : 706D
Codec ID : 706D
Duration : 50mn 48s
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Stream size : 69.8 MiB (14%)
Interleave, duration : 21 ms (0.53 video frame)
Interleave, preload duration : 481 ms
fcarsten is offline   Reply With Quote
Old 09-02-10, 11:17   #4
LeXXuz

Senior Member
 
LeXXuz's Avatar
 
Join Date: Mar 2008
Location: Germany
Posts: 299
Contribution: 0.15%
Thanks: 2
Thanked 19 Times in 17 Posts
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

AVC and AAC in an AVI container. Ouch.

Both codecs do not belong in the old AVI container format since they have variable frame sizes and AVI does not support this without custom made hacks for PC playback.

First of all you should try mkvtoolnix to remux this file to a Matroska container.

This is an anamorphic encode, so in mkvtoolnix go to the "extra options" tab of the video stream and append the custom command: "--engage keep_bitstream_ar_info". Otherwise you will lose your aspect ratio information on streamlevel.

This might already solve your playback problem.

Last edited by LeXXuz; 09-02-10 at 13:56.
LeXXuz is offline   Reply With Quote
Old 10-02-10, 05:36   #5
fcarsten
Premium Potential
TIP: Upgrade to Premium
Active Member
 
Join Date: Jan 2010
Location: Australia
Posts: 40
Contribution: 0.02%
Thanks: 2
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

THanks for the tip. Unfortunate;y mkvtoolnix crashes when I try to process the file. I think it incorrectly identifies the Audio codec. Error messages below. The video is not corrupt. It plays fine on my PC.

crash text:
mkvmerge v3.1.0 ('Happy up here') built on Jan 19 2010 12:09:24
'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi': Using the AVI demultiplexer. Opening file. This may take some time depending on the file's size.
'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 0: Extracted the aspect ratio information from the MPEG-4 layer 10 (AVC) video data and set the display dimensions to 721/406.
'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 0: Using the MPEG-4 part 10 ES video output module.
'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Using the AAC audio output module.
The file 'H:\recorded tv\706D\Doctor Who_20080824_19302015.mkv' has been opened for writing.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 22 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Progress: 0%Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 6671 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 2947 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 8342 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 20836 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 36300 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 1038 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 12005 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 33134 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 4067 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 17997 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 39424 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 46174 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 19415 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 27886 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 2065 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 33151 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 24200 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 2446 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
Error: memory.cpp/safememdup() called from file src/output/p_aac.cpp, line 78: malloc() returned NULL for a size of 4294967295 bytes.
fcarsten is offline   Reply With Quote
Old 10-02-10, 09:15   #6
speaker
Premium Potential
TIP: Upgrade to Premium
Addicted to MPC
 
Join Date: May 2007
Posts: 64
Contribution: 0.03%
Thanks: 5
Thanked 2 Times in 2 Posts
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

You can use MediaCoder to convert just the audio stream (uncheck the "Enable Video" checkbox). Then use something like VirtualDub to remux the video and converted audio into a new container.
speaker is offline   Reply With Quote
The Following User Says Thank You to speaker For This Useful Post:
fcarsten (13-02-10)
Old 10-02-10, 12:21   #7
LeXXuz

Senior Member
 
LeXXuz's Avatar
 
Join Date: Mar 2008
Location: Germany
Posts: 299
Contribution: 0.15%
Thanks: 2
Thanked 19 Times in 17 Posts
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

Originally Posted by fcarsten View Post
THanks for the tip. Unfortunate;y mkvtoolnix crashes when I try to process the file. I think it incorrectly identifies the Audio codec. Error messages below. The video is not corrupt. It plays fine on my PC.

crash text:

Warning: 'H:\recorded tv\706D\Doctor Who_20080824_19302015.avi' track 1: Skipping 22 bytes (no valid AAC header found). This might cause audio/video desynchronisation.
I was afraid that this might happen. The AAC sequence headers have been modified to get "squeezed" into the AVI container segments.

Since AvimuxGUI is one of these bad boys muxing AVC/AAC into avi, try to use it to demux the audio stream. Then import the RAW AAC audio stream in mkvtoolnix.

If this does not work I guess you have to recode your audio file.
When the file plays correctly on your PC you can use any tool relying on DirectShow to recode your audio track.
Good luck!
LeXXuz is offline   Reply With Quote
The Following User Says Thank You to LeXXuz For This Useful Post:
fcarsten (13-02-10)
Old 13-02-10, 02:08   #8
fcarsten
Premium Potential
TIP: Upgrade to Premium
Active Member
 
Join Date: Jan 2010
Location: Australia
Posts: 40
Contribution: 0.02%
Thanks: 2
Thanked 1 Time in 1 Post
Downloads: 0
Uploads: 0
Default Re: How to play / convert 706D audio stream

MediaCoder did the trick, thanks!

Funnily, however only when re-encoding the video stream as well. If I select "copy" for the video stream it gets screwed up. (However, as its only some rtecorded TV shows, it's not really a problem for me)
fcarsten is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


» MPC Club long term sponsors lined up...
      
Powered by vBadvanced CMPS v3.2.1 - twisted by vbTwist and Hi-Jack (MPC Club)