Registered Member
|
I have an issue where I try to render some HD video, but the video that it produces is nothing but an audio trac. How do I fix this?
The inputs are 2 HD videos. I rescale / move them so that both videos play next to each other. I also rotate one of them because it was upside down. I use the composite effect to get them to both play in the same video space. When I render, I told it to produce a script so that we could all see exactly what it is doing. All the details are below. ++++++++++++++ Version info + ++++++++++++++ kdenlive version 0.9.10 Using KDE Development Platform 4.8.5 (4.8.5) mlt version: melt 0.9.3 ffmpeg version: ---------------------------------------- ffmpeg 0.8.17-4:0.8.17-0ubuntu0.12.04.1 libavutil 51. 22. 3 / 51. 22. 3 libavcodec 53. 35. 0 / 53. 35. 0 libavformat 53. 21. 1 / 53. 21. 1 libavdevice 53. 2. 0 / 53. 2. 0 libavfilter 2. 15. 0 / 2. 15. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 52. 0. 0 / 52. 0. 0 ---------------------------------------- ++++++++++++++ Input videos + ++++++++++++++ Video1: -------- Duration: 00:17:35,28 Size: 1.9GiB Video Codec: H.264 / AVC /MPEG-4 AVC / MPEG-4 part 10 Frame size: 1280x720 Frame rate: 59.9401 Scanning: Progressive Pixel aspect ratio: 1 Pixel format: yuvj420p Colorspace: ITU-R 709 Video2: -------- Duration: 00:11:38,58 Size: 850.3 MiB Video Codec: H.264 / AVC /MPEG-4 AVC / MPEG-4 part 10 Frame size: 1280x720 Frame rate: 29.97 Scanning: Progressive Pixel aspect ratio: 1 Pixel format: yuvj420p Colorspace: ITU-R 709 ++++++++++++++ Effects used + ++++++++++++++ Composite ( Video 1 / Video 2 ) Crop / scale / postion ( Video 1 ) Rotate and shear ( Video 1 ) Crop / scale / postion ( Video 2 ) +++++++++++++++++++++++++++++++++++++++ Script that was generated by Kdenlive + +++++++++++++++++++++++++++++++++++++++ #! /bin/sh SOURCE="/home/user/kdenlive/my_video_001.sh.mlt" TARGET="/home/user/kdenlive/my_video.mp4" RENDERER="/usr/bin/kdenlive_render" MELT="/usr/bin/melt" PARAMETERS="-pid:13729 in=3468 out=4856 $MELT atsc_720p_5994 avformat - $SOURCE $TARGET properties=x264-medium g=120 crf=12000 a #this part added by me so that I can see exactly what it is running echo "using command:"; echo "------------------------------------------"; echo "$RENDERER $PARAMETERS"; echo "------------------------------------------"; echo ""; $RENDERER $PARAMETERS ++++++++++++++++++++++ Render job execution + ++++++++++++++++++++++ using command: ------------------------------------------ /usr/bin/kdenlive_render -pid:13729 in=3468 out=4856 /usr/bin/melt atsc_720p_5994 avformat - /home/user/kdenlive/my_video_001.sh.mlt /home/user/kdenlive/my_video.mp4 properties=x264-medium g=120 crf=12000 ab=400k threads=3 real_time=-1 ------------------------------------------ //STARTING RENDERING: false , false , "/usr/bin/melt" , "atsc_720p_5994" , "avformat" , "-" , "/home/user/kdenlive/my_video_001.sh.mlt" , "/home/user/kdenlive/my_video.mp4" , () , ("properties=x264-medium", "g=120", "crf=12000", "ab=400k", "threads=3", "real_time=-1") , 3468 , 4856 Started render process: "/usr/bin/melt" "/home/user/kdenlive/my_video_001.sh.mlt in=3468 out=4856 -profile atsc_720p_5994 -consumer avformat:/home/user/kdenlive/my_video.mp4 progress=1 properties=x264-medium g=120 crf=12000 ab=400k threads=3 real_time=-1" +++++++++ Results + +++++++++ It produces my_video.mp4 ( which had no video. It only has audio ) file size: 1022K mplayer info on this video: ------------------------------ Playing my_video.mp4. libavformat version 57.4.100 (internal) libavformat file format detected. [mov,mp4,m4a,3gp,3g2,mj2 @ 0xb6d4f160]Protocol name not provided, cannot determine if input is local or a network protocol, buffers and access patterns cannot be configured optimally without knowing the protocol [lavf] stream 0: audio (aac), -aid 0, -alang und Clip info: major_brand: isom minor_version: 512 compatible_brands: isomiso2mp41 encoder: Lavf53.21.1 Load subtitles in ./ ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 57.6.100 (internal) AUDIO: 48000 Hz, 2 ch, floatle, 357.8 kbit/11.65% (ratio: 44731->384000) Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Video: no video -------------------------------- It also produces this file: my_video_001.sh.mlt ---------------------------------------------------------- <?xml version='1.0' encoding='utf-8'?> <mlt title="Anonymous Submission" version="0.9.3" root="/home/user" LC_NUMERIC="en_US.UTF-8"> <profile width="1280" display_aspect_den="9" colorspace="709" frame_rate_den="1001" description="HD 720p 59.94 fps" height="720" display_aspect_num="16" frame_rate_num="60000" progressive="1" sample_aspect_num="1" sample_aspect_den="1"/> <producer in="0" out="63263" id="black"> <property name="mlt_type">producer</property> <property name="length">63264</property> <property name="eof">pause</property> <property name="resource">black</property> <property name="aspect_ratio">0</property> <property name="mlt_service">colour</property> </producer> <playlist id="black_track"> <entry in="0" out="52229" producer="black"/> </playlist> <producer in="0" out="63263" id="1_1"> <property name="mlt_type">producer</property> <property name="length">63264</property> <property name="eof">pause</property> <property name="resource">Desktop/Media/my_video/chest cam/GOPR0124.MP4</property> <property name="meta.media.nb_streams">3</property> <property name="meta.media.0.stream.type">video</property> <property name="meta.media.0.stream.frame_rate">59.9401</property> <property name="meta.media.0.stream.sample_aspect_ratio">0</property> <property name="meta.media.0.codec.width">1280</property> <property name="meta.media.0.codec.height">720</property> <property name="meta.media.0.codec.frame_rate">59.9401</property> <property name="meta.media.0.codec.pix_fmt">yuvj420p</property> <property name="meta.media.0.codec.sample_aspect_ratio">1</property> <property name="meta.media.0.codec.colorspace">709</property> <property name="meta.media.0.codec.name">h264</property> <property name="meta.media.0.codec.long_name">H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10</property> <property name="meta.media.0.codec.bit_rate">14967417</property> <property name="meta.attr.0.stream.creation_time.markup">2015-02-10 16:35:33</property> <property name="meta.attr.0.stream.language.markup">eng</property> <property name="meta.media.1.stream.type">audio</property> <property name="meta.media.1.codec.sample_fmt">s16</property> <property name="meta.media.1.codec.sample_rate">48000</property> <property name="meta.media.1.codec.channels">2</property> <property name="meta.media.1.codec.name">aac</property> <property name="meta.media.1.codec.long_name">Advanced Audio Coding</property> <property name="meta.media.1.codec.bit_rate">127999</property> <property name="meta.attr.1.stream.creation_time.markup">2015-02-10 16:35:33</property> <property name="meta.attr.1.stream.language.markup">eng</property> <property name="meta.attr.major_brand.markup">avc1</property> <property name="meta.attr.minor_version.markup">0</property> <property name="meta.attr.compatible_brands.markup">avc1isom</property> <property name="meta.attr.creation_time.markup">2015-02-10 16:35:33</property> <property name="seekable">1</property> <property name="meta.media.sample_aspect_num">1</property> <property name="meta.media.sample_aspect_den">1</property> <property name="aspect_ratio">1</property> <property name="audio_index">1</property> <property name="video_index">0</property> <property name="mlt_service">avformat</property> <property name="meta.media.frame_rate_num">60000</property> <property name="meta.media.frame_rate_den">1001</property> <property name="meta.media.colorspace">709</property> <property name="meta.media.color_trc">2</property> <property name="meta.media.width">1280</property> <property name="meta.media.height">720</property> <property name="meta.media.top_field_first">0</property> <property name="meta.media.progressive">1</property> </producer> <playlist id="playlist4"> <entry in="3523" out="46101" producer="1_1"> <filter id="frei0r.scale0tilt"> <property name="track">0</property> <property name="version">0.1</property> <property name="mlt_type">filter</property> <property name="mlt_service">frei0r.scale0tilt</property> <property name="kdenlive_id">frei0r.scale0tilt</property> <property name="tag">frei0r.scale0tilt</property> <property name="kdenlive_ix">1</property> <property name="Clip left">0</property> <property name="Clip right">0</property> <property name="Clip top">0</property> <property name="Clip bottom">0</property> <property name="Scale X">0.25</property> <property name="Scale Y">0.5</property> <property name="Tilt X">0.749219</property> <property name="Tilt Y">0.5</property> <property name="kdenlive_info">1/-1/</property> </filter> <filter id="affine"> <property name="track">0</property> <property name="background">colour:0x00000000</property> <property name="mlt_type">filter</property> <property name="mlt_service">affine</property> <property name="kdenlive_id">affine</property> <property name="tag">affine</property> <property name="kdenlive_ix">2</property> <property name="kdenlive_info">1/-1/</property> <property name="transition.fix_rotate_x">180</property> <property name="transition.fix_rotate_y">0</property> <property name="transition.fix_rotate_z">0</property> <property name="transition.rotate_x">0</property> <property name="transition.rotate_y">0</property> <property name="transition.rotate_z">0</property> <property name="transition.fix_shear_x">0</property> <property name="transition.fix_shear_y">0</property> <property name="transition.shear_x">0</property> <property name="transition.shear_y">0</property> <property name="transition.geometry">0/0:1280x720:100</property> </filter> </entry> <entry in="46102" out="55752" producer="1_1"> <filter id="filter0"> <property name="track">0</property> <property name="background">colour:0x00000000</property> <property name="mlt_type">filter</property> <property name="mlt_service">affine</property> <property name="kdenlive_id">affine</property> <property name="tag">affine</property> <property name="kdenlive_ix">1</property> <property name="kdenlive_info">1/-1/</property> <property name="transition.fix_rotate_x">180</property> <property name="transition.fix_rotate_y">0</property> <property name="transition.fix_rotate_z">0</property> <property name="transition.rotate_x">0</property> <property name="transition.rotate_y">0</property> <property name="transition.rotate_z">0</property> <property name="transition.fix_shear_x">0</property> <property name="transition.fix_shear_y">0</property> <property name="transition.shear_x">0</property> <property name="transition.shear_y">0</property> <property name="transition.geometry">0/0:1280x720:100</property> </filter> </entry> </playlist> <producer in="0" out="41897" id="2"> <property name="mlt_type">producer</property> <property name="length">41898</property> <property name="eof">pause</property> <property name="resource">Desktop/Media/my_video/hand held cam/FILE0807.MOV</property> <property name="meta.media.nb_streams">4</property> <property name="meta.media.0.stream.type">video</property> <property name="meta.media.0.stream.frame_rate">29.97</property> <property name="meta.media.0.stream.sample_aspect_ratio">0</property> <property name="meta.media.0.codec.width">1280</property> <property name="meta.media.0.codec.height">720</property> <property name="meta.media.0.codec.frame_rate">29.97</property> <property name="meta.media.0.codec.pix_fmt">yuv420p</property> <property name="meta.media.0.codec.sample_aspect_ratio">1</property> <property name="meta.media.0.codec.colorspace">709</property> <property name="meta.media.0.codec.name">h264</property> <property name="meta.media.0.codec.long_name">H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10</property> <property name="meta.media.0.codec.bit_rate">10056814</property> <property name="meta.attr.0.stream.creation_time.markup">2011-01-11 19:07:20</property> <property name="meta.attr.0.stream.language.markup">eng</property> <property name="meta.media.1.stream.type">audio</property> <property name="meta.media.1.codec.sample_fmt">s16</property> <property name="meta.media.1.codec.sample_rate">48000</property> <property name="meta.media.1.codec.channels">2</property> <property name="meta.media.1.codec.name">aac</property> <property name="meta.media.1.codec.long_name">Advanced Audio Coding</property> <property name="meta.media.1.codec.bit_rate">128001</property> <property name="meta.attr.1.stream.creation_time.markup">2011-01-11 19:07:20</property> <property name="meta.attr.1.stream.language.markup">eng</property> <property name="meta.attr.major_brand.markup">qt </property> <property name="meta.attr.minor_version.markup">0</property> <property name="meta.attr.compatible_brands.markup">qt </property> <property name="meta.attr.creation_time.markup">2011-01-11 19:07:20</property> <property name="seekable">1</property> <property name="meta.media.sample_aspect_num">1</property> <property name="meta.media.sample_aspect_den">1</property> <property name="aspect_ratio">1</property> <property name="audio_index">1</property> <property name="video_index">0</property> <property name="mlt_service">avformat</property> <property name="meta.media.frame_rate_num">30000</property> <property name="meta.media.frame_rate_den">1001</property> <property name="meta.media.colorspace">709</property> <property name="meta.media.color_trc">2</property> <property name="meta.media.width">1280</property> <property name="meta.media.height">720</property> <property name="meta.media.top_field_first">0</property> <property name="meta.media.progressive">1</property> </producer> <playlist id="playlist5"> <entry in="0" out="41897" producer="2"> <filter id="filter1"> <property name="track">0</property> <property name="version">0.1</property> <property name="mlt_type">filter</property> <property name="mlt_service">frei0r.scale0tilt</property> <property name="kdenlive_id">frei0r.scale0tilt</property> <property name="tag">frei0r.scale0tilt</property> <property name="kdenlive_ix">1</property> <property name="Clip left">0</property> <property name="Clip right">0</property> <property name="Clip top">0</property> <property name="Clip bottom">0</property> <property name="Scale X">0.25</property> <property name="Scale Y">0.5</property> <property name="Tilt X">0.751563</property> <property name="Tilt Y">0.5</property> <property name="kdenlive_info"/> </filter> </entry> </playlist> <tractor title="Anonymous Submission" global_feed="1" in="0" out="52229" id="maintractor"> <property name="meta.volume">1</property> <track producer="black_track"/> <track producer="playlist4"/> <track producer="playlist5"/> <transition id="transition0"> <property name="a_track">1</property> <property name="b_track">2</property> <property name="mlt_type">transition</property> <property name="mlt_service">mix</property> <property name="always_active">1</property> <property name="combine">1</property> <property name="internal_added">237</property> </transition> <transition out="51817" id="transition4"> <property name="a_track">1</property> <property name="b_track">2</property> <property name="start">0/0:100%x100%</property> <property name="factory">loader</property> <property name="aligned">1</property> <property name="progressive">1</property> <property name="mlt_type">transition</property> <property name="mlt_service">composite</property> <property name="automatic">1</property> <property name="kdenlive_id">composite</property> <property name="force_track">1</property> <property name="deinterlace">0</property> <property name="distort">0</property> <property name="fill">1</property> <property name="geometry">-2.5/2.5:1280x720:100</property> <property name="luma_invert">0</property> <property name="operator">over</property> <property name="softness">0</property> <property name="luma"/> </transition> </tractor> </mlt> ---------------------------------------------------------- |
Registered Member
|
Please edit your above post, delete the code and copy it again but this time using
PS: by code I mean the xml part Also: what happens if you start a new project and render 5 seconds of one of the videos from the problematic project? If it works, you could try adding effects which apply to all video clips in the problematic project until you find the culprit. |
Registered users: Bing [Bot], blue_bullet, Google [Bot], Yahoo [Bot]