This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Msg: resulting video will probably be corrupted

Tags: mp4, mpeg-4, kdenlive, export, video corrupted mp4, mpeg-4, kdenlive, export, video corrupted mp4, mpeg-4, kdenlive, export, video corrupted
(comma "," separated)
aangelo
Registered Member
Posts
2
Karma
0
Hi all!
My OS is Ubuntu 12.04
Kdenlive Version 0.9.10 - Using KDE Development Platform 4.8.5 (4.8.5)

I imported an MP4 video file (from a smartphone Samsung Galaxy II), that is 1920x1080, 30 fps.
Project was set as the video clip.
I selected first 10 s of the video then tried to export as MPEG-4/MP3 (CBR) with the following options:
- Scan: auto
- Video bitrate: 2000
- Audio bitrate: 128
- two scans
- selection only

After some minutes I get the following brief message:
Code: Select all
"Rendering of /home/aangelo/kdenlive/Mario e Lina - Giri e incroci; 2014-10-25 - MPEG-4_MP3(CBR).mp4 aborted, resulting video will probably be corrupted."

Error log shows:
Code: Select all
Il processo di esportazione del file /home/aangelo/kdenlive/Mario e Lina - Giri e incroci; 2014-10-25 - MPEG-4_MP3(CBR).mp4 è andato in crash
[mp4 muxer @ 0xb6a0b5e0] [Eval @ 0xb737195c] Undefined constant or missing '(' in 'faststart'
[mp4 muxer @ 0xb6a0b5e0] Unable to parse option value "faststart"
[producer avformat]
/home/aangelo/Downloads/20141025_143140.mp4
WILD TIMESTAMP!
...   (repeated many times)
[producer avformat]
/home/aangelo/Downloads/20141025_143140.mp4
WILD TIMESTAMP!

The same problem arises when I export as MPEG-4/MP3 Advanced Simple Profile.
In both cases the project includes only a video clip, without any title or fading effect and the exported MP4 file is always 44 bytes long.
All times melt crashes and I get the following message (approximately translated):
Code: Select all
Unexpected close of «melt» program
The computer free memory is not enough to allow automatic analysis of the problem and send informations to developers.

What is the reason?
What can I check?
My target is to obtain (after a little editing) a good quality MP4 video, 1920x1080 pixels, easily readable from PC (Linux/Windows) and players such as LaCinema.
Thank you!
-- Antonio
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
You could be falling foul of the avconv vs ffmpeg project schism. Because the error message is suggesting that some command line options that mlt has used is not recognised by the avconv libraries.

What version of avconv or ffmpeg are you running?

avconv -version
ffmpeg -version

Mine is avconv 9.16-6:9.16-0ubuntu0.14.04.1+fdkaac

You could try installing a version from Daily builds
https://userbase.kde.org/Kdenlive/Manua ... ily_builds
This will bring its own sandbox version of avconv/ffmpeg that might be much more modern than the one supplied by ubuntu 12.04
aangelo
Registered Member
Posts
2
Karma
0
Hello!
Below are the version of both libraries, but it is not clear to me if Kdenlive still needs ffmpeg or this is superseeded by avconv.
ttguy wrote:You could be falling foul of the avconv vs ffmpeg project schism. Because the error message is suggesting that some command line options that mlt has used is not recognised by the avconv libraries.

Code: Select all
$ avconv -version
avconv version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
  built on Sep 16 2014 18:35:14 with gcc 4.6.3
avconv 0.8.16-4:0.8.16-0ubuntu0.12.04.1
libavutil    51. 22. 2 / 51. 22. 2
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

Code: Select all
$ ffmpeg -version
ffmpeg version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c) 2000-2014 the Libav developers
  built on Sep 16 2014 18:35:14 with gcc 4.6.3
The ffmpeg program is only provided for script compatibility and will be removed
in a future release. It has been deprecated in the Libav project to allow for
incompatible command line syntax improvements in its replacement called avconv
(see Changelog for details). Please use avconv instead.
ffmpeg 0.8.16-4:0.8.16-0ubuntu0.12.04.1
libavutil    51. 22. 2 / 51. 22. 2
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
aangelo@aangelo-Aspire-1640:~$

Mine is avconv 9.16-6:9.16-0ubuntu0.14.04.1+fdkaac

You could try installing a version from Daily builds
https://userbase.kde.org/Kdenlive/Manua ... ily_builds
This will bring its own sandbox version of avconv/ffmpeg that might be much more modern than the one supplied by ubuntu 12.04

I tried to install the Daily build you suggested and now I'm trying it.
Thank you for the suggestions.
-- Antonio
alockner
Registered Member
Posts
1
Karma
0
Hello all,

Has this issue been resolved? I am having the same problem - currently using kdenlive 9.1.0 on Ubuntu 14.04. I did run the previous version of kdenlive successfully on Ubuntu 12.04 - but at some point kdenlive had been updated. I just now attempted to render a project that rendered fine in August and I got the 'aborted' message. I reverted to the earlier version of kdenlive and melt and still rendering fails. This is consistent for two conputers with the same configuration. I do keep the computers regularly updated - and I had not attempted to render since September - so I'm not sure where the problem came in. I also tried upgrading the operating system to 14.04 in the odd chance that there may be a compatibility issue. Made no difference...

I tried to render a single video file without edits as a test - and that failed also. The funny thing is though, that the rendering completes just fine if I mute all audio. It produces a silent video - which is not ideal given that my videos are of musical productions.

Just wanted to see if a solution had been found before providing all my technical details. Any help would be much appreciated. Kdenlive has been the ultimate editor for all of needs and I would really hate to have to replace it.

Thanks in advance,
-Alex-
vpinon
KDE Developer
Posts
708
Karma
6
OS

Sat Nov 22, 2014 4:59 pm
Not very sure but I believe there was a weakness in the mlt version versus libav version released in 14.04 regarding sound export under some codecs mixs. Unfortunately these "universe" packages don't fall under the Long Term Support perimeter, so there are no official updates. Either use the MLT (&kdenlive) packages from ppa:sunab/kdenlive-release, or upgrade do 14.10?
User avatar
DaveQB
Registered Member
Posts
15
Karma
0
OS
I am having the exact same problem since a update a few months ago.

If I encode a file with avconv first, without any parameters and then load it into kdenlive, it is ok, but files coming from any of my cameras, that for formerly ok, will not encode and error with this "faststart" parameter error.

I have tried changing the path to ffmpeg to /usr/bin/avconv but no difference.
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
DaveQB wrote:I have tried changing the path to ffmpeg to /usr/bin/avconv but no difference.

That setting in kdenlive only effects what application kdenlive uses to do transcode runs and for creation of proxy files.
The version of avconv/ffmpeg used for rendering is determined when kdenlive is built. So your observation makes sense.

You could try a daily build version - see posts above.

It would be good to hear from aangelo to see if he succeeded when he used the dailybuild version.
User avatar
DaveQB
Registered Member
Posts
15
Karma
0
OS
Thanks for the reply ttguy

I found I had version .8 of ffmpeg/avconv and that the PPA I had added to the system some time ago was not being used by apt.
Removed and added again and got .10 of ffmpeg/avconv, but no difference :(

I'll try the daily builds.

Thanks.
User avatar
DaveQB
Registered Member
Posts
15
Karma
0
OS
I grabbed the daily build for today and attempted to encode one of my camera's files and .....success!

Not sure why though. More testing to come.

Might be related with the fact I am using Linux Mint 13 and pulling from the Ubuntu Precise PPA. It has been working for years though.
mrdocin
Registered Member
Posts
21
Karma
0
OS
Hello,
I also have problems during the render of my videos.
Here is my command line:
Code: Select all
/usr/bin/melt -verbose mymltfile.mlt -profile atsc_1080p_2997 -consumer avformat:final_video.mp4 progress=1 properties=x264-medium vb=4000k ab=160k threads=4 real_time=-1

Just after melt begin to work, I have an error (displayed in red):
Code: Select all
[mp4 muxer @ 0xad80b560] [Eval @ 0xae123950] Undefined constant or missing '(' in 'faststart'
[mp4 muxer @ 0xad80b560] Unable to parse option value "faststart"

Then the works continue (current frame and percentage are growing) with random (?) warnings like:

Code: Select all
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01095.MP4
    av_read_frame returned error -1606004923 inside get_image
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01095.MP4
     WILD TIMESTAMP!
[producer avformat] audio: total_streams 1 max_stream 1 total_channels 2 max_channels 2
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01096.MP4
    av_read_frame returned error -1606004923 inside get_image
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01096.MP4
     WILD TIMESTAMP!
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01096.MP4
    av_read_frame returned error -1606004923 inside get_image
[producer avformat] /home/nico/Vidéos/Vinaros/MAH01096.MP4
     WILD TIMESTAMP!


Then, before the end of the generation, the process core dump

All of my footages are from a Sony HDR AS100, and avprobe output, for one of them is :
Code: Select all
avprobe version 9.16-6:9.16-0ubuntu0.14.04.1, Copyright (c) 2007-2014 the Libav developers
  built on Aug 10 2014 18:19:26 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MAH01097.MP4':
  Metadata:
    major_brand     : MSNV
    minor_version   : 22675568
    compatible_brands: MSNVmp42isom
    creation_time   : 2014-10-25 09:10:54
  Duration: 00:04:03.24, start: 0.000000, bitrate: 16114 kb/s
    Stream #0.0(und): Video: h264 (Main), yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 15983 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
    Metadata:
      creation_time   : 2014-10-25 09:10:54
    Stream #0.1(und): Audio: aac, 48000 Hz, stereo, fltp, 127 kb/s
    Metadata:
      creation_time   : 2014-10-25 09:10:54
# avprobe output


Any ideas ?
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
Try a daily build - see above. There are some compatibility issues around kdenlive and ffmpeg. But a daily build version has its own sandboxed version of ffmpeg that should not have these compatibility issues.
mrdocin
Registered Member
Posts
21
Karma
0
OS
Hello, thank you for your answer..
on my system, ffmpeg is not installed (cause i can't find it on my repositories)
For the versions you recommend, do you use a specifi ppa ? which one ?

Thank you so much
User avatar
ttguy
Moderator
Posts
1152
Karma
6
OS
mrdocin wrote:For the versions you recommend, do you use a specifi ppa ? which one ?

See doco at https://userbase.kde.org/Kdenlive/Manua ... ily_builds
mrdocin
Registered Member
Posts
21
Karma
0
OS
Hi ttguy,

It works!!!!
First time for a long time that i can render "simple" projects.
Thank you SOOOOOOOO much !

User avatar
juandalton
Registered Member
Posts
2
Karma
0
Re: Clips with Wild Timestamp from Renders
Tue Jun 20, 2017 12:21 am
Dear KDL users, 20 June in Brisbane.
----
I Pasted my text from another "page" to save me typing.
---
I have received the Timestamp and other messages a few days ago. I have PC1 where I edit "real" movies for three or four years with no such error messages.
The other PC2 I have used to make my own movie camera movies for a few years still with NO error messages, BUTTTTTTTTT,
a few days ago I decided to do a job as I do on PC1, on PC2 and I received the Timestamp error and anther error message.
To boil it down both PCs are big towers about 8 years old, PC1 HP XW 9300, PC2 HP XW 4600. Both have about 2 GB RAM, MINT V17+, Kdenlive V0.9 xx.
I won't give details of mother board and BIOS until later.
Sooooooo, I suspect the differences in hardware of the PCs is the problem!
Cheerio, Juan.
=================================


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], lockheed, Sogou [Bot]