conundris / youtube-upload Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/youtube-upload
Automatically exported from code.google.com/p/youtube-upload
What steps will reproduce the problem?
Just tried to start upload:
youtube_upload email password file.mp4 "title" "summary" News "tag, tag1"
What is the expected output? What do you see instead?
--- run: ffmpeg -i file.mp4
--- connecting to Youtube API
Traceback (most recent call last):
File "/home/Pavel/bin/youtube_upload_r64", line 240, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/home/Pavel/bin/youtube_upload_r64", line 229, in main_upload
kwargs = dict(private=options.private, location=parse_location(options.location))
File "/home/Pavel/bin/youtube_upload_r64", line 184, in parse_location
if string.strip():
AttributeError: 'NoneType' object has no attribute 'strip'
What version of the product are you using? On what operating system?
Tried with r60 and r64
Python 2.6.5
gdata 2.0.10
installed on Cygwin
Please provide any additional information below.
This task are working correctly on Windows, but in Windows i observe error with
input non-latin characters (issue 10)
Original issue reported on code.google.com by spv60582
on 2 Jul 2010 at 6:17
--- Playlist created:
http://gdata.youtube.com/feeds/api/playlists/E73597E6FE293DAC?client=tokland-you
tube_upload
root@main3:/allmedia/old_server/media_lab/mkv_uploaded/119_workdir# cat
youtube_upload.err
--- Login to Youtube API: email='[email protected]', password='********'
Traceback (most recent call last):
File "/root/youtube-upload/youtube-upload-read-only/youtube_upload/youtube_upload.py", line 379, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/root/youtube-upload/youtube-upload-read-only/youtube_upload/youtube_upload.py", line 345, in main_upload
namespace = dict(title=options.title, n=index+1, total=len(videos))
NameError: global name 'videos' is not defined
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 1:12
After lots of testing in my Dev envt I have hit a issue on my Production
server. My hosting company only give me Python 2.4.3.
I suspect this is a issue as this "from xml.etree import ElementTree" command
seems to kill the script.
Do you know of any work arounds, or am I stuck, and really need a new host with
2.5 ?
thanks
What version of youtube-upload are you using? On what operating system?
0.4
Please provide any additional information:
Original issue reported on code.google.com by [email protected]
on 5 Oct 2010 at 10:53
1. The youtube video service has elimilated the limitation of film duration.
Could you please update the code to meet the new rules.
2. Suggestion: Provide an option for films not to be processed by ffmpeg. Or
provides quality parameters. Because youtube provides HD or FullHD conversion.
So ffmpeg preprocessor should be configurable.
Thanks a lot.
Original issue reported on code.google.com by [email protected]
on 10 Mar 2011 at 2:15
What steps will reproduce the problem?
1. Youtube-upload splits and upload the files
2. Once the internet link fails, I restarted youtube-upload, but it does
not resume, starts resplitting and reuploading the files
Is it possible to add a resume capability?
Original issue reported on code.google.com by [email protected]
on 19 Jan 2010 at 10:24
What steps will reproduce the problem?
I try to use cyrillic characters in title and/or in other fields like this:
python youtube_upload email password file.mp4 "АБВГД" "desc text" News
"tag1, tag2"
What is the expected output? What do you see instead?
--- run: ffmpeg -i file.mp4
--- connecting to Youtube API
--- start upload: file.mp4 (АБВГД)
Traceback (most recent call last):
File "youtube_upload", line 233, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "youtube_upload", line 229, in main_upload
entry = yt.upload_video(*args)
File "youtube_upload", line 148, in upload_video
return self.service.InsertVideoEntry(video_entry, path)
File "C:\Python26\lib\site-packages\gdata\youtube\service.py", line 654, in InsertVideoEntry
converter=gdata.youtube.YouTubeVideoEntryFromString)
File "C:\Python26\lib\site-packages\gdata\service.py", line 1236, in Post
media_source=media_source, converter=converter)
File "C:\Python26\lib\site-packages\gdata\service.py", line 1286, in PostOrPut
data_str = str(data)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 377, in __str__
return self.ToString()
File "C:\Python26\lib\site-packages\atom\__init__.py", line 374, in ToString
return ElementTree.tostring(self._ToElementTree(), encoding=string_encoding)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 369, in _ToElementTree
self._AddMembersToElementTree(new_tree)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 331, in _AddMembersToElementTree
member._BecomeChildElement(tree)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 357, in _BecomeChildElement
self._AddMembersToElementTree(new_child)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 331, in _AddMembersToElementTree
member._BecomeChildElement(tree)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 357, in _BecomeChildElement
self._AddMembersToElementTree(new_child)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 342, in _AddMembersToElementTree
ExtensionContainer._AddMembersToElementTree(self, tree)
File "C:\Python26\lib\site-packages\atom\__init__.py", line 224, in _AddMembersToElementTree
tree.text = self.text.decode(MEMBER_STRING_ENCODING)
File "C:\Python26\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid
data
What version of the product are you using? On what operating system?
youtube_upload r60
python 2.6.5
gdata 2.0.10
on Windows XP SP3
Original issue reported on code.google.com by spv60582
on 2 Jul 2010 at 3:35
YouTube videos can be Public, Private, or Unlisted. For Private we have an
option --private, but is there a way to upload/create Unlisted video?
Thanks.
Original issue reported on code.google.com by [email protected]
on 24 Aug 2010 at 3:14
What steps will reproduce the problem?
1. get package
2. unpack package
3. run setup.py
What version of youtube-upload are you using? On what operating system?
Using version 0.5 on OSX.
Please provide any additional information:
When I try to run the install script I get an error saying No module named
gdata.media.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2011 at 9:17
youtube_upload.py uses /usr/bin/python2 interpretor, which is not present on
ubuntu 10.04 machines.
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 11:22
What steps will reproduce the problem?
1. Have an account with the 15 minute limit removed
2. Upload a video longer than 15 minutes
3. Observe success
What version of youtube-upload are you using? On what operating system?
N/A
Please provide any additional information:
A simple flag to disable video splitting would be nice. Users who have this
limit removed know who they are (It notifies them on the Upload page).
Original issue reported on code.google.com by [email protected]
on 20 Jan 2011 at 8:11
python26 ./youtube_upload.py [email protected] --password=wbfhhufdfsdfdsfs
~/video/sdnjkasdjkasdjasda.mpg --title= bla bla bla
--- connecting to Youtube API
--- start upload: /home/kein/video/fmkdmsklfsdfsdfdsfsdf.mpg (title here [1/2])
http://www.youtube.com/watch?v=dsfnsdkfsdf
--- start upload: Description here. (title_here [2/2])
Traceback (most recent call last):
File "./youtube_upload.py", line 277, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "./youtube_upload.py", line 267, in main_upload
entry = youtube.upload_video(*args, **kwargs)
File "./youtube_upload.py", line 107, in upload_video
return self.service.InsertVideoEntry(video_entry, path)
File "/home/kein/.local/lib/python2.6/site-packages/gdata/youtube/service.py", line 645, in InsertVideoEntry
'with a .read() method' % type(filename_or_handle))})
gdata.youtube.service.YouTubeError: {'status': 601, 'body':
'`filename_or_handle` must be a path name or a file-like object', 'reason':
"Found <type 'str'>, not path name or object with a .read() method"}
Original issue reported on code.google.com by [email protected]
on 25 Mar 2011 at 7:55
When a playlist is created, it's url has client variable, which is not
necessary:
http://gdata.youtube.com/feeds/api/playlists/E73597E6FE293DAC?client=tokland-you
tube_upload
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 1:39
Hello mate, can I make two requests please.
1) A option for calling a second function that can query youtube in a
approperiate amount of time to see if the file is finished processing and if
not wait and try again in a bit until it reports its finished.
2) Once finished processing a option to call a third function, Not sure if
youtube allow this or not, but a option to re-download the processed file.
thanks
Original issue reported on code.google.com by [email protected]
on 7 Oct 2010 at 11:03
What steps will reproduce the problem?
1. Add some parameter (like for example -nosplit)
2. Video is being uploaded in one piece.
3. Done :)
What is the expected output? What do you see instead?
An uploaded video that is not splitted even if bigger than 1GB/10 minutes
What version of the product are you using? On what operating system?
Not yet using, but planing to do so - with this fix, it would be great ;)
Please provide any additional information below.
Youtube has partner-accounts that also allow upload of files, that are longer
than 10 minutes or bigger than 1GB - but only if you are acceppted in the
partner-programm (youtube.com/partners).
Original issue reported on code.google.com by [email protected]
on 10 Jun 2010 at 8:28
What steps will reproduce the problem?
1. Download this file:
http://media.ffii.org/DataRetPlenary51213/DataretPlen1EN051213.wmv
2. Run this command: ./youtube-upload.py [email protected] passwordhere
DataretPlen1EN051213.wmv "DataRetention debate in the European Parliament
(EN)" "DataRetention debate in the European Parliament (EN)" "Tech" "data,
isp, retention, police, surveillance"
3. Here it loops forever:
--- split_video: DataretPlen1EN051213.wmv, total_duration=3687
--- split_video: index=1, offset=0
[...]
--- run: ffmpeg -i DataretPlen1EN051213-7.mkv
--- split_video: index=8, offset=3674.16
--- run: ffmpeg -y -i DataretPlen1EN051213.wmv -fs 99000000 -sameq -ss
3674.16 -t 540 DataretPlen1EN051213-8.mkv
--- run: ffmpeg -i DataretPlen1EN051213-8.mkv
--- split_video: index=9, offset=3674.02
--- run: ffmpeg -y -i DataretPlen1EN051213.wmv -fs 99000000 -sameq -ss
3674.02 -t 540 DataretPlen1EN051213-9.mkv
--- run: ffmpeg -i DataretPlen1EN051213-9.mkv
--- split_video: index=10, offset=3674.02
--- run: ffmpeg -y -i DataretPlen1EN051213.wmv -fs 99000000 -sameq -ss
3674.02 -t 540 DataretPlen1EN051213-10.mkv
--- run: ffmpeg -i DataretPlen1EN051213-10.mkv
--- split_video: index=11, offset=3674.02
--- run: ffmpeg -y -i DataretPlen1EN051213.wmv -fs 99000000 -sameq -ss
3674.02 -t 540 DataretPlen1EN051213-11.mkv
--- run: ffmpeg -i DataretPlen1EN051213-11.mkv
--- split_video: index=12, offset=3674.02
--- run: ffmpeg -y -i DataretPlen1EN051213.wmv -fs 99000000 -sameq -ss
3674.02 -t 540 DataretPlen1EN051213-12.mkv
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Ubuntu, Python2.6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Mar 2010 at 2:12
What steps will reproduce the problem?
darrell@machine$ youtube-upload email password output.avi "Title"
"Description" Music "tag1,tag2"
What is the expected output? What do you see instead?
--- run: ffmpeg -i output.avi
Traceback (most recent call last):
File "/home/svdev/bin/youtube-upload", line 215, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/home/svdev/bin/youtube-upload", line 210, in main_upload
description, category, keywords)
File "/home/svdev/bin/youtube-upload", line 158, in upload_video
post_url, token = self.service.GetFormUploadToken(video_entry)
File "/usr/local/lib/python2.6/dist-packages/gdata/youtube/service.py",
line 716, in GetFormUploadToken
raise YouTubeError(e.args[0])
gdata.youtube.service.YouTubeError: {'status': 405, 'body':
'\n\n<html><head>\n<meta http-equiv="content-type"
content="text/html;charset=utf-8">\n<title>405 Method Not Allowe
d</title>\n<style><!--\nbody {font-family: arial,sans-serif}\ndiv.nav
{margin-top: 1ex}\ndiv.nav A {font-size: 10pt; font-family: arial,sans-
serif}\nspan.nav {font-size: 10pt;
font-family: arial,sans-serif; font-weight: bold}\ndiv.nav A,span.big
{font-size: 12pt; color: #0000cc}\ndiv.nav A {font-size: 10pt; color:
black}\nA.l:link {color: #6f6f6f}\
nA.u:link {color: green}\n//--></style>\n<script><!--\nvar rc=405;\n//--
>\n</script>\n</head>\n<body text=#000000 bgcolor=#ffffff>\n<table border=0
cellpadding=2 cellspacing=0
width=100%><tr><td rowspan=3 width=1% nowrap>\n<b><font face=times
color=#0039b6 size=10>G</font><font face=times color=#c41200
size=10>o</font><font face=times color=#f3c518
size=10>o</font><font face=times color=#0039b6 size=10>g</font><font
face=times color=#30a72f size=10>l</font><font face=times color=#c41200
size=10>e</font> </b>\
n<td> </td></tr>\n<tr><td bgcolor="#3366cc"><font face=arial,sans-
serif
color="#ffffff"><b>Error</b></td></tr>\n<tr><td> </td></tr></table>\n<
blockquote>\n<H1>Method
Not Allowed</H1>\nThe request method <code>POST</code> is inappropriate
for the URL <code>/</code>.\n\n<p>\n</blockquote>\n<table width=100%
cellpadding=0 cellspacing=0><tr><
td bgcolor="#3366cc"><img alt="" width=1
height=4></td></tr></table>\n</body></html>\n', 'reason': 'Method Not
Allowed'}
What version of the product are you using? On what operating system?
youtube-upload-0.3.tgz
gdata-2.0.10.tar.gz
XUbuntu 10
Original issue reported on code.google.com by [email protected]
on 3 Jun 2010 at 2:17
svn propset svn:executable on examples/split_video_for_youtube.sh
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 1:10
File "/home/kein/.local/lib/python2.6/site-packages/gdata/service.py", line
789, in ProgrammaticLogin?
raise CaptchaRequired?, 'Captcha Required'
gdata.service.CaptchaRequired?: Captcha Required
====================
That's pretty much it.
Original issue reported on code.google.com by [email protected]
on 13 Mar 2011 at 12:02
Would you like to bundle some directory monitoring and upload bash scripts?
Along the same lines as the upload_with_curl.sh example.
Scripts attached.
Original issue reported on code.google.com by [email protected]
on 19 Feb 2011 at 4:12
Attachments:
Implement ConfigParser ( http://docs.python.org/library/configparser.html ), to
enable support for configuration file.
+ convenient - less typing
+ security - supplying password on command line is not safe on multiuser
machines
Original issue reported on code.google.com by [email protected]
on 20 Jun 2010 at 7:40
What steps will reproduce the problem?
1. Take a video that ffmpeg chops incorrectly
2. Launch youtube-upload on it
3. Observe only the first chunk to be uploaded
What version of youtube-upload are you using? On what operating system?
0.5
Please provide any additional information:
Seems stream 0 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 25.00 (25/1)
Input #0, matroska, from '1.mkv':
Metadata:
doctype : matroska
Duration: 03:02:49.72, start: 0.000000, bitrate: N/A
Stream #0.0: Video: rv40, yuv420p, 352x264, PAR 1:1 DAR 4:3, 25 tbr, 1k tbn, 1k tbc
Stream #0.1: Audio: vorbis, 48000 Hz, mono, s16
Output #0, matroska, to '1-1.partial.mkv':
Metadata:
encoder : Lavf52.64.2
Stream #0.0: Video: 0x0000, yuv420p, 352x264 [PAR 1:1 DAR 4:3], q=2-31, 1k tbn, 1k tbc
Stream #0.1: Audio: libvorbis, 48000 Hz, mono
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=11195 fps=11165 q=-1.0 size= 28415kB time=447.76 bitrate= 519.9kbits/s
frame=18029 fps=11988 q=-1.0 size= 45767kB time=721.12 bitrate= 519.9kbits/s
frame=22499 fps=12170 q=-1.0 Lsize= 57112kB time=899.92 bitrate= 519.9kbits/s
video:52075kB audio:4724kB global headers:0kB muxing overhead 0.551022%
--- run: ffmpeg -i 1-1.mkv
--- chunk file size: 58482642 (max: 2000000000)
--- chunk duration: 899 (max: 900)
--- end of video reached: 1 chunks created
--- connecting to Youtube API
--- start upload: 1-1.mkv (SKA_Author)
Original issue reported on code.google.com by [email protected]
on 15 Feb 2011 at 12:05
What steps will reproduce the problem?
1. --private goes private.. without it they go public.. no inbetween?
Original issue reported on code.google.com by [email protected]
on 24 May 2011 at 7:17
/home/user/youtube-upload/bin/youtube-upload --email=* --password=*
--title="test" --description="bl bla" --category="Music" --keywords="aoki,
densetsu, shoot, episode, 41,anime,manga"
/srv/backup/video01/video/117265/3aEwYT6q10T/teaser.mp4
--- Login to Youtube API: email='*', password='*********'
--- Start video upload: /srv/backup/video01/video/117265/3aEwYT6q10T/teaser.mp4
(title: test)
Segmentation fault
The Upload works, yet it does not return the URL any more. I get a Segmentation
fault before. Any way to located the problem ?
Original issue reported on code.google.com by [email protected]
on 1 Apr 2011 at 2:32
We thought in this issue that the 15-minute limit was removed:
http://code.google.com/p/youtube-upload/issues/detail?id=29
But it's not (at least for standard users). I've removed the ffmpeg spliting
from the python script so we need to write a separate one (bash?) to deal with
it. So it will not be built-in, but still available for users which do not know
how to do it.
Original issue reported on code.google.com by tokland
on 20 Mar 2011 at 10:46
What steps will reproduce the problem?
1. youtube-upload -m "[email protected]" -p "my-password" -t "Title" -d
"Description" -c "People" some-file.flv
2. After upload:
Traceback (most recent call last):
File "/home/tomek/youtube-upload-0.6.2/bin/youtube-upload", line 380, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/home/tomek/youtube-upload-0.6.2/bin/youtube-upload", line 368, in main_upload
params = dict(s.split("=", 1) for s in headers["Location"].split("?", 1)[1].split("&"))
KeyError: 'Location'
What version of youtube-upload are you using? On what operating system?
youtube-upload-0.6.2, Ubuntu 10.04.2 LTS, Python 2.6.5
Original issue reported on code.google.com by [email protected]
on 6 Jun 2011 at 6:30
Sometimes uploader throws error:
gdata.youtube.service.YouTubeError: {'status': 503, 'body': '', 'reason':
'Service Unavailable'}
If I retry the upload immediately afterwards, the upload works.
Can you make the uploader scripts to make 3 attempts with 10 seconds sleep
between them?
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 9:33
I don't see an option to set the video's film date or creation date in other
words. It would be nice!
Original issue reported on code.google.com by [email protected]
on 24 May 2011 at 7:19
Something that would be great and very useful would be to be able to throttle
the uploads with something like the option that is available with RSYNC.
Something like --bwlimit=KBPS.
That's all.
Original issue reported on code.google.com by [email protected]
on 13 Jul 2010 at 5:29
What steps will reproduce the problem?
1. Download this file: http://holyshit.fr/HolyShit.mp4 (It's quite big, 429MB)
2. Use this command: youtube-upload [email protected] passwordhere
HolyShit.mp4 "HolyShit ! TF2 Team Fragmovie" "test" "Games" "tag1"
3. The video is 9min47sec long (for 429MB), I think the issue is that the
script tries to split it while it's not necessary (and fails for some reason).
What is the expected output? What do you see instead?
It says:
"
# youtube-upload [email protected] password HolyShit.mp4 "HolyShit ! TF2
Team Fragmovie" "test" "Games" "tag1"
--- run: ffmpeg -i HolyShit.mp4
--- split_video: HolyShit.mp4, total_duration=587
--- split_video: index=1, offset=0 (total=587)
--- run: ffmpeg -i HolyShit-1.mkv
--- run: ffmpeg -y -i HolyShit.mp4 -fs 100000000 -sameq -ss 0 -t 600
HolyShit-1.partial.mkv
Traceback (most recent call last):
File "/usr/local/bin/youtube-upload", line 211, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/usr/local/bin/youtube-upload", line 199, in main_upload
videos = list(split_youtube_video(video_path))
File "/usr/local/bin/youtube-upload", line 100, in split_video
assert size
AssertionError
"
What version of the product are you using? On what operating system?
0.2, debian
The video was encoded with ffmpeg with x264 codec.
Anyway, thanks for your script, works perfectly with my smaller vids :)
Original issue reported on code.google.com by [email protected]
on 5 Apr 2010 at 2:04
First a captcha issue. Then updated to newest version (svn). Now i get this. I
doubt the username/password is wrong.
Traceback (most recent call last):
File "/home/user/youtube-upload/bin/youtube-upload", line 308, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "/home/user/youtube-upload/bin/youtube-upload", line 264, in main_upload
captcha_response=options.captcha_response)
File "/home/user/youtube-upload/bin/youtube-upload", line 97, in login
self.service.ProgrammaticLogin(captcha_token, captcha_response)
File "/usr/lib/pymodules/python2.6/gdata/service.py", line 770, in ProgrammaticLogin
raise BadAuthentication, 'Incorrect username or password'
gdata.service.BadAuthentication: Incorrect username or password
Original issue reported on code.google.com by [email protected]
on 1 Apr 2011 at 1:37
Hello Again, sorry for all the questions. I have just tried a longer file.
15:50 long. I got this:
Input #0, avi, from '/home/cam/public_html/anothertest.avi':
Duration: 00:15:50.7, start: 0.000000, bitrate: 65 kb/s
Stream #0.0: Video: mpeg4, yuv420p, 100x100 [PAR 1:1 DAR 1:1], 15.00 tb(r)
Output #0, matroska, to 'anothertest-2.partial.mkv':
Stream #0.0: Video: XVID / 0x44495658, yuv420p, 100x100 [PAR 0:1 DAR 0:1], q
=2-31, 15.00 tb(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 761 fps= 0 q=-1.0 Lsize= 26kB time=950.7 bitrate= 0.2kbits/s
video:20kB audio:0kB global headers:0kB muxing overhead 26.660869%
Traceback (most recent call last):
File "youtube-upload.py", line 309, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "youtube-upload.py", line 283, in main_upload
list(split_youtube_video(video_path, options.split_rewind)))
File "youtube-upload.py", line 118, in split_video
assert size
AssertionError
vps1:/home/cam/public_html#
It make 2 files on my file system, the first had data, but the second was 0k.
Is this something a effor with my ffmpeg ?
This is my version info
vps1:/home/cam/public_html# ffmpeg --help
FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fa
brice Bellard, et al.
configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --e
nable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora --enable-libvorbi
s --enable-pthreads --disable-strip --enable-libdc1394 --disable-armv5te --disab
le-armv6 --disable-altivec --disable-vis --enable-shared --disable-static
libavutil version: 49.6.0
libavcodec version: 51.50.0
libavformat version: 52.7.0
libavdevice version: 52.0.0
built on Jan 28 2010 20:57:25, gcc: 4.3.2
ffmpeg: missing argument for option '--help'
thanks
greg
Original issue reported on code.google.com by [email protected]
on 9 Oct 2010 at 11:53
Currently the python scripts uses the Youtube API to upload the video. The API
provides no way to show the upload progress status, but you can also upload the
file with a standard HTTP post.
There is an option+script to take advantage of this
(examples/upload_with_curl.sh), but wouldn't it be better to implement directly
it in the python script with pycurl?
Original issue reported on code.google.com by tokland
on 20 Mar 2011 at 10:48
I wanted to know if it would be possible to add an option "split, no
reencode".
I have a big video file in H264 I want to upload to Youtube, and I would like
to use the "-vcodec copy -acopy copy" options of ffmpeg, but I don't know
where to modify the code.
Original issue reported on code.google.com by [email protected]
on 3 May 2010 at 8:45
youtube provides a way to create playlist of videos. Can youtube-upload program
create such playlist for videos chunked into multiple pieces?
See the playlist I created manually for an example:
http://www.youtube.com/watch?v=g_tMsJM6PnM&playnext=1&list=PLFF40D9428386FC9A
Original issue reported on code.google.com by [email protected]
on 30 Mar 2011 at 5:21
I am running the latest version of youtube-upload, I haven't used it however.
YouTube now does not have a limit on how long the video can be (at least for my
account), will there be a future release to match YouTube's new specifications?
Can I remove it myself?
Original issue reported on code.google.com by [email protected]
on 13 Mar 2011 at 3:06
Zeroes padding of the chunk number would prevent misordering of the chunks when
they are operated on from CLI:
$ ls
a.part10.mkv
a.part11.mkv
a.part12.mkv
a.part1.mkv
a.part2.mkv
a.part3.mkv
a.part4.mkv
a.part5.mkv
a.part6.mkv
a.part7.mkv
a.part8.mkv
a.part9.mkv
$
two digits parts should be enough for everyone - even with 15minutes limit of
youtube the scheme would allow enough chunks for 25hours of video.
(I tend to upload shows, which are of about 3+ hours long).
Original issue reported on code.google.com by [email protected]
on 13 Apr 2011 at 12:50
From the Readme:
"Dependencies: python-gdata (>= 1.2.4)"
Original issue reported on code.google.com by [email protected]
on 13 Sep 2010 at 3:54
Find attached to this bug the generic version of the script I wrote to split
and upload bunch of videos, which spillted chunks organized by playlist.
Feel free to add this to the examples directory of the youtube-upload SVN.
Original issue reported on code.google.com by [email protected]
on 14 Apr 2011 at 6:29
Attachments:
Please help, I'm getting an error message when trying to upload video file to
YouTube. Since even Windows users here are reporting youtube-upload as working
on their systems, it must be something wrong with my setup.
What steps will reproduce the problem?
1. python.exe youtube_upload.py -n [email protected] password P.MOV "P.MOV"
"2010-08-23" "People" "some tags"
What is the expected output? What do you see instead?
I'd expect the video file uploads to YouTube. Error message is displayed
instead:
--- connecting to Youtube API
--- start upload: P.MOV (P.MOV)
Traceback (most recent call last):
File "youtube_upload.py", line 263, in <module>
sys.exit(main_upload(sys.argv[1:]))
File "youtube_upload.py", line 254, in main_upload
entry = yt.upload_video(*args, **kwargs)
File "youtube_upload.py", line 152, in upload_video
return self.service.InsertVideoEntry(video_entry, path)
File "C:\Program Files\Python27\Lib\gdata\youtube\service.py", line 654, in In
converter=gdata.youtube.YouTubeVideoEntryFromString)
File "C:\Program Files\Python27\Lib\gdata\service.py", line 1236, in Post
media_source=media_source, converter=converter)
File "C:\Program Files\Python27\Lib\gdata\service.py", line 1303, in PostOrPut
multipart[2]], headers=extra_headers, url_params=url_params)
File "C:\Program Files\Python27\Lib\atom\__init__.py", line 93, in optional_wa
return f(*args, **kwargs)
File "C:\Program Files\Python27\Lib\atom\service.py", line 186, in request
data=data, headers=all_headers)
File "C:\Program Files\Python27\Lib\gdata\auth.py", line 725, in perform_reque
return http_client.request(operation, url, data=data, headers=headers)
File "C:\Program Files\Python27\Lib\atom\http.py", line 162, in request
connection.putheader(header_name, all_headers[header_name])
File "C:\Program Files\Python27\Lib\httplib.py", line 924, in putheader
str = '%s: %s' % (header, '\r\n\t'.join(values))
TypeError: sequence item 0: expected string, NoneType found
What version of the product are you using? On what operating system?
youtube-upload-0.4.tgz and r81 too
gdata-2.0.11.final.zip and gdata-2.0.10.zip too
python-2.7.msi
Windows Server 2003 (with all latest patches)
Please provide any additional information below.
python.exe youtube_upload.py -c
-works fine, lists all categories
python.exe run_data_tests.py
-(from gdata-2.0.11.final.zip) work fine, all test end OK.
Original issue reported on code.google.com by [email protected]
on 23 Aug 2010 at 8:25
One of my videos have following Duration: 03:08:41.55.
The 08 minutes is treated by bash as an octal value, thus generating error
line 23: 08: value too great for base (error token is "08")
Original issue reported on code.google.com by [email protected]
on 9 Apr 2011 at 7:46
Steps to reproduce:
1. prepare video file for upload
2. split file for upload with youtube-upload script
Expected output: 10min files of the same quality as original file
Used revision: 47
Size comparison (du -sh *):
original: 4.0G wyklad_cli_hq.mp4
after split:
266M wyklad_cli_hq-1.mkv
250M wyklad_cli_hq-2.mkv
204M wyklad_cli_hq-3.mkv
223M wyklad_cli_hq-4.mkv
210M wyklad_cli_hq-5.mkv
218M wyklad_cli_hq-6.mkv
211M wyklad_cli_hq-7.mkv
With attached patch:
641M wyklad_cli_hq-1.mkv
609M wyklad_cli_hq-2.mkv
557M wyklad_cli_hq-3.mkv
566M wyklad_cli_hq-4.mkv
574M wyklad_cli_hq-5.mkv
567M wyklad_cli_hq-6.mkv
567M wyklad_cli_hq-7.mkv
Original issue reported on code.google.com by [email protected]
on 17 Apr 2010 at 8:19
Attachments:
youtube is blocked in China,so i decided to use my us vps (virtual private
server)to upload videos
but with python2.5,python g-data and ffmpeg installed, there's still an error.
File "youtube_upload.py", line 33, in? from xml.etree import
ElementTreeImportError: No module named etree
---
then what to do?or i'm wrong at first?..help me please..
Original issue reported on code.google.com by [email protected]
on 12 May 2010 at 12:23
What steps will reproduce the problem?
1. Downloaded youtube-upload 0.5
2. Started the script using the following command
./youtube_upload.py [email protected] mypassword test.flv "test1" "test2"
"test3" "tag1,tag2"
3. Observe "assertion error" message
What version of youtube-upload are you using? On what operating system?
0.5 on linux ubuntu hardy (8.04)
Please provide any additional information:
See the attached file for the full output of the command. The resulting files
were (note the obviously wrong too-short test-2.mkv file):
# ls -l test*
-rw-r--r-- 1 root root 114093046 2010-11-26 11:01 test-1.mkv
-rw-r--r-- 1 root root 71119 2010-11-26 11:01 test-2.mkv
-rw-r--r-- 1 root root 0 2010-11-26 11:01 test-3.mkv
-rw-r--r-- 1 root root 115459866 2010-11-26 10:07 test.flv
I can post the original file if that would help.
Original issue reported on code.google.com by [email protected]
on 26 Nov 2010 at 9:16
Attachments:
What steps will reproduce the problem?
Sorry for my English, I've tried to use upload with 3 comma-separated tags:
python.exe lib\site-packages\youtube_upload\youtube_upload.py --no-split email
password file.mp4 "title text" "desc text" News "tag, 2st tag, very long tag"
What is the expected output? What do you see instead?
On Youtube page i've saw this tags in 4 tags:
tag
2st
very
long
instead of 3:
tag
2st tag
very long tag
I suppose that's incorrect
What version of the product are you using? On what operating system?
r79
Windows XP
Original issue reported on code.google.com by spv60582
on 30 Jul 2010 at 11:06
What steps will reproduce the problem?
1.I have a video with a single image and a nearly 2 hour audio file mixed with
ffmpeg - file is ok, but uploading does not work correctly
2.The splitting does return 4 parts => about 57 minutes
What version of youtube-upload are you using? On what operating system?
latest svn, debian lenny
Please provide any additional information:
This is the console output:
--- run: ffmpeg -i /tmp/temp.avi
--- split_video: /tmp/temp.avi, total_duration=6837
--- split_video: index=1, offset=0 (total=6837)
--- run: ffmpeg -i temp-1.mkv
--- skipping existing file: temp-1.mkv
--- run: ffmpeg -i temp-1.mkv
--- chunk file size: 30519475 (max: 2000000000)
--- chunk duration: 900 (max: 900)
--- split_video: index=2, offset=895 (total=6837)
--- run: ffmpeg -i temp-2.mkv
--- skipping existing file: temp-2.mkv
--- run: ffmpeg -i temp-2.mkv
--- chunk file size: 30059314 (max: 2000000000)
--- chunk duration: 900 (max: 900)
--- split_video: index=3, offset=1790 (total=6837)
--- run: ffmpeg -i temp-3.mkv
--- skipping existing file: temp-3.mkv
--- run: ffmpeg -i temp-3.mkv
--- chunk file size: 30059371 (max: 2000000000)
--- chunk duration: 900 (max: 900)
--- split_video: index=4, offset=2685 (total=6837)
--- run: ffmpeg -i temp-4.mkv
--- skipping existing file: temp-4.mkv
--- run: ffmpeg -i temp-4.mkv
--- chunk file size: 18435743 (max: 2000000000)
--- chunk duration: 551 (max: 900)
--- end of video reached: 4 chunks created
--- connecting to Youtube API
Original issue reported on code.google.com by [email protected]
on 23 Nov 2010 at 6:13
Hi,
Archlinux recently switched the /usr/bin/python link from python2 to
python3 so youtube-upload is started as a python3 script.
I attached a simple fix.
Thank you for this great software.
Original issue reported on code.google.com by [email protected]
on 26 Oct 2010 at 8:01
Attachments:
Hello, this is a great tool, I just got it working. I am brand new to python,
so sorry if this is a simple request. I am getting my file from MySQL which
to upload, its going great. But I would love to then update the row it came
from (searchable by the file name) in MySQL with the YouTube Video ID (or in
the case of a split video create duplicate rows, each with a unique YouTube
Video ID.
I am sure I can do the MySQL Part. But are you able to let me know how I
capture the one or multiple Video IDs as they come back please?
thanks
What version of youtube-upload are you using? On what operating system?
0.4, and Linux Redhat
Original issue reported on code.google.com by [email protected]
on 29 Sep 2010 at 3:23
Im using a Windows machine with Python32
File "C:\Documents and Settings\Administrador\Mis
documentos\Descargas\youtube-upload-0.6.1\youtube_upload\youtube_upload.py",
line 167
except socket.gaierror, msg:
^
SyntaxError: invalid syntax
When I try to install the app, I got another error:
python.exe setup.py
Traceback (most recent call last):
File "setup.py", line 3, in <module>
from youtube_upload import VERSION
ImportError: cannot import name VERSION
Thans in advance
I do not programm python at all
Original issue reported on code.google.com by [email protected]
on 16 Jun 2011 at 8:29
Remove splitting feature or an off switch?
Original issue reported on code.google.com by [email protected]
on 30 Jan 2011 at 11:39
The ffmpeg command used for splitting converts the video to avi:
ffmpeg -v 1 -sameq -i ../mkv/67.mkv -ss 7200 -t 900 -y 67.part9.avi
The additional codec conversion reduced video quality, which can be avoided if
"-vodec copy" option of ffmpeg would be used.
In this case .mkv container format should be used as it is more versatile in
holding various video and audio codecs than .avi container is.
Original issue reported on code.google.com by [email protected]
on 10 Apr 2011 at 7:44
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.