Hello world
to begin, sorry for my poor english, I hope you will understand me
so, I bought an Imagevue gallery to share private medias with my family. Imagevue can display pictures and videos (FLV and MP4), this is why I chose it.
I have a Nokia N8 for some years, and I took some videos with it. those are MP4 native, with h.264 and AAC LC. all of them works perfectly with VLC, and I uploaded some of them on youtube without any problem.
but last weekend, I uploaded one N8 video on my FTP where the new Imagevue gallery is. I tried to play the video before upload the others... the player loaded the whole file before playing it. for a very small video, it's not a problem, but for 100 or 200Mo videos, it's not acceptable.
so I found some forums where people talked about this : the header must be moved at the beginning of the file. so I did it, with MP4 FastStart, to test. but the result was strange... the video display a frozen image, then load a little and play at the same time, but always frozen... for begin next to the end, a shorter video.
so I tried tons of software, YAMB for example, or MP4 Box with some GUI, etc... I tried several options that I didn't know but seem to be fine, without any good results.
I don't have any idea anymore, and I'm not a specialist... that's why I'm here !
to show you how it works, I uploaded a test gallery with 6 videos : 1 original test from my Nokia N8 (test_original.mp4) and 5 remuxed files, named with what I did on it (for example, test_faststart.mp4 is the one I tried with MP4 Fast Start).
here is the test gallery : http://www.oxydium.com/test/
the original video can be download here : http://www.oxydium.com/test/test_original.mp4 (if someone wants to try ^^).
if you have an idea, I hear you !
Thank you,
Kivlov.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 30 of 50
Thread
-
pwet.
-
The term you are looking for is progressive streaming,
mp4box is muxing mp4 with this feature set default, I do this all the time, but I use command line. But mp4box is just a muxer, not encoder.
For example if you get mp4 video from Avidemux it is not ready for progressive streaming, you'd have to run it through Data Go Round utility mp4faststart (I manualy set correct hyperlink here, because yours leads just to mp4box download)
anyway that Data Go Round neat little program works also, so not sure where is the problem. -
But kivlov has already used mp4faststart .
Yep, the mp4faststart/hint files freezes a bit at start. Compared to the original that must load entire but then plays ok.
Have you tried reconvert one mp4 with for example handbrake. Does same problem occur? Just to test. -
not really, when it freezes at the beginning, the video total time is cut : total time - freeze time = video time cut, I lost about 5 or 6s at the first play (15% of the total time in my example !), depend of the freeze time :/
I tried to reconvert with SUPER, but there were no difference (stream copy). I didn't try handbrake, I will this evening...
and if someone could try my test video on his own server with his own player, to see if there is a difference...
thank you
Kivlov.pwet. -
"Stream copy" just copies the video. Reconvert the clip instead. Just to see how it works on your server.
I can test the file on my server....if I get some free time over. -
I didn't do it, to preserve the quality (and I don't see why it could be different). but I will try.
pwet. -
http://www.oxydium.com/test/test_original.mp4 plays better directly in chrome and firefox. Without any flash player but just with the browser/html5 player.
-
yes, I know that. I tried a standalone HTML5 player, and it works fine. but I have the same problem with jw player and jplayer (standalone), and the Imagevue player is the only solution I should use for security reasons.
an Imagevue demo gallery has some MP4 videos which work perfectly : http://imagevuex.com/demo/x2/#/various/video/.
I downloaded one of them, pixels.mp4, and uploaded it on my test gallery. It works perfectly too ! you can try it, it's the first one in my folder. that's why I say that the Imagevue player should work with my videos. but I don't understand what is different between this video and mine...pwet. -
Yep. It works fine.
Something is wrong with the nokia video. And you seem to have tried all remuxers(no video reconversion). -
The video is wrong.
.
Adding the mediainfo report
Code:General Complete name : E:\Downloads\test_original.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 51.0 MiB Duration : 40s 626ms Overall bit rate mode : Constant Overall bit rate : 10.5 Mbps Encoded date : UTC 2014-02-10 19:06:46 Tagged date : UTC 2014-02-10 19:06:46 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L3.1 Format settings, CABAC : No Format settings, ReFrames : 1 frame Format settings, GOP : M=1, N=30 Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 40s 626ms Bit rate mode : Constant Bit rate : 10.4 Mbps Nominal bit rate : 14.0 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Variable Frame rate : 30.000 fps Minimum frame rate : 29.970 fps Maximum frame rate : 30.030 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.375 Stream size : 50.2 MiB (98%) Encoded date : UTC 2014-02-10 19:06:46 Tagged date : UTC 2014-02-10 19:06:46 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 40s 384ms Bit rate mode : Constant Bit rate : 160 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 789 KiB (2%) Encoded date : UTC 2014-02-10 19:06:46 Tagged date : UTC 2014-02-10 19:06:46
-
mmm... yes. and my new question is : what is wrong in the Nokia N8 video which disturb a progressive play ?
pwet. -
Remuxing nokia-n8.mp4 back to remuxed.mp4 might help, as it seems like issue is related with mov atoms or web-optimization.
-
Try latest mp4box build. http://gpac.wp.mines-telecom.fr/downloads/gpac-nightly-builds/
From the command prompt type
Code:mp4box -hint video.mp4
-
ok, I'll try this evening, after work. I don't really see what could be different, but I'll try
pwet. -
thank you Baldrick, I'll test those files... as soon as my web hoster will be back online
pwet. -
the both videos are online, I uploaded them. but the problem is the same, as you can see
pwet. -
I have another camera since christmas. but I can't film the past with it
I'm sure there is a solution... but I don't know itpwet. -
Get a time machine.
Or just try and reconvert. It might be worth it even if you lose some quality.Last edited by Baldrick; 11th Feb 2014 at 06:54.
-
Or just try and reconvert. It might be worth it even if you lose some quality.
As OP mentioned Handbrake, I was trying to figure out appropriate profile or settings by reading wiki/manual,
here : https://trac.handbrake.fr/wiki/BuiltInPresets
Following setting is mentioned for Android Tablet which should also work for you,
./HandBrakeCLI -i DVD -o ~/Movies/movie.mp4 -e x264 -q 22.0 -r 30 --pfr -a 1 -E faac -B 128 -6 dpl2 -R Auto -D 0.0 --audio-copy-mask aac,ac3,dtshd,dts,mp3 --audio-fallback ffac3 -f mp4 -X 1280 -Y 720 --loose-anamorphic --modulus 2 --x264-preset medium --h264-profile main --h264-level 3.1
I am still wondering, How does Hanbrake sets proper aspect ratio? May be it has some some internal mechanism.
I had a DVR which used to record in mpeg-2 format in such a way that players start freezing and no other software can import it straight without re-encoding, -
I tested that remuxed file by Baldrick and it works with jwplayer, ....., that video has just insane bitrate for streaming standards, 10Mbits and great deal even 15Mbit, so it takes a while until it fills buffer , that depends on your download speed and whatever that server of yours is capable to stream, and only then it starts to stream.
That buffering could go on for a couple of seconds maybe even ten seconds or so, then it becomes a classic, a cat and mouse streaming game, playback catches limit whatever was downloaded and it starts to buffer for a while, until there is enough in buffer it starts to play again.
In any case using jwplayer, video started to play before the whole video was downloaded. -
so, I tried Handbrake with my video, with the profile enim said. here is the media info :
Code:General Complete name : C:\Users\Kivlov\Videos\test_handbrake.mp4 Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 File size : 11.8 MiB Duration : 40s 633ms Overall bit rate mode : Variable Overall bit rate : 2 443 Kbps Encoded date : UTC 2014-02-11 18:32:59 Tagged date : UTC 2014-02-11 18:34:51 Writing application : HandBrake 0.9.9 2013052900 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L3.1 Format settings, CABAC : Yes Format settings, ReFrames : 4 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 40s 633ms Bit rate : 2 311 Kbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Original display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 30.000 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.084 Stream size : 11.2 MiB (95%) Writing library : x264 core 130 r2273 b3065e6 Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=22.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=14000 / vbv_bufsize=14000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00 Encoded date : UTC 2014-02-11 18:32:59 Tagged date : UTC 2014-02-11 18:34:50 Color primaries : BT.709 Transfer characteristics : BT.709 Matrix coefficients : BT.709 Audio ID : 2 Format : AAC Format/Info : Advanced Audio Codec Format profile : LC Codec ID : 40 Duration : 40s 405ms Bit rate mode : Variable Bit rate : 128 Kbps Maximum bit rate : 150 Kbps Channel(s) : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Compression mode : Lossy Stream size : 631 KiB (5%) Encoded date : UTC 2014-02-11 18:32:59 Tagged date : UTC 2014-02-11 18:34:50
pwet.
Similar Threads
-
[Solved] Progressive loss of audiosync during a re-encode using Handbrake
By falco2000 in forum Video ConversionReplies: 8Last Post: 16th May 2013, 06:44 -
Progressive Segm.Frame video to real progressive videos in PREMIERE PRO CS5
By Stears555 in forum EditingReplies: 4Last Post: 3rd Mar 2013, 14:43 -
interlaced and progressive in same video. how to make only progressive.
By OmniShadow in forum Newbie / General discussionsReplies: 32Last Post: 18th Sep 2012, 23:44 -
How to progressive Upload video & progressive download
By video909 in forum Video Streaming DownloadingReplies: 1Last Post: 6th Mar 2010, 05:17 -
Progressive MP4 in embedded flash video player
By The111 in forum Newbie / General discussionsReplies: 2Last Post: 14th Mar 2009, 19:58