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! Code: 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%)
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.
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. Code: 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
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] +---------------------
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!
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 ~~~~~ )
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! Code: 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?
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
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.
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=2cb811b91a406ac06e7203eb87368129ed0837ad6c4419afc95965eaa7bc68bc
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?
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.
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
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.?
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...