convertire audio avi (pcm -> mp3 o altro)
Allora per ragioni non proprio chiare pare che openshot (o meglio MLT) non digerisca i pcm (a/v out of sync dopo tagli e cose coś)
Leggendo un po in giro sembra che con l'audio in formato diverso da pcm il problema sparisca.
Io ho un video con queste caratteristiche
Citazione:
Complete name : DSCN2521.AVI
Format : AVI
Format/Info : Audio Video Interleave
Format profile : OpenDML
File size : 985 MiB
Duration : 16mn 4s
Overall bit rate : 8 570 Kbps
Video
ID : 0
Format : JPEG
Codec ID : MJPG
Duration : 16mn 4s
Bit rate : 8 502 Kbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:2
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.923
Stream size : 977 MiB (99%)
Audio
ID : 1
Format : PCM
Format settings, Sign : Unsigned
Codec ID : 1
Duration : 16mn 4s
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 8 bits
Stream size : 7.36 MiB (1%)
Interleave, duration : 999 ms (29.97 video frames)
Interleave, preload duration : 1000 ms
Usando solo ffmpeg e/o memcoder come posso ottenere l'audio in mp3/ogg/ecc ?
grazie
Re: convertire audio avi (pcm -> mp3 o altro)
forse ho trovato
Citazione:
mencoder INPUTVIDEO.avi -oac mp3lame -ovc copy -o OUTPUTVIDEO.avi
per ffmpeg dovrebbe essere qualche cosa simile a
Citazione:
ffmpeg -i input.avi -vcodec copy -acodec qualcosa output.avi
ci saranno probabilmente da aggiungere -ab -ar -ac