Jump to content

therebel

+ Customer verified
  • Posts

    190
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by therebel

  1. therebel

    video sitemap

    yoast has video sitemaps i guess.
  2. Hi, I didnt get your comment, anyway, i did it through functions, and the results comes out as they should with the domain/search/batman https://picr.ws/d/ZQ0.jpg cheers.
  3. This short tutorial will cover the following search slug transformation: mydomain.com/?s=search-term to mydomain.com/search/search-term Two methods I know: 1st method: Editing Your Theme Functions File by adding at the end of the file /** * Change search page slug to /search/ */ function wp_change_search_url() { if ( is_search() && ! empty( $_GET['s'] ) ) { wp_redirect( home_url( "/search/" ) . urlencode( get_query_var( 's' ) ) ); exit(); } } add_action( 'template_redirect', 'wp_change_search_url' ); 2nd method: Using .htaccess (apache) # Change WordPress search URL slug to /search/ RewriteCond %{QUERY_STRING} \\?s=([^&]+) [NC] RewriteRule ^$ /search/%1/? [NC,R,L] Both methods presume you want to use /search/ , but you can change it to whatever you want. Enjoy!
  4. Thats a php player script, which he iframes to his website: https://peliculonhd.xyz/embed/7140517156/ its a paid script for sure, but you could ask gently if the owner of peliculohd.com could share it here. cheers.
  5. Hi, FFMpeg is free. in a post above, you can find the commands to split the mp4 files to hls. all you need to do is having a good/fast storage to serve the .ts files. (I would charge a small fee for the full install, if you have already the storage and the windows server). cheers.
  6. Not a facebook fan, cant help, sorry.
  7. doing what I can on my free time. cheers.
  8. Also, I would suggest you to use 720p copies, as they are half in size compared to 1080p, and very watchable, so you could optimize the storage space better. Also, remember that, the commands to split in HLS arent perfect, they do their job, but its up to you to fine tuning yours. for example, for a 720p source, hls_time 3 , seems a good compromise, I would suggest you to test with both 2 and 4 and see whats better for you, meaning, smaller chunks, more often connections to the server, but better flow in video loading; doing hls_time 4 or 5 means bigger chunks, less connections to the server, but the users needs to have good connection. test it!
  9. WINDOWS FOR /F "tokens=*" %G IN ('dir /b *.mp4') DO ffmpeg -i "%G" -c copy -map 0 -hls_time 3 -hls_list_size 0 -f hls "%~nG.m3u8" FOR /F "tokens=*" %G IN ('dir /b *.mkv') DO ffmpeg -i "%G" -c copy -map 0 -hls_time 3 -hls_list_size 0 -f hls "%~nG.m3u8" LINUX for i in *.mp4; do ffmpeg -i "$i" -c copy -map 0 -hls_time 3 -hls_list_size 0 -f hls "${i%.*}.m3u8"; done for i in *.mkv; do ffmpeg -i "$i" -c copy -map 0 -hls_time 3 -hls_list_size 0 -f hls "${i%.*}.m3u8"; done You can do MKV too, but I always do prefer to encode to mp4, then split. MKV have strange mappings that sometime happened it went without audio or video was flickering after the split.
  10. yes of course, you just need to install ffmpeg properly (search google for installation instruction about your server OS).
  11. Hello, I did a short video showing how to encode in hls using ffmpeg manually, then self-host your videos to feralhosting, and serve them to your jwplayer 8 (modified). I fast forwarded the video, to show the basic steps, but you can see the timer on the bottom bar, the whole encode/upload, took less than 30min, for a seson with 19 episodes. (of course for a movie is faster...). the tools used are all FREE (ffmpeg for encode, winscp for upload/manage files). Feel free to ask question, im always open to help out (within limitis). heres the link of the video, i hope you enjoy! https://onionplay.org/fb/encode/hls.php (the video is hosted on facebook by the way). for youtube lovers: youtu.be/laqqTtQ_Wyk
×
×
  • Create New...