Re: Digicam-Video: Skipping frame bei Audio bewirkt Stille am Ende > 1 min.

Maik Holtkamp <[email protected]>
Newsgroups gmane.linux.suse.multimedia.german
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,


0n 10/02/10@22:45 Al Bogner told me:

> Ich habe avi und mov-Files von einer Digicam mit mencoder
> ausgelesen und dabei
> gibt es sehr viele uebersprungene Frames, so dass der Ton viel zu
> schnell ist
> und am Ende mehr als 1 Minute Stille ist.
>
> mencoder "$MOVFILE" -of rawaudio -oac mp3lame -lameopts
> preset=standard -ovc
> copy -o "$MP3FILE"

[Skipped Frames]

> Was koennte man machen, dass der Ton synchron bleibt? Es ist ja
> keine konstante
> Verschiebung und wird immer schlimmer? Haengt das mit 29.970 fps
> zusammen?

Ich weiss ja nicht, was fuer eine Digicam Du benutzt hast, da aber
IMHO liefert ein Grossteil, gerade beim Sound, nur Schrott.

Ich habe das fuer Filme einer Canon Ixus und einer Casio ??? z.B.
so:

- ---cut /usr/local/bin/ixus2mpeg4.sh---
transcode -i $1 -x auto,null -o /tmp/video_noSound.avi -F mpeg4 -y
ffmpeg,null -export_fps 25,3 -f 30,5 -J modfps
mplayer $1 -ao pcm:file=/tmp/sound.wav -vc dummy -vo null
sox /tmp/sound.wav -r 44100 /tmp/sound_44100.wav
lame /tmp/sound_44100.wav /tmp/sound.mp3
avimerge -o ./video.avi -i /tmp/video_noSound.avi -p /tmp/sound.mp3
rm /tmp/video_noSound.avi /tmp/sound.wav /tmp/sound_44100.wav
/tmp/sound.mp3
- ---cut---

gemacht.

- -f solltest Du anpassen.

Das Problem lag IIRC in der sampling rate (11.xxx), die weder
transcode noch mplayer direkt in 44100 wandeln wollten. Daher der
Umweg ueber sox. Das stammt allerdings aus 08/2007. Meine jetzige
Sony hat diese Probleme nicht.

- --
bye maik

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkt5BzQACgkQ0Bn175Anq4jjtACfeW9FAncK/dD1WFHzCNeXonMf
KOoAn25iSJNVYaKMtK4KP0BNs/eB+8ho
=ChW4
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.