-
Notifications
You must be signed in to change notification settings - Fork 186
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
ffplay works but vlc doesn't #20
Comments
Another problem with my two phones is that only 480x320 and 320x240 work, 800x480 or 640x480 doesn't work. Is it because of the CPU capacity of the phone or the network capacity? |
Same here
Both players connect and trigger the app to start the camera but they cannot play. The ffplay says:
|
I believe the problem is that the software doesn't send stream info. mplayer says:
Emphasize on: |
Are you using 480x320 or 320x240? By my tests, they can work while using ffplay, but vlc doesn't. High resolutions don't work for both ffplay and vlc, because if resolution.X>=640, libstreaming will use MediaRecorder. but MediaRecorder cannot start if setting its outputFile to pipe created by ParcelFileDescriptor.createPipe(). I tried to still use MediaCodec for high resolution, but also failed. |
I tried with all resolutions and both ffplay and vlc and neither worked. Two things came to my mind: Either Debian Jessie's version of some libraries lacks some dependency on compilation time that prevents these two software to read size information of this specific format of video or you missed one step in your app which initializes the stream with size information. Something like: |
800x480 and 640x480 don't work on ubuntu vlc but the lower resolutions work. |
Hi, thanks for your great work. It works between my two phones.
And I also can use ffplay on my computer to view them. But the strange thing is that vlc on my computer cannot play. Everytime it will report error after received nothing for more than 10 seconds.
And I tried to use ffmpeg to record the rtsp link, but the recorded video cannot be played by both vlc and ffplay if without transcode, the ffmpeg command likes this,
ffmpeg.exe -i rtsp://192.168.0.10:8086 -c copy test.ts
It's ok to play if ffmpeg transcodes like this,
ffmpeg.exe -i rtsp://192.168.0.10:8086 test.ts
It seems something is wrong with the codec. Any suggestions? Thanks.
The text was updated successfully, but these errors were encountered: