The camera I am using provides a .mov file, which I have imported and edited in kdenlive. The video from the camera is 640 x 480 format, which is high enough resolution for what I am doing. When kdenlive renders the edited video to a file, the choices it gives me for file formats are shown below.
Available formats displayed by kdenlive
- Code: Select all
MP4
MPEG-2
Matroska
HDV
Raw DV
If I render to MPEG-2, it all works fine, video and audio. If I render to MP4, only the video works. I am not familiar with the other formats. The problem is that Youtube claims to accept only the MP4 format, not the MPEG format, so I need to somehow get this thing into MP4 format in order to upload it.
Here are the CODECs that are provided for the two formats and the results of using each one.
- Code: Select all
CODECS for MP4
H.264/AAC High Profile - results in empty file
H.264/AAC (CBR) - results in empty file
MPEG-4/MP3 Advanced Simple Profile - renders video only
MPEG-4/MP3 (CBR) - renders video only
- Code: Select all
CODECS for MPEG-2
MPEG-2 - works OK
MPEG-2 (CBR) - works OK
When I look at the exif info in the files, it looks like there is audio in the mpg, but no audio in the mp4 file.
I'm not sure what to do. Record it again in a different format and try again? Look for missing CODECs? Find a converter from mpg to mp4? Fix kdenlive to render audio into the mp4 file? So far, the Google and "trial and error" are not solving the problem. Many hours wasted.
Thanks to all.
Banjo
MPG exiftool output:
- Code: Select all
ExifTool Version Number : 9.70
File Name : CoonHuntWalkaround.mpg
Directory : .
File Size : 20 MB
File Modification Date/Time : 2015:11:22 11:42:57-05:00
File Access Date/Time : 2015:11:22 11:42:33-05:00
File Inode Change Date/Time : 2015:11:22 11:42:57-05:00
File Permissions : rw-rw-r--
File Type : MPEG
MIME Type : video/mpeg
Image Width : 640
Image Height : 480
Aspect Ratio : 0.6735
Frame Rate : 29.97 fps
Video Bitrate : Variable
MPEG Audio Version : 1
Audio Layer : 2
Audio Bitrate : 256 kbps
Sample Rate : 48000
Channel Mode : Stereo
Mode Extension : Bands 4-31
Copyright Flag : False
Original Media : True
Emphasis : None
Image Size : 640x480
MP4 exiftool output.
- Code: Select all
ExifTool Version Number : 9.70
File Name : CoonHuntWalkaround.mp4
Directory : .
File Size : 7.6 MB
File Modification Date/Time : 2015:11:22 12:28:47-05:00
File Access Date/Time : 2015:11:22 11:30:27-05:00
File Inode Change Date/Time : 2015:11:22 12:28:47-05:00
File Permissions : rw-rw-r--
File Type : MP4
MIME Type : video/mp4
Major Brand : MP4 Base Media v1 [IS0 14496-12:2003]
Minor Version : 0.2.0
Compatible Brands : isom, iso2, mp41
Movie Header Version : 0
Create Date : 0000:00:00 00:00:00
Modify Date : 0000:00:00 00:00:00
Time Scale : 1000
Duration : 0:01:14
Preferred Rate : 1
Preferred Volume : 100.00%
Preview Time : 0 s
Preview Duration : 0 s
Poster Time : 0 s
Selection Time : 0 s
Selection Duration : 0 s
Current Time : 0 s
Next Track ID : 2
Track Header Version : 0
Track Create Date : 0000:00:00 00:00:00
Track Modify Date : 0000:00:00 00:00:00
Track ID : 1
Track Duration : 0:01:14
Track Layer : 0
Track Volume : 0.00%
Matrix Structure : 1 0 0 0 1 0 0 0 1
Image Width : 640
Image Height : 480
Media Header Version : 0
Media Create Date : 0000:00:00 00:00:00
Media Modify Date : 0000:00:00 00:00:00
Media Time Scale : 30000
Media Duration : 0:01:14
Media Language Code : und
Handler Description : VideoHandler
Graphics Mode : srcCopy
Op Color : 0 0 0
Compressor ID : mp4v
Source Image Width : 640
Source Image Height : 480
X Resolution : 72
Y Resolution : 72
Bit Depth : 24
Video Frame Rate : 29.97
Handler Type : Metadata
Handler Vendor ID : Apple
Encoder : Lavf56.4.101
Movie Data Size : 7951031
Movie Data Offset : 22448
Avg Bitrate : 858 kbps
Image Size : 640x480
Rotation : 0