User User name Password  
   
Tuesday 28.5.2024 / 21:12
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > hd dvd discussion > audio adjustment for 25fps to 24fps
Show topics
 
Forums
Forums
Audio adjustment for 25fps to 24fps
  Jump to:
 
Posted Message
ranosb
Junior Member
_
2. July 2009 @ 20:05 _ Link to this message    Send private message to this user   
I have a mkv hdtv video that was encoded at 25fps but will not play on my Sony Bdp-s301 when I convert the video to Avchd.
So I adjust the settings in Tsmuxer to change the frames p/s to 24 and it now plays but the audio is out of sync.
What adjustment to the audio do I need to sync this video going from 25fps to 24, or even 23.967fps?
Thanks experts!

Format                           : Matroska
File size                        : 1.09 GiB
Duration                         : 39mn 28s
Overall bit rate                 : 3 963 Kbps
Encoded date                     : UTC 2009-02-09 12:46:53
Writing application              : mkvmerge v2.4.1 ('Use Me') built on Dec  5 2008 18:30:05
Writing library                  : libebml v0.7.7 + libmatroska v0.8.1

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L3.1
Format settings, CABAC           : Yes
Format settings, ReFrames        : 3 frames
Muxing mode                      : Container profile=Unknown@3.1
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 39mn 28s
Bit rate                         : 3 500 Kbps
Nominal bit rate                 : 3 576 Kbps
Width                            : 1 280 pixels
Height                           : 720 pixels
Display aspect ratio             : 16/9
Frame rate                       : 25.000 fps
Resolution                       : 24 bits
Colorimetry                      : 4:2:0
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 0.152
Stream size                      : 988 MiB (88%)
Writing library                  : x264 core 65 r1046 71d34b4
Language                         : English

Audio
ID                               : 2
Format                           : AC-3
Format/Info                      : Audio Coding 3
Codec ID                         : A_AC3
Duration                         : 39mn 28s
Bit rate mode                    : Constant
Bit rate                         : 384 Kbps
Channel(s)                       : 6 channels
Channel positions                : Front: L C R, Surround: L R, LFE
Sampling rate                    : 48.0 KHz
Stream size                      : 108 MiB (10%)

This message has been edited since posting. Last time this message was edited on 2. July 2009 @ 20:25

Advertisement
_
__
AfterDawn Addict
_
3. July 2009 @ 06:54 _ Link to this message    Send private message to this user   
If you demux the 25fps audio and load it into BeSweet GUI, you can stretch it to 24.000 ('Change frame rate') or 23.976 (Presets)
The interface is odd, but you:
1 select the input file (it assumes the same path for output).
2 choose 'Change frame rate' or the Presets.
3 the output format
4 click ac3 to ac3

Then mux it back with the video.


ranosb
Junior Member
_
3. July 2009 @ 13:07 _ Link to this message    Send private message to this user   
Besweet Im going to give it a try, in ac3 mode and the 6ch waves...
In the Ac3 mode it errors out after only 13min of audio.

BeSweet v1.4 by DSPguru.                          
--------------------------
Using azid.dll v1.8 (b825) by Midas  (midas@egon.gyaloglo.hu).
Using Shibatch.dll v0.2 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 07/04/09 , 01:27:24.

C:\program files\BeSweet\BeSweet.exe -core( -input LOST S05E02-The Lie.track_2.ac3
-output FIX06.ac3 -logfile C:\program files\tsMuxeR\BeSweet.log ) 
-azid( -c normal -g 0.95 -L -3db ) -ota( -r 25000 23976 ) -ac3enc( -b 384 ) 

[00:00:00:000] +------- BeSweet -----                          
[00:00:00:000] |  Input : LOST S05E02-The Lie.track_2.ac3
[00:00:00:000] |  Output: FIX06.ac3
[00:00:00:000] |  Floating-Point Process: No
[00:00:00:000] +-------- AZID -------                              
[00:00:00:000] |  Input Channels Mode: 3/2, Bitrate: 384kbps
[00:00:00:000] |  Total Gain: 6.620dB, Compression:  Normal 
[00:00:00:000] |  LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] |  Center   mix level: BSI
[00:00:00:000] |  Surround mix level: BSI
[00:00:00:000] |  Dialog normalization: No
[00:00:00:000] |  Rear channels filtering: No
[00:00:00:000] |  Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- FRC --------
[00:00:00:000] |  Source Frame-Rate: 25000
[00:00:00:000] |  Dest.  Frame-Rate: 23976
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] |  Bitrate method  : CBR
[00:00:00:000] |  AC3 bitrate     : 384
[00:00:00:000] |  Channels Mode   : 5.1
[00:00:00:000] |  Error Protection: Yes
[00:00:00:000] +---------------------

Thanks

This message has been edited since posting. Last time this message was edited on 3. July 2009 @ 13:40

AfterDawn Addict
_
3. July 2009 @ 17:13 _ Link to this message    Send private message to this user   
I converted a two hour 5.1 AC3 stream through it twice without any failure.

The log reflects different versions of BeSweet and azid.dll from your own - don't know if it's relevant.

BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas (midas@egon.gyaloglo.hu).
Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 07/03/09 , 17:02:35.

C:\Program Files\old_BeSweet\BeSweet.exe -core( -input C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352.ac3 -output C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352-New.ac3 -logfilea C:\Program Files\old_BeSweet\BeSweet.log ) -azid( -c normal -L -3db ) -ota( -hybridgain ) -ac3enc( -b 448 -6ch )

[00:00:00:000] +------- BeSweet -----
[00:00:00:000] | Input : C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352.ac3
[00:00:00:000] | Output: C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352-New.ac3
[00:00:00:000] | Floating-Point Process: No
[00:00:00:000] +-------- AZID -------
[00:00:00:000] | Input Channels Mode: 2/0, Bitrate: 256kbps
[00:00:00:000] | Total Gain: 0.000dB, Compression: Normal
[00:00:00:000] | LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] | Center mix level: BSI
[00:00:00:000] | Surround mix level: BSI
[00:00:00:000] | Dialog normalization: No
[00:00:00:000] | Rear channels filtering: No
[00:00:00:000] | Source Sample-Rate: 48.0KHz
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] | Bitrate method : CBR
[00:00:00:000] | AC3 bitrate : 448
[00:00:00:000] | Channels Mode : 5.1
[00:00:00:000] | Error Protection: Yes
[00:00:00:000] +---------------------
ranosb
Junior Member
_
3. July 2009 @ 20:11 _ Link to this message    Send private message to this user   
Ok, I was using the stable version, upgraded to the beta, newer version.
It worked in ac3 mode but, the file converted 5.1 to 2ch stereo.?
I have the "create 5.1 Ac3" checkbox selected under AC3/OGG/PCM, what am I doing wrong?
Thanks!

This message has been edited since posting. Last time this message was edited on 3. July 2009 @ 20:13

AfterDawn Addict
_
3. July 2009 @ 20:26 _ Link to this message    Send private message to this user   
The difference I see in the command line display window.

5.1 command line

C:\Program Files\old_BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352.ac3" -output "C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352-New.ac3" -logfilea "C:\Program Files\old_BeSweet\BeSweet.log" ) -azid( -c normal -L -3db ) -ota( -r 25000 23976 -hybridgain ) -ac3enc( -b 384 -6ch )

Stereo command line

"C:\Program Files\old_BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352.ac3" -output "C:\Documents and Settings\Superuser\Desktop\mtsfolder\1.track_4352-New.ac3" -logfilea "C:\Program Files\old_BeSweet\BeSweet.log" ) -azid( -s stereo -c normal -L -3db ) -ota( -r 25000 23976 -hybridgain ) -ac3enc( -b 384 ) -profile( ~~~~~ Default Profile ~~~~~ )

This message has been edited since posting. Last time this message was edited on 3. July 2009 @ 20:29

ranosb
Junior Member
_
3. July 2009 @ 21:35 _ Link to this message    Send private message to this user   
Program seems a little buggy at times when changing settings, you have to restart the program sometimes.
But I got the 5.1 (ac3 to ac3) fps change to work and it looks like a success!

BeSweet v1.5b31 by DSPguru.
--------------------------
Using azid.dll v1.9 (b922) by Midas  (midas@egon.gyaloglo.hu).
Using Shibatch.dll v0.25 by Naoki Shibata & DSPguru (shibatch.sourceforge.net).
Using AC3enc.dll v1.20 (Feb 18 2004) by Fabrice Bellard (http://ffmpeg.org).

Logging start : 07/04/09 , 11:07:35.

C:\program files\tsMuxeR\BeSweet\BeSweet.exe -core( -input LOST S05E02-The Lie.track_2.ac3 -output LOST S05E02-The Lie.track_2-New.ac3 -logfile C:\program files\tsMuxeR\BeSweet\BeSweet.log ) -azid( -c normal -g 0.95 -L -3db ) -ota( -r 25000 23976 ) -ac3enc( -b 384 -6ch ) 

[00:00:00:000] +------- BeSweet -----                          
[00:00:00:000] |  Input : LOST S05E02-The Lie.track_2.ac3
[00:00:00:000] |  Output: LOST S05E02-The Lie.track_2-New.ac3
[00:00:00:000] |  Floating-Point Process: No
[00:00:00:000] +-------- AZID -------                              
[00:00:00:000] |  Input Channels Mode: 3/2, Bitrate: 384kbps
[00:00:00:000] |  Total Gain: 6.620dB, Compression:  Normal 
[00:00:00:000] |  LFE levels: To LR -3.0dB, To LFE 0.0dB
[00:00:00:000] |  Center   mix level: BSI
[00:00:00:000] |  Surround mix level: BSI
[00:00:00:000] |  Dialog normalization: No
[00:00:00:000] |  Rear channels filtering: No
[00:00:00:000] |  Source Sample-Rate: 48.0KHz
[00:00:00:000] +-------- FRC --------
[00:00:00:000] |  Source Frame-Rate: 25000
[00:00:00:000] |  Dest.  Frame-Rate: 23976
[00:00:00:000] +------- AC3ENC ------
[00:00:00:000] |  Bitrate method  : CBR
[00:00:00:000] |  AC3 bitrate     : 384
[00:00:00:000] |  Channels Mode   : 5.1
[00:00:00:000] |  Error Protection: Yes
[00:00:00:000] +---------------------
[00:39:25:536] Conversion Completed !
[00:39:25:536] Actual Avg. Bitrate  : 400kbps
[00:16:19:000] <-- Transcoding Duration

Thank you!

Besweet doesn't take .aac files I see. Whats the workaround for that?

This message has been edited since posting. Last time this message was edited on 4. July 2009 @ 00:01

AfterDawn Addict
_
4. July 2009 @ 06:16 _ Link to this message    Send private message to this user   
I don't know about aac - except that BeSweet can output them.
Perhaps if they were input as wav?

Doom9 is probably the best place to ask.

http://www.doom9.org/index.html?/belight-ac3toaac.htm
ranosb
Junior Member
_
4. July 2009 @ 18:49 _ Link to this message    Send private message to this user   
Is there any pitch change going from 25fps to 23.976 with Besweet?

I heard its better to produce 6ch wav files with Besweet and convert to Ac3 with Soft Encode but apparently the program has been discontinued.
AfterDawn Addict
_
4. July 2009 @ 20:28 _ Link to this message    Send private message to this user   
From what I have read, the -r is supposed to convert the framerate without changing the pitch.

"C:\Program Files\old_BeSweet\BeSweet.exe" -core( -input "C:\Documents and Settings\Superuser\Desktop\clip.wav" -output "C:\Documents and Settings\Superuser\Desktop\clip-New.wav" -2ch -logfilea "C:\Program Files\old_BeSweet\BeSweet.log" ) -ota( -r 25000 23976 -hybridgain )

Notwithstanding, I can hear a slight pitch change in this sample.
Compare the original to the BeSweet version.
Then the BeSweet version after it has been adjusted with Audacity.

http://www.mediafire.com/?sharekey=2cb81...95965eaa7bc68bc
ranosb
Junior Member
_
5. July 2009 @ 00:18 _ Link to this message    Send private message to this user   
So you use Audacity after besweet to adjust the pitch?

How about subtitles with .sup extension, how do you adjust the frame rate for those as well?

This message has been edited since posting. Last time this message was edited on 5. July 2009 @ 01:04

AfterDawn Addict
_
5. July 2009 @ 06:32 _ Link to this message    Send private message to this user   
The latest release of Audacity can input/output AC3 files - so BeSweet can possibly be by-passed.
Load the original 25fps AC3 into Audacity, select Effect > Pitch and Tempo > Change Tempo and adjust by (25/23.976)*100 = 104.27093
Insert -4.27093 as the percentage change.
Re-drag the original audio in with the adjusted and compare the pitch.
In this sample, I used a wav file from an avi that was 63 seconds.
After adjustment it was 66 seconds (which matched the length of the video where I changed the frame rate using VirtualDub).

SubtitleCreator can adjust frame rate of sup/idx files.


ranosb
Junior Member
_
6. July 2009 @ 15:17 _ Link to this message    Send private message to this user   
I believe SubtitleCreator is for .sup from Dvd's.

BDSup2Sub is supposed to be from a Blu-Ray disc, like from the mkv I posted. Will give em a try...

Thanks

This message has been edited since posting. Last time this message was edited on 7. July 2009 @ 02:08

ranosb
Junior Member
_
7. July 2009 @ 15:33 _ Link to this message    Send private message to this user   
Audacity
How do I download and install the FFmpeg Import/Export Library?

Windows:

1. Download the FFmpeg installer (avformat-52.dll)

403 - Forbidden
Can't download the FFmpeg installer to import ac-3 files.?

This message has been edited since posting. Last time this message was edited on 7. July 2009 @ 15:34

AfterDawn Addict
_
7. July 2009 @ 15:52 _ Link to this message    Send private message to this user   
Try Edit > Preferences.


ranosb
Junior Member
_
7. July 2009 @ 20:33 _ Link to this message    Send private message to this user   
Thats what I did, clicked download, it took me
to a website, when I tried to download the link,
I got the forbidden message

Ever try Besweet to convert ac-3 to 6 mono wav files, then Soft Encoder to convert to ac-3? Heard the quality is a lot better...

This message has been edited since posting. Last time this message was edited on 7. July 2009 @ 22:43

Advertisement
_
__
 
_
ranosb
Junior Member
_
8. July 2009 @ 00:33 _ Link to this message    Send private message to this user   
Where do you get the azid file for transcoding DTS in besweet?
afterdawn.com > forums > archived forums > hd dvd discussion > audio adjustment for 25fps to 24fps
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2024 by AfterDawn Ltd.

  IDG TechNetwork