-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on video #18
Comments
Hi, This looks like the video you are trying to stitch is not 3840x1920 as this is the only supported size (I could swear I added this into the README file) Could you check the video size (the file that came straight from the camera)? |
Hi all! toledones@gollum:~/Imágenes/2017-05-13_marcha_madres$ mediainfo 360_0329.MP4 General Complete name : 360_0329.MP4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (qt /isom/hvc1) File size : 150 MiB Duration : 41 s 931 ms Overall bit rate mode : Variable Overall bit rate : 30.1 Mb/s Encoded date : UTC 2017-05-10 22:16:59 Tagged date : UTC 2017-05-10 22:16:59 Video ID : 1 Format : HEVC Format/Info : High Efficiency Video Coding Format profile : [email protected]@Main Codec ID : hvc1 Codec ID/Info : High Efficiency Video Coding Duration : 41 s 909 ms Bit rate : 29.9 Mb/s Width : 3 840 pixels Height : 1 920 pixels Display aspect ratio : 2.000 Frame rate mode : Constant Frame rate : 29.970 (30000/1001) FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Bits/(Pixel*Frame) : 0.135 Stream size : 149 MiB (99%) Language : English Encoded date : UTC 2017-05-10 22:16:59 Tagged date : UTC 2017-05-10 22:16:59 Color range : Limited Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.601 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 41 s 931 ms Source duration : 41 s 899 ms Bit rate mode : Variable Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 spf) Compression mode : Lossy Source stream size : 979 KiB (1%) Language : English Encoded date : UTC 2017-05-10 22:16:59 Tagged date : UTC 2017-05-10 22:16:59 mdhd_Duration : 41931 toledones@gollum:~/Imágenes/2017-05-13_marcha_madres$ gear360video.cmd 360_0329.MP4 DEBUG: output filename: ./360_0329_pano.mp4 Extracting frames from video (this might take a while)... ffmpeg version 3.2.4-1 Copyright (c) 2000-2017 the FFmpeg developers built with gcc 6.3.0 (Debian 6.3.0-6) 20170205 configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version=1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-netcdf libavutil 55. 34.101 / 55. 34.101 libavcodec 57. 64.101 / 57. 64.101 libavformat 57. 56.101 / 57. 56.101 libavdevice 57. 1.100 / 57. 1.100 libavfilter 6. 65.100 / 6. 65.100 libavresample 3. 1. 0 / 3. 1. 0 libswscale 4. 2.100 / 4. 2.100 libswresample 2. 3.100 / 2. 3.100 libpostproc 54. 1.100 / 54. 1.100 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '360_0329.MP4': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: qt isomhvc1 creation_time : 2017-05-10T22:16:59.000000Z Duration: 00:00:41.91, start: 0.000000, bitrate: 30119 kb/s Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv), 3840x1920, 29912 kb/s, 29.97 fps, 29.97 tbr, 120k tbn, 120k tbc (default) Metadata: creation_time : 2017-05-10T22:16:59.000000Z handler_name : VideoHandler encoder : DRIMeV HEVC Encoder Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 191 kb/s (default) Metadata: creation_time : 2017-05-10T22:16:59.000000Z handler_name : SoundHandler [swscaler @ 0x5557c6689940] deprecated pixel format used, make sure you did set range correctly Output #0, image2, to './tmp.kPXu3FRVk1/image%05d.jpg': Metadata: major_brand : mp42 minor_version : 0 compatible_brands: qt isomhvc1 encoder : Lavf57.56.101 Stream #0:0(eng): Video: mjpeg, yuvj420p(pc), 3840x1920, q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default) Metadata: creation_time : 2017-05-10T22:16:59.000000Z handler_name : VideoHandler encoder : Lavc57.64.101 mjpeg Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 Stream mapping: Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native)) Press [q] to stop, [?] for help frame= 1256 fps= 18 q=24.8 Lsize=N/A time=00:00:41.90 bitrate=N/A speed=0.597x video:306241kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown Stitching frames... Frame: ./tmp.kPXu3FRVk1/image00001.jpg Processing input images (nona) WARN: 22:10:56.319717 (/build/hugin-JCCjou/hugin-2016.2.0+dfsg/src/hugin_base/panodata/Panorama.cpp:2054) readData(): Failed to read from dataInput. error while parsing panos tool script: gear360video.pto Error while running nona Error while running /bin/bash Removing temporary directories... |
Hi,
Thank you for your answer. I have tried with the highest resolution and it works very well !
Do you know how to do a gallery with a lot if pictures ? I can see a picture with pannellum but I want to do it with thousand photos.
And do you know you to show a video made with your script into pannellum or other Web script ?
I want to thank you very much for your script !
Le 14 mai 2017 03:27:52 GMT+02:00, Fernando Toledo <[email protected]> a écrit :
…Hi all!
I discover same error (on debian stretch) i think that this worked
before.
I see with mediainfo that the video is 3840x1920
(i can upload it at some site if you need as sample)
<pre>
***@***.***:~/Imágenes/2017-05-13_marcha_madres$ mediainfo
360_0329.MP4
General
Complete name : 360_0329.MP4
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42 (qt /isom/hvc1)
File size : 150 MiB
Duration : 41 s 931 ms
Overall bit rate mode : Variable
Overall bit rate : 30.1 Mb/s
Encoded date : UTC 2017-05-10 22:16:59
Tagged date : UTC 2017-05-10 22:16:59
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : ***@***.***@main
Codec ID : hvc1
Codec ID/Info : High Efficiency Video Coding
Duration : 41 s 909 ms
Bit rate : 29.9 Mb/s
Width : 3 840 pixels
Height : 1 920 pixels
Display aspect ratio : 2.000
Frame rate mode : Constant
Frame rate : 29.970 (30000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.135
Stream size : 149 MiB (99%)
Language : English
Encoded date : UTC 2017-05-10 22:16:59
Tagged date : UTC 2017-05-10 22:16:59
Color range : Limited
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.601
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 41 s 931 ms
Source duration : 41 s 899 ms
Bit rate mode : Variable
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 kHz
Frame rate : 46.875 FPS (1024 spf)
Compression mode : Lossy
Source stream size : 979 KiB (1%)
Language : English
Encoded date : UTC 2017-05-10 22:16:59
Tagged date : UTC 2017-05-10 22:16:59
mdhd_Duration : 41931
</pre>
<pre>
***@***.***:~/Imágenes/2017-05-13_marcha_madres$ gear360video.cmd
360_0329.MP4
DEBUG: output filename: ./360_0329_pano.mp4
Extracting frames from video (this might take a while)...
ffmpeg version 3.2.4-1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-6) 20170205
configuration: --prefix=/usr --extra-version=1 --toolchain=hardened
--libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-libopenmpt --enable-libopus
--enable-libpulse --enable-librubberband --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libiec61883 --enable-chromaprint --enable-frei0r
--enable-libopencv --enable-libx264 --enable-shared
WARNING: library configuration mismatch
avcodec configuration: --prefix=/usr --extra-version=1
--toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
--incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
--enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
--enable-libcdio --enable-libebur128 --enable-libflite
--enable-libfontconfig --enable-libfreetype --enable-libfribidi
--enable-libgme --enable-libgsm --enable-libmp3lame
--enable-libopenjpeg --enable-libopenmpt --enable-libopus
--enable-libpulse --enable-librubberband --enable-libshine
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265
--enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx
--enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394
--enable-libiec61883 --enable-chromaprint --enable-frei0r
--enable-libopencv --enable-libx264 --enable-shared --enable-version3
--disable-doc --disable-programs --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libtesseract
--enable-libvo_amrwbenc --enable-netcdf
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '360_0329.MP4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: qt isomhvc1
creation_time : 2017-05-10T22:16:59.000000Z
Duration: 00:00:41.91, start: 0.000000, bitrate: 30119 kb/s
Stream #0:0(eng): Video: hevc (Main) (hvc1 / 0x31637668), yuv420p(tv),
3840x1920, 29912 kb/s, 29.97 fps, 29.97 tbr, 120k tbn, 120k tbc
(default)
Metadata:
creation_time : 2017-05-10T22:16:59.000000Z
handler_name : VideoHandler
encoder : DRIMeV HEVC Encoder
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
stereo, fltp, 191 kb/s (default)
Metadata:
creation_time : 2017-05-10T22:16:59.000000Z
handler_name : SoundHandler
[swscaler @ 0x5557c6689940] deprecated pixel format used, make sure you
did set range correctly
Output #0, image2, to './tmp.kPXu3FRVk1/image%05d.jpg':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: qt isomhvc1
encoder : Lavf57.56.101
Stream #0:0(eng): Video: mjpeg, yuvj420p(pc), 3840x1920, q=2-31, 200
kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
Metadata:
creation_time : 2017-05-10T22:16:59.000000Z
handler_name : VideoHandler
encoder : Lavc57.64.101 mjpeg
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
Stream mapping:
Stream #0:0 -> #0:0 (hevc (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame= 1256 fps= 18 q=24.8 Lsize=N/A time=00:00:41.90 bitrate=N/A
speed=0.597x
video:306241kB audio:0kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: unknown
Stitching frames...
Frame: ./tmp.kPXu3FRVk1/image00001.jpg
Processing input images (nona)
WARN: 22:10:56.319717
(/build/hugin-JCCjou/hugin-2016.2.0+dfsg/src/hugin_base/panodata/Panorama.cpp:2054)
readData(): Failed to read from dataInput.
error while parsing panos tool script: gear360video.pto
Error while running nona
Error while running /bin/bash
Removing temporary directories...
</pre>
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#18 (comment)
--
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
|
I'll try to reproduce this on my side. For creating the gallery... if nothing fancy the easiest is to use static gallery with links like this: As for video, this looks promising: http://flimshaw.github.io/Valiant360/ Hopefully I will find time this week to update few things with the project. I'm happy to see people finding my scripts useful :) . L. |
I couldn't reproduce the issue on Linux, I'll try later on my Windows machine. I just did a commit with a poorman's gallery, see Cheers, |
Hi,
Do you try to see a video stitched with your script with the new 360's vlc player ?
Does it work fine ?
Le 16 mai 2017 00:39:03 GMT+02:00, ultramango <[email protected]> a écrit :
…I couldn't reproduce the issue on Linux, I'll try later on my Windows
machine.
I just did a commit with a poorman's gallery, see ```html`` directory.
You just need to place the files there and create ```filelist.txt```
(read ```README.md```). Kind of works for me, but don't expect miracles
from this quick franken-creation.
Cheers,
L.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#18 (comment)
--
Envoyé de mon appareil Android avec K-9 Mail. Veuillez excuser ma brièveté.
|
Thank you again for your web dev ! good job !! It work with pictures but
not with video, Do you have an idea ?
I will try to change vailant to pannellum, beacause I d'rather mouse
control, but thank you very much, I will be able to share my photo to my
client.
Le 16.05.2017 00:39, ultramango a écrit :
I couldn't reproduce the issue on Linux, I'll try later on my Windows machine.
I just did a commit with a poorman's gallery, see html`` directory. You just need to place the files there and createfilelist.txt(readREADME.md```). Kind of works for me, but don't expect miracles from this quick franken-creation.
Cheers,
L.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the thread [2].
|
It's possible to have click&drag with the current solution, in
To:
As described here: https://github.com/flimshaw/Valiant360 (there are other options as well). The video worked for me when I used Chrome; what browser are you using? I suspect some video incompatibilities. I just read about VideoLAN 360 deg. support, but I haven't tried it yet. L. |
Thnak about the valiant's option but I think there is a mistake :
you can see my file here, and when I move mouse, pictures move :
http://srf.atenbet.fr/pointclouds/index.html
About the video I'm using chrome too.
Le 17.05.2017 11:57, ultramango a écrit :
It's possible to have click&drag with the current solution, in index.html change this:
$('.valiantContainer').Valiant360();
To:
$('.valiantContainer').Valiant360({clickAndDrag: false});
As described here: https://github.com/flimshaw/Valiant360 (there are other options as well).
The video worked for me when I used Chrome; what browser are you using? I suspect some video incompatibilities.
I just read about VideoLAN 360 deg. support, but I haven't tried it yet.
L.
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the thread [2].
|
Hi, My mistake in the example I gave, you should have this in the code:
You have currently this in your
For the sake of completion put also this in the video section as well (just in case you ever decide to use it). I think I will have to attach extra file for the fonts because video/photo controls are not visible under Windows (possibly my Linux machine has too much stuff installed). |
ok thank it works, but mouse mouvement and fonction icon are not as
eyescandy as pannellum.
I don't know if I will use it but but can make a visit with pannellum...
I will try to add pnnellum into your script
Le 17.05.2017 13:57, ultramango a écrit :
Hi,
My mistake in the example I gave, you should have this in the code:
$('.valiantContainer').Valiant360({clickAndDrag: true});
You have currently this in your index.html (false and no semicolon):
$('.valiantContainer').Valiant360({clickAndDrag: false})
For the sake of completion put also this in the video section as well (just in case you ever decide to use it).
I think I will have to attach extra file for the fonts because video/photo controls are not visible under Windows (possibly my Linux machine has too much stuff installed).
--
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [1], or mute the thread [2].
|
@ftoledo could you please upload a sample somewhere so I could test it on my machine? Thanks. |
Hi! @ultramango i upload the video here: http://tom.pressenter.com.ar/~ftoledo/tmp/360_0310.MP4 |
|
Sorry i forgot change the permissions, now fixed, please try again, thanks! |
Got it, you can remove/disable the link. Thanks. |
Hi,
I have tried your work on W7.
It works lovely for photos but I can't use it on video. :
Converting video to images...
Stitching frames...
Processing frame frames\image00001.jpg
Processing input images (nona)
nona failed, panorama not created
"Reencoding video..."
ffmpeg failed, video not created
error.txt
The text was updated successfully, but these errors were encountered: