Jump to content

flv files won't play


gringitasarita
 Share

Recommended Posts

gringitasarita

After the most recent update, emby server won't play any flv files - this includes files that previously have played correctly. When I try to play them on my Roku, it just fails to play them. When I try to play them in the web interface, it shows "Video Error There was an error playing the video". I don't think I changed any settings, so I'm not sure why they aren't playing now. I've attached the logs for both a shorter and longer file, since I know at one point there was a problem with longer files.



http://localhost:8096/emby/videos/c7c7258546f15ca47d72ef85d938c811/stream.webm?DeviceId=35c228e14d4ef0853ee00e5ecaf9995edab28c7a&MediaSourceId=c7c7258546f15ca47d72ef85d938c811&VideoCodec=vpx&AudioCodec=vorbis&AudioStreamIndex=1&VideoBitrate=64682126&AudioBitrate=128000&MaxAudioChannels=6&PlaySessionId=01e638add9da4c2c95f4ea991ba42b47&api_key=f714a4d3d325418098aeb5bdfd623c3f&EnableAutoStreamCopy=false

{"Protocol":"File","Id":"c7c7258546f15ca47d72ef85d938c811","Path":"/Volumes/Video Backup/TV Shows/The Big Bang Theory/Season 1/The Big Bang Theory S01E01 mp4.flv","Type":"Default","Container":"flv","Name":"SD/H264/AAC","RunTimeTicks":13753240000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","IsInterlaced":false,"BitRate":400467,"BitDepth":8,"RefFrames":4,"IsDefault":false,"IsForced":false,"Height":352,"Width":624,"AverageFrameRate":24.41667,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":30,"IsAnamorphic":false},{"Codec":"aac","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":64752,"Channels":2,"SampleRate":48000,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/Volumes/Video Backup/TV Shows/The Big Bang Theory/Season 1/The Big Bang Theory S01E01 mp4.eng.srt"}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":473770,"RequiredHttpHeaders":{}}

/Users/sarah/.config/emby-server/ffmpeg/20150917/ffmpeg -fflags +genpts -i file:"/Volumes/Video Backup/TV Shows/The Big Bang Theory/Season 1/The Big Bang Theory S01E01 mp4.flv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "scale=trunc(min(max(iw\,ih*dar)\,720)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 400467 -bufsize:v (400467*2) -b:v 400467 -vsync vfr -map_metadata -1 -threads 3 -codec:a:0 libvorbis -ac 2 -ab 128000 -af "aresample=async=1" -y "/Users/sarah/.config/emby-server/transcoding-temp/88fada21af8108513d8904efae1c65b8.webm"
http://localhost:8096/emby/videos/92eb4c2a0bd8d1d284b5007062b2df28/stream.webm?DeviceId=35c228e14d4ef0853ee00e5ecaf9995edab28c7a&MediaSourceId=92eb4c2a0bd8d1d284b5007062b2df28&VideoCodec=vpx&AudioCodec=vorbis&AudioStreamIndex=1&VideoBitrate=11002434&AudioBitrate=128000&MaxAudioChannels=6&PlaySessionId=74bf065ed09043398420743134f2d07e&api_key=f714a4d3d325418098aeb5bdfd623c3f&EnableAutoStreamCopy=false

{"Protocol":"File","Id":"92eb4c2a0bd8d1d284b5007062b2df28","Path":"/Volumes/Video Backup/Movies - Series/Marvel Cinematic Universe/Iron Man (2008).flv","Type":"Default","Container":"flv","Name":"SD/H264/AAC","RunTimeTicks":75611860000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","IsInterlaced":false,"BitRate":396016,"BitDepth":8,"RefFrames":4,"IsDefault":false,"IsForced":false,"Height":272,"Width":480,"AverageFrameRate":24.41667,"RealFrameRate":23.97602,"Profile":"High","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":21,"IsAnamorphic":false},{"Codec":"aac","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":96501,"Channels":2,"SampleRate":44100,"IsDefault":false,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","Language":"eng","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/Volumes/Video Backup/Movies - Series/Marvel Cinematic Universe/Iron Man (2008).eng.srt"}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":500603,"RequiredHttpHeaders":{}}
/.config/emby-server/ffmpeg/20150917/ffmpeg -fflags +genpts -i file:"/Volumes/Video Backup/Movies - Series/Marvel Cinematic Universe/Iron Man (2008).flv" -map 0:0 -map 0:1 -map -0:s -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -vf "scale=trunc(min(max(iw\,ih*dar)\,640)/2)*2:trunc(ow/dar/2)*2" -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 396016 -bufsize:v (396016*2) -b:v 396016 -vsync vfr -map_metadata -1 -threads 3 -codec:a:0 libvorbis -ac 2 -ab 128000 -af "aresample=async=1" -y "/Users/sarah/.config/emby-server/transcoding-temp/ca08cd5854c6584092d76060c546c2b8.webm"
 
 
 
 
 
 
Edit: I just determined that it's not only flv files not playing. I have an mp4 file that also won't play, and gives me the same video error in the web interface. However, other mp4 files will play. I can't get any of my flv files to play.
http://localhost:8096/emby/videos/c557a7574878a372135b05f243d57514/stream.webm?DeviceId=35c228e14d4ef0853ee00e5ecaf9995edab28c7a&MediaSourceId=c557a7574878a372135b05f243d57514&VideoCodec=vpx&AudioCodec=vorbis&AudioStreamIndex=1&SubtitleStreamIndex=2&VideoBitrate=260210983&AudioBitrate=128000&MaxAudioChannels=6&PlaySessionId=9338922b5f914cd4ab32f8856243d204&api_key=f714a4d3d325418098aeb5bdfd623c3f&EnableAutoStreamCopy=false

{"Protocol":"File","Id":"c557a7574878a372135b05f243d57514","Path":"/Volumes/Video Backup/TV Shows/Arrow (DVDs)/Arrow Season 1/ARROW_SEASON_1_DISC_3_3_8.mp4","Type":"Default","Container":"mp4","Name":"480P/H264/AAC","RunTimeTicks":275650000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"RequiresOpening":false,"RequiresClosing":false,"VideoType":"VideoFile","MediaStreams":[{"Codec":"h264","Language":"und","IsInterlaced":false,"BitRate":129826,"BitDepth":8,"RefFrames":4,"IsDefault":true,"IsForced":false,"Height":480,"Width":720,"AverageFrameRate":24.05304,"RealFrameRate":59.94006,"Profile":"Main","Type":"Video","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"aac","Language":"eng","IsInterlaced":false,"ChannelLayout":"stereo","BitRate":156113,"Channels":2,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"LC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"dvdsub","Language":"eng","IsInterlaced":false,"BitRate":290,"IsDefault":true,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":294347,"RequiredHttpHeaders":{}}

/Users/sarah/.config/emby-server/ffmpeg/20150917/ffmpeg -fflags +genpts -i file:"/Volumes/Video Backup/TV Shows/Arrow (DVDs)/Arrow Season 1/ARROW_SEASON_1_DISC_3_3_8.mp4" -map 0:0 -map 0:1 -codec:v:0 libvpx -force_key_frames expr:gte(t,n_forced*5) -pix_fmt yuv420p -speed 16 -quality good -profile:v 0 -slices 8 -crf 10 -qmin 0 -qmax 50 -maxrate:v 129826 -bufsize:v (129826*2) -b:v 129826 -vsync vfr -filter_complex "[0:2]format=yuva444p,scale=720:480,lut=u=128:v=128:y=gammaval(.3) ; [0:0] overlay,scale=trunc(min(max(iw\,ih*dar)\,426)/2)*2:trunc(ow/dar/2)*2" -map_metadata -1 -threads 3 -codec:a:0 libvorbis -ac 2 -ab 128000 -af "aresample=async=1" -y "/Users/sarah/.config/emby-server/transcoding-temp/cf591c653ac79e9cb1944e59d4ad6eb7.webm"

Edited by gringitasarita
Link to comment
Share on other sites

ok for some reason it's unable to execute ffmpeg or ffprobe. The executables most likely do not have execute permission.

 

Can  you locate these two files

/Users/sarah/.config/emby-server/ffmpeg/20150917/ffprobe
/Users/sarah/.config/emby-server/ffmpeg/20150917/ffmpeg

and make sure they have execute permissions? Instructions on how to do that are here:

 

http://www.macinstruct.com/node/415

 

Thanks.

Link to comment
Share on other sites

gringitasarita

Re-doing the permissions (they said they were correct, but I set them in terminal anyway just to make sure) and restarting the server worked! Thank you so much!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...