echo "Enter m3u8 link:";read link;echo "Enter output filename:";read filename;ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 $filename.mp4
- Open Chrome Developer tools and click the Network tab.
- Navigate to the page with the video and get it to start playing.
- Filter the list of files to "m3u8".
- Find master.m3u8 or index.m3u8 and click on it.
- Save the file to disk and look inside it.
- If the file contains a single m3u8 master url, copy that one instead.
- Run the program m3u8x.
- Paste the same m3u8 url in both textboxes (URL and Quality URL) and click "Headers" and set the referral url and user-agent from the request as found in Chrome.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/demo/src/main/java/com/google/android/exoplayer/demo/player/DemoPlayer.java b/demo/src/main/java/com/google/android/exoplayer/demo/player/DemoPlayer.java | |
| index 6f1e8b0..cdd0292 100644 | |
| --- a/demo/src/main/java/com/google/android/exoplayer/demo/player/DemoPlayer.java | |
| +++ b/demo/src/main/java/com/google/android/exoplayer/demo/player/DemoPlayer.java | |
| @@ -40,6 +40,7 @@ import com.google.android.exoplayer.upstream.DefaultBandwidthMeter; | |
| import com.google.android.exoplayer.util.DebugTextViewHelper; | |
| import com.google.android.exoplayer.util.PlayerControl; | |
| +import android.graphics.SurfaceTexture; | |
| import android.media.MediaCodec.CryptoException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.content.Context; | |
| import android.os.Handler; | |
| import android.os.SystemClock; | |
| import com.google.android.exoplayer.ExoPlaybackException; | |
| import com.google.android.exoplayer.MediaClock; | |
| import com.google.android.exoplayer.MediaCodecSelector; | |
| import com.google.android.exoplayer.MediaCodecVideoTrackRenderer; | |
| import com.google.android.exoplayer.SampleSource; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #import <Foundation/Foundation.h> | |
| @interface Book : NSObject | |
| { | |
| NSMutableDictionary *data; | |
| } | |
| @property (retain) NSString *title; | |
| @property (retain) NSString *author; | |
| @end |
