{"action":"created","issue":{"url":"https://api.github.com/repos/google/shaka-packager/issues/298","repository_url":"https://api.github.com/repos/google/shaka-packager","labels_url":"https://api.github.com/repos/google/shaka-packager/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/google/shaka-packager/issues/298/comments","events_url":"https://api.github.com/repos/google/shaka-packager/issues/298/events","html_url":"https://github.com/google/shaka-packager/issues/298","id":277860069,"number":298,"title":"Packaging failure when there is additional unused mdat box in the source file","user":{"login":"kqyang","id":7329892,"avatar_url":"https://avatars1.githubusercontent.com/u/7329892?v=4","gravatar_id":"","url":"https://api.github.com/users/kqyang","html_url":"https://github.com/kqyang","followers_url":"https://api.github.com/users/kqyang/followers","following_url":"https://api.github.com/users/kqyang/following{/other_user}","gists_url":"https://api.github.com/users/kqyang/gists{/gist_id}","starred_url":"https://api.github.com/users/kqyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kqyang/subscriptions","organizations_url":"https://api.github.com/users/kqyang/orgs","repos_url":"https://api.github.com/users/kqyang/repos","events_url":"https://api.github.com/users/kqyang/events{/privacy}","received_events_url":"https://api.github.com/users/kqyang/received_events","type":"User","site_admin":false},"labels":[{"id":94045986,"url":"https://api.github.com/repos/google/shaka-packager/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"kqyang","id":7329892,"avatar_url":"https://avatars1.githubusercontent.com/u/7329892?v=4","gravatar_id":"","url":"https://api.github.com/users/kqyang","html_url":"https://github.com/kqyang","followers_url":"https://api.github.com/users/kqyang/followers","following_url":"https://api.github.com/users/kqyang/following{/other_user}","gists_url":"https://api.github.com/users/kqyang/gists{/gist_id}","starred_url":"https://api.github.com/users/kqyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kqyang/subscriptions","organizations_url":"https://api.github.com/users/kqyang/orgs","repos_url":"https://api.github.com/users/kqyang/repos","events_url":"https://api.github.com/users/kqyang/events{/privacy}","received_events_url":"https://api.github.com/users/kqyang/received_events","type":"User","site_admin":false},"assignees":[{"login":"kqyang","id":7329892,"avatar_url":"https://avatars1.githubusercontent.com/u/7329892?v=4","gravatar_id":"","url":"https://api.github.com/users/kqyang","html_url":"https://github.com/kqyang","followers_url":"https://api.github.com/users/kqyang/followers","following_url":"https://api.github.com/users/kqyang/following{/other_user}","gists_url":"https://api.github.com/users/kqyang/gists{/gist_id}","starred_url":"https://api.github.com/users/kqyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kqyang/subscriptions","organizations_url":"https://api.github.com/users/kqyang/orgs","repos_url":"https://api.github.com/users/kqyang/repos","events_url":"https://api.github.com/users/kqyang/events{/privacy}","received_events_url":"https://api.github.com/users/kqyang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2017-11-29T18:30:26Z","updated_at":"2017-11-30T18:46:59Z","closed_at":null,"author_association":"COLLABORATOR","body":"Extracted from #107.\r\n\r\n## System info\r\n**Shaka Packager Version**: cc778f6-release\r\n\r\n## Issue and steps to reproduce the problem\r\n\r\nUse sample videos from [sample-videos](http://www.sample-videos.com).\r\n```\r\nroot@af3e5b750a97:/media# packager input=SampleVideo_1280x720_30mb.mp4 --dump_stream_info\r\n[1129/100107:INFO:demuxer.cc(88)] Demuxer::Run() on file 'SampleVideo_1280x720_30mb.mp4'.\r\n[1129/100107:INFO:demuxer.cc(160)] Initialize Demuxer for file 'SampleVideo_1280x720_30mb.mp4'.\r\n\r\nFile \"SampleVideo_1280x720_30mb.mp4\":\r\nFound 2 stream(s).\r\nStream [0] type: Video\r\n codec_string: avc1.4d401f\r\n time_scale: 12800\r\n duration: 2186752 (170.8 seconds)\r\n is_encrypted: false\r\n codec: H264\r\n width: 1280\r\n height: 720\r\n pixel_aspect_ratio: 1:1\r\n trick_play_factor: 0\r\n nalu_length_size: 4\r\n\r\nStream [1] type: Audio\r\n codec_string: mp4a.40.2\r\n time_scale: 48000\r\n duration: 8201216 (170.9 seconds)\r\n is_encrypted: false\r\n codec: AAC\r\n sample_bits: 16\r\n num_channels: 6\r\n sampling_frequency: 48000\r\n language: und\r\n```\r\n\r\nBut when try to do something with the video the error occurs:\r\n```\r\nroot@af3e5b750a97:/media# packager input=SampleVideo_1280x720_30mb.mp4,stream=1,output=audio.mp4 input=SampleVideo_1280x720_30mb.mp4,stream=0,output=video.mp4\r\n[1129/100139:INFO:demuxer.cc(88)] Demuxer::Run() on file 'SampleVideo_1280x720_30mb.mp4'.\r\n[1129/100139:INFO:demuxer.cc(160)] Initialize Demuxer for file 'SampleVideo_1280x720_30mb.mp4'.\r\n[1129/100139:ERROR:mp4_media_parser.cc(263)] Not implemented reached in bool shaka::media::mp4::MP4MediaParser::ParseBox(bool *) Files with MDAT before MOOV is not supported yet.\r\n[1129/100139:ERROR:packager_main.cc(461)] Packaging Error: 8 (PARSER_FAILURE): Cannot parse media file SampleVideo_1280x720_30mb.mp4\r\n```"},"comment":{"url":"https://api.github.com/repos/google/shaka-packager/issues/comments/348282764","html_url":"https://github.com/google/shaka-packager/issues/298#issuecomment-348282764","issue_url":"https://api.github.com/repos/google/shaka-packager/issues/298","id":348282764,"user":{"login":"kqyang","id":7329892,"avatar_url":"https://avatars1.githubusercontent.com/u/7329892?v=4","gravatar_id":"","url":"https://api.github.com/users/kqyang","html_url":"https://github.com/kqyang","followers_url":"https://api.github.com/users/kqyang/followers","following_url":"https://api.github.com/users/kqyang/following{/other_user}","gists_url":"https://api.github.com/users/kqyang/gists{/gist_id}","starred_url":"https://api.github.com/users/kqyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kqyang/subscriptions","organizations_url":"https://api.github.com/users/kqyang/orgs","repos_url":"https://api.github.com/users/kqyang/repos","events_url":"https://api.github.com/users/kqyang/events{/privacy}","received_events_url":"https://api.github.com/users/kqyang/received_events","type":"User","site_admin":false},"created_at":"2017-11-30T18:46:59Z","updated_at":"2017-11-30T18:46:59Z","author_association":"COLLABORATOR","body":"@zshenker It does not look like the same problem. Can you attach a sample file or send it to my email?"}}
{"actor":{"display_login":"kqyang"}}