i want to merge downloaded adaptive streams using pytube. My attempts with ffmpeg were futile. always the same error: "could not find codec parameter..."
the command i used is shown in the image.
Please help me
enter image description here
I tried the command in the image
Related
I was trying to calibrate my web camera with the official Aruco camera calibration program using default ArUco Boards, however, I didn't get the output yml file and I received the error message below.
VIDEOIO ERROR: V4L2: setting property #-1 is not supported
VIDEOIO ERROR: V4L2: setting property #-1 is not supported
1 500 0.002
This is the arguments I input, ./aruco_calibration live[:1] aruco_calibration_grid_board_a4.yml camera_results.yml -size=0.04. I saw the live video window pop out, and I could add images for calibration by press a, but I didn't see press c to calibrate as suggested in tutorial. Here is the screenshot of the in window.
Can someone please tell me what went wrong?
So I've searched online and thought maybe v4l2 wasn't compatible with TX2 platform or something. What I did was to capture some images with my camera using guvcview and use aruco_calibration_fromimages to calibrate and got the expected result.
An alternative method is to use OpenCV's built-in calibration and modify the generated .yml file to Aruco's format.
I need some help about how savefrom force a video to download.
go to > http://en.savefrom.net/1-how-to-download-youtube-video/
add any youtube video URL it will show you available formats
then on click it will force you to download this video ????
How this force to download??? Any logic behind this ?
I'm attempting to parse an image that is possibly corrupt and it's driving me nuts trying to figure out what's wrong. Here is what I've deduced..
Example image: https://s3.amazonaws.com/edison_new/ffb3ccc402d6bd6-original
The images only show up in Chrome
Can't drag them to the desktop (on a mac).
Attempting to save them to computer yields a file that is "damaged or could not be open" when opening with Preview
Attempting to open in Photoshop yields "Could not complete your request because an unknown or invalid JPEG marker type is found."
Files are stored on Amazon S3
The meta data indicates the content-type to be image/jpeg
File definitely exists as you can see it in Chrome...
Anyone can help me deduce what is going on here??
The image is in WEBP format, its not natively supported in IE or FF so will not be displayed.
http://caniuse.com/#feat=webp
(I opened it in IrfanView to see what format it was)
Does anyone out there have a process or solution for displaying a corrupted image using wxpython. To be clear the image is corrupted but ACDSEE is still able to display it (all be it displayed corrupted), also the default windows fax/image viewer can display the image (all be it corrupted). When I try to process the image with wx I get an error and my script stops:
image.thumbnail((NewWidth, temp_height), Image.ANTIALIAS)
File "C:\Python27\lib\site-packages\PIL\Image.py", line 1559, in thumbnail
self.load()
File "C:\Python27\lib\site-packages\PIL\ImageFile.py", line 215, in load
raise_ioerror(e)
File "C:\Python27\lib\site-packages\PIL\ImageFile.py", line 52, in raise_ioerror
raise IOError(message + " when reading image file")
IOError: broken data stream when reading image file
I realize that I could just find where the error occurs and "skip" any corrupted images but I would rather be able to display them (than skip them) despite the corruption, as the two programs I mention above can. Any help/suggestions/guidance would be appreciated.
FYI. Not downing wx, I LOVE it! Ms Paint cannot display the image, it gracefully fails and gives a message that the image is corrupted (the equivalent of skipping) and MS Picture Manager actually hung on the image. So if the consensus is that wx just can't handle corrupted images I am willing to accept that and will add "skipping" code for corrupted images, but I wanted to ask the question before I did so.
I don't think wxPython supports this currently. I would just create some kind of default broken image or message that you can display instead. You might also try using the Python Imaging Library itself to open the image.
If you can find an open source image viewer that does work with corrupt images, than you should take a look at their code to see if we could patch wxPython.
I'm working with Flowplayer captions plugin http://flowplayer.org/demos/plugins/flash/captions.html and I need references/links in subtitles. When I've built into srt file link like click this link to flowplayer.org
then the flowplayer stuck on parse processing and last message was only
org.flowplayer.captions::Caption : captions file loaded, parsing cuepoints
Please prompt me how to resolve this problem. Thanks
I've resolved this problem by commented out some piece of code in source code. This code checks for XML subtitle format and fails when it reads linked html code.