{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenShot/libopenshot/issues/34","repository_url":"https://api.github.com/repos/OpenShot/libopenshot","labels_url":"https://api.github.com/repos/OpenShot/libopenshot/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/OpenShot/libopenshot/issues/34/comments","events_url":"https://api.github.com/repos/OpenShot/libopenshot/issues/34/events","html_url":"https://github.com/OpenShot/libopenshot/issues/34","id":164660770,"number":34,"title":"Floating point exception (core dumped)","user":{"login":"szytko","id":300085,"avatar_url":"https://avatars.githubusercontent.com/u/300085?v=3","gravatar_id":"","url":"https://api.github.com/users/szytko","html_url":"https://github.com/szytko","followers_url":"https://api.github.com/users/szytko/followers","following_url":"https://api.github.com/users/szytko/following{/other_user}","gists_url":"https://api.github.com/users/szytko/gists{/gist_id}","starred_url":"https://api.github.com/users/szytko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szytko/subscriptions","organizations_url":"https://api.github.com/users/szytko/orgs","repos_url":"https://api.github.com/users/szytko/repos","events_url":"https://api.github.com/users/szytko/events{/privacy}","received_events_url":"https://api.github.com/users/szytko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-09T10:14:02Z","updated_at":"2016-07-09T10:14:02Z","closed_at":null,"body":"I'm trying to write simple app that concatenates two mp4 files and I'm getting the following error:\r\n\r\n```\r\n[libvpx @ 0x18d44a0] v1.3.0\r\n[mp4 @ 0x18cd6c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.\r\n[mp4 @ 0x18cd6c0] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead.\r\n[mp4 @ 0x18cd6c0] Could not find tag for codec vp8 in stream #0, codec not currently supported in container\r\nFloating point exception (core dumped)\r\n```\r\n\r\nCode:\r\n```\r\n#include <libopenshot/OpenShot.h>\r\n\r\nusing namespace std;\r\nusing namespace openshot;\r\n\r\nint main() {\r\n    Clip video1(new FFmpegReader(\"1.mp4\"));\r\n    Clip video2(new FFmpegReader(\"2.mp4\"));\r\n    \r\n    Timeline timeline(1280, 720, Fraction(25,1), 44100, 2, LAYOUT_STEREO);\r\n    \r\n    video1.Position(0.0);\r\n    video1.Start(0.0);\r\n    video1.End(3.0);\r\n    \r\n    video2.Position(3.0);\r\n    video2.Start(0.0);\r\n    video2.End(5.0);\r\n    \r\n    timeline.AddClip(&video1);\r\n    timeline.AddClip(&video2);\r\n    \r\n    timeline.Open();\r\n    \r\n    FFmpegWriter writer(\"result.mp4\");\r\n    writer.SetAudioOptions(true,\r\n                           \"libvorbis\",\r\n                           timeline.info.sample_rate,\r\n                           timeline.info.channels,\r\n                           timeline.info.channel_layout,\r\n                           timeline.info.audio_bit_rate);\r\n    \r\n    writer.SetVideoOptions(true,\r\n                           \"libvpx\",\r\n                           timeline.info.fps,\r\n                           timeline.info.width,\r\n                           timeline.info.height,\r\n                           timeline.info.pixel_ratio,\r\n                           timeline.info.interlaced_frame,\r\n                           timeline.info.top_field_first,\r\n                           3000000);\r\n    \r\n    writer.Open();\r\n    writer.WriteFrame(&timeline, 1, 8);\r\n    writer.Close();\r\n    \r\n    timeline.Close();\r\n    \r\n    return 0;\r\n}\r\n```\r\n\r\nAttached gdb log\r\n[gdb-log.txt](https://github.com/OpenShot/libopenshot/files/355511/gdb-log.txt)\r\n\r\n"}}
{"actor":{"display_login":"szytko"}}