Impossible to play Video [Solved]

Need help? Post your questions here.
jonnymnemo
Contributor
Contributor
Posts: 26
Joined: 13 Dec 2012, 14:04
Has thanked: 3 times
Been thanked: 6 times

Impossible to play Video [Solved]

Unread post by jonnymnemo »

Hey guys !
I have a strange bug when I want to play any video.

It says in place of the video :
Video not found or access denied : /stream?id=917&maxbitrate=1000&timeOffset=0&player=13
In the logs, it says :

Code: Select all

[06/03/13 13:20:59 CET]	WARN	StreamController	Unknown duration for [aarinfantasy]_Yami_no_Matsuei_-_01. Unable to estimate transcoded size.
[06/03/13 13:20:59 CET]	INFO	PlayQueueInputStream	Roddy listening to "[aarinfantasy]_Yami_no_Matsuei/[aarinfantasy]_Yami_no_Matsuei_-_01.avi"
[06/03/13 13:20:59 CET]	DEBUG	TranscodeInputStream	Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/media/dns320/Medias/Videos/Animes/[aarinfantasy]_Yami_no_Matsuei/[aarinfantasy]_Yami_no_Matsuei_-_01.avi] [-async] [1] [-b] [1000k] [-s] [640x480] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
I run the latest madsonic on ubuntu 12.04.2.lts.
I tried to chmod 777 the Video folder. No change.
I checked the transcoding, and put the default one.
I tried to update ffmpeg, but it was already the latest one.
I deleted my player to create a new one, no change.

I'm kind of stuck on this problem. Any ideas ?
These users thanked the author jonnymnemo for the post:
Madsonic
Rating: 7.69%
gurutech
Contributor
Contributor
Posts: 323
Joined: 02 Jan 2013, 04:56
Has thanked: 11 times
Been thanked: 105 times

Re: Impossible to play Video

Unread post by gurutech »

Do all your videos have the [ and ] characters in them? Try changing to ( and ) instead, maybe on a couple files to start for testing...
jonnymnemo
Contributor
Contributor
Posts: 26
Joined: 13 Dec 2012, 14:04
Has thanked: 3 times
Been thanked: 6 times

Re: Impossible to play Video

Unread post by jonnymnemo »

Not all of them have [], I also thought of that, but it is not the cause. Also, with previous versions of madsonic, I managed to play even files with [].
jonnymnemo
Contributor
Contributor
Posts: 26
Joined: 13 Dec 2012, 14:04
Has thanked: 3 times
Been thanked: 6 times

Re: Impossible to play Video

Unread post by jonnymnemo »

I installed the last build (3360), and the latest transcode files. Video still doesn't want to play ! :cry:
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Impossible to play Video

Unread post by Madsonic »

can you provide a small example for testing?
jonnymnemo
Contributor
Contributor
Posts: 26
Joined: 13 Dec 2012, 14:04
Has thanked: 3 times
Been thanked: 6 times

Re: Impossible to play Video

Unread post by jonnymnemo »

As Madevil found by PM, this was an issue with ffmpeg. He changed ffmpeg to Audioffmpeg, and now it works !
I don't understand why ffmpeg is not working correctly, but now I can play videos again. Will try the ffmpeg from the next build. ;)
These users thanked the author jonnymnemo for the post:
admin
Rating: 7.69%
GJ51
Contributor
Contributor
Posts: 192
Joined: 15 Dec 2012, 17:52
Has thanked: 42 times
Been thanked: 83 times

Re: Impossible to play Video

Unread post by GJ51 »

Ffmpeg is a funny sort of creature that tends to have a few quircks that make it a bit difficult to predict what's going to happen with it from build to build.

I've found a couple of consistent issues that appear from time to time that vary depending on which version of ffmpeg that is being used. The first is with video playback. Some versions of ffmpeg have trouble with avi files. I've also seen versions that just can't handle video at all in Subsonic/Madsonic. Second, some versions of ffmpeg don't transcode some audio formats very well. particularly when dealing with flac and ogg formats.

Because of the inconsistent performance of ffmpeg builds I have kept two versions of ffmpeg that I found over the years that work well in each case. The one that I found that handles the videos pretty well I renamed Videoffmpeg. The one that does the audio transcoding and handles flac and ogg formats well I renamed Audioffmpeg.

This way I can actually use 3 different transcoding strings that are used to work best with a given format. Video, Audio and the current release of ffmpeg can then be tested whenever I upgrade a version of SS/MS. It takes a bit of testing to get the best results, but I usually get everything working by using one of the 3 versions.

If anyone want a copy of my Video or Audio ffmpegs, just send me a PM and I'll set up a link for download.
These users thanked the author GJ51 for the post (total 2):
Madsonicadmin
Rating: 15.38%
User avatar
GrindheadJim
Posts: 6
Joined: 05 Jun 2013, 18:23
Has thanked: 3 times
Been thanked: 2 times

Re: Impossible to play Video

Unread post by GrindheadJim »

jonnymnemo wrote:Hey guys !
I have a strange bug when I want to play any video.

It says in place of the video :
Video not found or access denied : /stream?id=917&maxbitrate=1000&timeOffset=0&player=13
I'm having the same error, running the newest beta of Madsonic. Videos play in Android flawlessly, but not in any browser (tried IE, FF, and Chrome).

I will confess to not fully understanding the posted solution, and also am not sure if it is still applicable. ANY assistance is greatly appreciated. Thank you.
User avatar
GrindheadJim
Posts: 6
Joined: 05 Jun 2013, 18:23
Has thanked: 3 times
Been thanked: 2 times

Re: Impossible to play Video

Unread post by GrindheadJim »

Switching back to default flash settings fixed the issue, but, switching back to HTML5 presents the same issue as before.

So, it's working, but, I would really prefer HTML5 functionality. Any ideas?
gurutech
Contributor
Contributor
Posts: 323
Joined: 02 Jan 2013, 04:56
Has thanked: 11 times
Been thanked: 105 times

Re: Impossible to play Video

Unread post by gurutech »

What version of Madsonic are you running? I just upgraded to 3500 (from 3480) and now there is an option under Settings/Cleanup Tools that lets you "reset" the video transcoder to WEBM (for HTML5) or back to FLV (for Flash).
These users thanked the author gurutech for the post:
Madsonic
Rating: 7.69%
User avatar
GrindheadJim
Posts: 6
Joined: 05 Jun 2013, 18:23
Has thanked: 3 times
Been thanked: 2 times

Re: Impossible to play Video

Unread post by GrindheadJim »

gurutech wrote:What version of Madsonic are you running? I just upgraded to 3500 (from 3480) and now there is an option under Settings/Cleanup Tools that lets you "reset" the video transcoder to WEBM (for HTML5) or back to FLV (for Flash).
Thanks for the reply, Gurutech. :)

5.0.3490.beta2, and that process is what I was referrring to here:
GrindheadJim wrote:Switching back to default flash settings fixed the issue, but, switching back to HTML5 presents the same issue as before.

So, it's working, but, I would really prefer HTML5 functionality. Any ideas?
Am upgrading to the new 3510 beta now to see if there is any difference.

EDIT: The upgrade made no difference.
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Impossible to play Video

Unread post by Madsonic »

for clarification

for HTML5 Playback you need set the video player

Image

and the right transcoding for it (reset it within the Cleanup/Tools)

Image

only both is set you will can transcode to HTML5 player

best regards
These users thanked the author Madsonic for the post:
GrindheadJim
Rating: 7.69%
User avatar
GrindheadJim
Posts: 6
Joined: 05 Jun 2013, 18:23
Has thanked: 3 times
Been thanked: 2 times

Re: Impossible to play Video

Unread post by GrindheadJim »

This fixed the issue flawlessly. Thank you so much! :D
These users thanked the author GrindheadJim for the post:
Madsonic
Rating: 7.69%
Post Reply