[MEncoder-users] some minutes delay between audio and video

Malte Schünemann malte.schuenemann at web.de
Sat Dec 31 15:38:58 CET 2011


Thanks for your comments below

On 12/31/2011 04:08 AM, Bill Crockett wrote:
>
> On 31/12/2011 9:04 AM, Malte Schünemann wrote:
>> I am frequently converting videos coming via satellite as transport 
>> stream. I recently experienced a strange delay between the audio and 
>> the video part that is in the range of minutes. Indeed, the mencoder 
>> output shows
>>
>> The problem happens only if I attempt to cut out advertisings - so 
>> far I only observed the problem at the beginning of the file (cutting 
>> off the first 5 minutes). I tried to overcome the problem with 
>> -audio-delay, but had no success. 
>
> Please read this thread about DVBcut:
>
> http://lists.mplayerhq.hu/pipermail/mencoder-users/2011-December/012989.html 
>
>
I have tried  DVBcut - but unfortunately, it does not recognise my 
videos (although I can play them with mplayer - and mencoder has worked 
in the past as well). When attempting to open the file, I get "Unknown 
file type".

midentify tells me e.g.

ID_VIDEO_ID=511
ID_AUDIO_ID=512
ID_AID_512_LANG=deu
ID_AUDIO_ID=515
ID_AID_515_LANG=deu
ID_SUBTITLE_ID=33
ID_SID_33_LANG=
ID_FILENAME=Die\ wilden\ Kerle_II_20100103_1140.ts
ID_DEMUXER=mpegts
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=15000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=80
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_START_TIME=11166.00
ID_LENGTH=6288.76
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffmpeg2
ID_AUDIO_BITRATE=192000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=ffmp2float
ID_EXIT=EOF

> I spent weeks experimenting with -edl -ss and -endpos with MPEG-TS 
> videos and I could not get A/V sync right.  Don't waste your time like 
> I did.
>
> http://dvbcut.sourceforge.net/index.html
>

This is what I had tried in the past running Fedora - currently, I am 
using Ubuntu 11.10 .

Malte


More information about the MEncoder-users mailing list