Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd February 2009, 15:50   #1  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
flash + x264 streaming?

anyone give me a clue how to do it. I have some snow videos of today i want to share with family, but I cant work out the streaming side of things.

I have my own webspace. I can easily convert to an mp4 but then i get lost.

I have tried in the past, eons ago, but the files would not stream in JW player and such. is there anything special i need to do, muxing the mp4 etc?
deets is offline   Reply With Quote
Old 2nd February 2009, 17:31   #2  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
streaming or progressive download?
__________________
certain other member
smok3 is offline   Reply With Quote
Old 2nd February 2009, 17:52   #3  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
hmm prog download, like dark shikari has with his test clips
deets is offline   Reply With Quote
Old 2nd February 2009, 19:56   #4  |  Link
Blue_MiSfit
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,989
Check out the JW flash player.

It's very easy to implement

~MiSfit
__________________
These are all my personal statements, not those of my employer :)
Blue_MiSfit is offline   Reply With Quote
Old 2nd February 2009, 20:00   #5  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by Blue_MiSfit View Post
Check out the JW flash player.

It's very easy to implement

~MiSfit
i had before, was not doing as it should. i heard i need to mux the mp4 in a certain way or something? x264 mp4 ouput wasnt good enough?


so in theory i can upload any mp4 and use jw flash player and it will work just fine?

it was either my host or the files i was using
deets is offline   Reply With Quote
Old 2nd February 2009, 20:11   #6  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by deets View Post

so in theory i can upload any mp4 and use jw flash player and it will work just fine?

yes

just make sure you respect relative paths (media files relative to the JW player directory) and that should be it.

Do :

/home/index.html (with the JWplayer code)
/home/playlist.pls (optional)
/home/media/(*.mp4)
/home/code/(jwplayer files)

and you're all go.


cheers
audyovydeo
audyovydeo is offline   Reply With Quote
Old 2nd February 2009, 20:23   #7  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Well, he also needs to mux with something like mp4box...
Dark Shikari is offline   Reply With Quote
Old 2nd February 2009, 20:30   #8  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by Dark Shikari View Post
Well, he also needs to mux with something like mp4box...
ah yep. i believe this was my flaw before. as soon as i can test i shalll....

not that i can get anything to decode MJPG properly
deets is offline   Reply With Quote
Old 2nd February 2009, 20:33   #9  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by Dark Shikari View Post
Well, he also needs to mux with something like mp4box...
well he said he works with mp4 files, they're already "muxed".

(lemme guess : he's using, like me, bobor's builds before bobor decides to kill mp4 support ;-)

cheers
a/v
audyovydeo is offline   Reply With Quote
Old 2nd February 2009, 20:33   #10  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by audyovydeo View Post
well he said he works with mp4 files, they're already "muxed".
Sure, and if they're muxed with ffmpeg or x264, the moov atom won't be in the right place for Flash to use them.
Dark Shikari is offline   Reply With Quote
Old 2nd February 2009, 20:35   #11  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by Dark Shikari View Post
Sure, and if they're muxed with ffmpeg or x264, the moov atom won't be in the right place for Flash to use them.
and this would cause a blank screen ?
deets is offline   Reply With Quote
Old 2nd February 2009, 20:44   #12  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by deets View Post

not that i can get anything to decode MJPG properly
QuickTime player ?



DS : you hit (as often) the nail on the head : I just realised that the couple of dozen files I use in conjunction with JWplayer actually had gone through mp4box. As this is only true for a portion of all my files, I'd not come across the problem, hence made the association.


cheers
a/v
audyovydeo is offline   Reply With Quote
Old 2nd February 2009, 20:47   #13  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by audyovydeo View Post
QuickTime player ?



DS : you hit (as often) the nail on the head : I just realised that the couple of dozen files I use in conjunction with JWplayer actually had gone through mp4box. As this is only true for a portion of all my files, I'd not come across the problem, hence made the association.


cheers
a/v
ah i was thinking via avisynth would rather not use QT if possible although i could use it to spit out some other lossless format maybe
deets is offline   Reply With Quote
Old 2nd February 2009, 21:00   #14  |  Link
audyovydeo
Registered User
 
audyovydeo's Avatar
 
Join Date: Apr 2007
Posts: 464
Quote:
Originally Posted by deets View Post
ah i was thinking via avisynth would rather not use QT if possible although i could use it to spit out some other lossless format maybe
I noticed doom9 is generally hostile to QuickTime. I only stopped using QuickTime when I got serious about H.264, but it's still a good multiformat converter for me.

cheers
a/v
audyovydeo is offline   Reply With Quote
Old 2nd February 2009, 21:15   #15  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by audyovydeo View Post
I noticed doom9 is generally hostile to QuickTime. I only stopped using QuickTime when I got serious about H.264, but it's still a good multiformat converter for me.

cheers
a/v
yeah i dont like how it took over my pc and such. but ill use if it it outputs a lossless format i can use
deets is offline   Reply With Quote
Old 2nd February 2009, 21:16   #16  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,392
Quote:
Originally Posted by deets View Post
and this would cause a blank screen ?
check your flash version.

ups, you said mjpg mp4 files?
__________________
certain other member
smok3 is offline   Reply With Quote
Old 2nd February 2009, 21:17   #17  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Posts: 8,666
Quote:
Originally Posted by audyovydeo View Post
QuickTime player ?
Um... why not something libavcodec-based like FFDshow?

MJPEG is one of the most widely supported formats out there; I have no idea why anyone would want to resort to Quicktime to play it.
Dark Shikari is offline   Reply With Quote
Old 2nd February 2009, 21:19   #18  |  Link
deets
Registered User
 
Join Date: Jan 2005
Location: london, england
Posts: 509
Quote:
Originally Posted by Dark Shikari View Post
Um... why not something libavcodec-based like FFDshow?

MJPEG is one of the most widely supported formats out there; I have no idea why anyone would want to resort to Quicktime to play it.
i have it all setup to play, but avisynth always says cant decompress frame 0

edit: as a follow up, i tried the pegasus trial mjpeg codec and that works albeit with a horrible nag screen! but ffdshow wont work for me

edit 2: all works after muxing how cool.... thanks everyone

Last edited by deets; 2nd February 2009 at 23:18.
deets is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:15.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.