iambus / youku-lixian

优酷下载脚本,顺便支持其他……
Other
849 stars 264 forks source link

Please, add atom udta for mp4_join.py #82

Open RomanEmelyanov opened 10 years ago

RomanEmelyanov commented 10 years ago

$./mp4_join.py --output target.mp4 1.mp4 2.mp4 Joining 1.mp4, 2.mp4 into target.mp4 Traceback (most recent call last): File "./mp4_join.py", line 909, in main() File "./mp4_join.py", line 906, in main concat_mp4s(args, output) File "./mp4_join.py", line 878, in concat_mp4s merge_mp4s(mp4s, output) File "./mp4_join.py", line 840, in merge_mp4s mp4s = map(read_mp4, ins) File "./mp4_join.py", line 684, in read_mp4 atoms = parse_atoms(stream) File "./mp4_join.py", line 676, in parse_atoms atom = read_atom(stream) File "./mp4_join.py", line 667, in read_atom return atom_readers[type](stream, size, left, type) File "./mp4_join.py", line 569, in read_composite_atom atom = read_atom(stream) File "./mp4_join.py", line 668, in read_atom raise NotImplementedError('%s: %d' % (type, left)) NotImplementedError: udta: 746 $

sandyUni commented 10 years ago

我知道了,这个网页上的东西不存在

iambus commented 10 years ago

Where did your 1.mp4 and 2.mp4 come from?

RomanEmelyanov commented 10 years ago

I'm download it from Youtube, for example this two video have udta atom: http://ytapi.com/api/9bZkp7q19f0/direct/18/ http://ytapi.com/api/XSGBVzeBUbk/direct/18/

Code added: 'pasp': read_raw,

Any ideas?