← Back to team overview

openshot.developers team mailing list archive

[Bug 448568] Re: No sound in imported mp4

 

Hello Alex
For your Sanyo220 you have :  
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
ID_AUDIO_BITRATE=128000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 
your file is a bitrate 128 kbts, with 48hz and in stereo (2) and for your video  you have :
Playing SANY0220.MP4.
libavformat file format detected.
ID_VIDEO_ID=0
[lavf] Video stream found, -vid 0
ID_AUDIO_ID=1
[lavf] Audio stream found, -aid 1
ID_AID_1_LANG=eng
VIDEO: [avc1] 1280x720 24bpp 29.970 fps

==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
===============================================
You use a codec of the family ffmpeg's libavcodec which the ffmpeg version of h264 for a file in 1280x720 30fps
so in conclusion you can use libx264 for the video and libfaad for the audio  in an encapsulation MP4

For your second file it's different
your video file is a mjpeg 320x240 15fps bitrate 1850 env and the audio file is 64 kbits 8hz an mono (1) in pcm all in an encapsulation avi
So it's normal that you can read the second (it 's in fact a mpeg1 file with a wav file) and the first is more technical  and you should check if you have libx264(to read and to encode)  libfaad (to read) and libfaac (to encode) on your system.
You could use tcprobe or ffmpeg to know informations on your file. You have to the excellent media info which is a GUI.
ie tcprobe -i myfile.mp4 or ffmpeg -i myfile.mp4
I hope that it's meets to your answer.
Olivier/Cenwen (sorry for my bad english)

-- 
No sound in imported mp4
https://bugs.launchpad.net/bugs/448568
You received this bug notification because you are a member of OpenShot
Developers, which is subscribed to OpenShot Video Editor.

Status in OpenShot Video Editor: Incomplete

Bug description:
OS: Archlinux
Openshot version: 0.9.47

Video taken with my Sanyo Xacti DMX-HD800 has no sound. This camera uses AVC/H.264 codec. Sound on avi video is fine.



References