speechles 1932 Posted December 19, 2015 Share Posted December 19, 2015 Okay, so got this dashcam thing and it records in AVI. But it records as MJPG within AVI. For some reason ffmpeg does nothing with the file? General Complete name : \\SPEECHLES-I3-PC\Media\-- Car\MOVI0002.avi Format : AVI Format/Info : Audio Video Interleave File size : 7.94 MiB Duration : 9s 120ms Overall bit rate : 7 301 Kbps Director : Generplus Original source form/Distributed by : Generplus Recorded date : 2010-06-29 Copyright : Generplus Video ID : 0 Format : JPEG Codec ID : MJPG Duration : 9s 33ms Bit rate : 12.9 Mbps Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate : 30.000 fps Color space : YUV Chroma subsampling : 4:2:2 Bit depth : 8 bits Compression mode : Lossy Bits/(Pixel*Frame) : 0.465 Stream size : 13.8 MiB Audio ID : 1 Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : 1 Duration : 9s 120ms Bit rate mode : Constant Bit rate : 256 Kbps Channel(s) : 1 channel Sampling rate : 16.0 KHz Bit depth : 16 bits Stream size : 285 KiB (4%) Alignment : Aligned on interleaves Interleave, duration : 475 ms (14.26 video frames) These wont play in anything with emby. But they do play just fine in bsplayer on windows and android. Are these videos not supported? Can they be? I dont want to permanently convert them. There are over 200 of them. Thanks. Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted December 9, 2016 Share Posted December 9, 2016 I have the same situation, a bunch of home videos are in MJPG format which is not recognized, is it a ffmpeg/licence problem, or it could be resolved in future releases? Link to comment Share on other sites More sharing options...
trifleneurotic 44 Posted December 9, 2016 Share Posted December 9, 2016 FWIW, there may some clues in this forum posting: https://emby.media/community/index.php?/topic/39281-new-installation-videos-wont-play/ The first suggestion was update ffmpeg then refresh media in web app. Although you may already have the newest ffmpeg version. If so, in that thread there is a link on how to report playback issues. They may ask for a media sample. Link to comment Share on other sites More sharing options...
Luke 37349 Posted December 9, 2016 Share Posted December 9, 2016 Can you provide a sample video for testing? Thanks ! Link to comment Share on other sites More sharing options...
trifleneurotic 44 Posted December 9, 2016 Share Posted December 9, 2016 Can you provide a sample video for testing? Thanks ! Called it (: Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted December 9, 2016 Share Posted December 9, 2016 FWIW, there may some clues in this forum posting: https://emby.media/community/index.php?/topic/39281-new-installation-videos-wont-play/ The first suggestion was update ffmpeg then refresh media in web app. Although you may already have the newest ffmpeg version. If so, in that thread there is a link on how to report playback issues. They may ask for a media sample. nope, I tried a fresh static build of ffmpeg but no luck Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted December 9, 2016 Share Posted December 9, 2016 Can you provide a sample video for testing? Thanks ! it's from Pentax DSLRs, you can take this sample http://dc.watch.impress.co.jp/video/dcw/docs/405/733/127.avi Link to comment Share on other sites More sharing options...
Happy2Play 8408 Posted December 9, 2016 Share Posted December 9, 2016 I guess the conflict here is identifying MJPEG differences in Embedded Images vs Video files. Link to comment Share on other sites More sharing options...
speechles 1932 Posted December 13, 2016 Author Share Posted December 13, 2016 (edited) @@Luke Http://ereader.kiczek.com/MOVI0057.avi If emby hasnt scanned in the media info, but does list the file, it works to play in emby (no media info = always transcodes). Once emby stores media info (ffprobes the file), then it no longer works to play. It just stalls the video player on my roku. The video is me looking for parking at walmart on a rainy day. Nothing big there, this dashcam chops videos into 5 minutes segments hence this one being 0057.. lol Can you get this to work with the sample above, please? 3 more days and its been a year since I created this thread. A nice present for the anniversary date would be to fix this. Lol Edited December 13, 2016 by speechles Link to comment Share on other sites More sharing options...
speechles 1932 Posted December 14, 2016 Author Share Posted December 14, 2016 @@Luke any thoughts on this? Ffmpeg issue? Work-arounds? Sent from my Nexus 7 using Tapatalk Link to comment Share on other sites More sharing options...
Happy2Play 8408 Posted December 14, 2016 Share Posted December 14, 2016 (edited) Image vs Video Image Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 1400x2100 [SAR 72:72 DAR 2:3], 90k tbr, 90k tbn, 90k tbc Video Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 1280x720, 22255 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc Log showing when you try to play sample provided by speechles. Edited December 14, 2016 by Happy2Play Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted January 17, 2017 Share Posted January 17, 2017 I'm using the recent ffmpeg build (post 3.2.2), and get the following in the debug log: 2017-01-17 09:25:26.3333 Info App: /opt/ffmpeg/ffmpeg -ss 00:00:03.000 -i file:"/mnt/Home_Video/Дельфинарий 2013/IMGP4555.AVI" -map_metadata -1 -map_chapters -1 -threads 0 -map -0:v -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset fast -crf 23 -tune zerolatency -maxrate 1616000 -bufsize 3232000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -copyts -codec:a:0 aac -strict experimental -ac 1 -ab 384000 -af "adelay=1,aresample=async=1" -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -start_number 1 -hls_list_size 0 -y "/var/lib/emby-server/transcoding-temp/097d21fe770b197d73d84a3a25bb4389.m3u8"2017-01-17 09:25:26.4536 Info App: FFMpeg exited with code 12017-01-17 09:25:26.5415 Info App: returning /var/lib/emby-server/transcoding-temp/097d21fe770b197d73d84a3a25bb43891.ts ffmpeg log: {"Protocol":"File","Id":"6b5c12318af9116e9cd2e29629ff036d","Path":"/mnt/Home_Video/Дельфинарий 2013/IMGP4555.AVI","Type":"Default","Container":"AVI","Name":"PCM_S16LE","ETag":"e7bd149dcd82c6ae46270dc56e1ca420","RunTimeTicks":5769940000,"ReadAtNativeFramerate":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"SupportsProbing":true,"VideoType":"VideoFile","MediaStreams":[{"Codec":"mjpeg","CodecTag":"MJPG","TimeBase":"33333/1000000","CodecTimeBase":"33333/1000000","IsInterlaced":false,"BitRate":48961300,"BitDepth":8,"RefFrames":1,"IsDefault":false,"IsForced":false,"Height":720,"Width":1280,"AverageFrameRate":30.0003,"RealFrameRate":30.0003,"Type":"EmbeddedImage","AspectRatio":"16:9","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuvj420p","Level":-99,"IsAnamorphic":false},{"Codec":"pcm_s16le","TimeBase":"1/32000","CodecTimeBase":"1/32000","DisplayTitle":"PCM_S16LE 1 ch","IsInterlaced":false,"BitRate":512000,"BitDepth":16,"Channels":1,"SampleRate":32000,"IsDefault":false,"IsForced":false,"Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0}],"PlayableStreamFileNames":[],"Formats":[],"Bitrate":49474543,"RequiredHttpHeaders":{}}/opt/ffmpeg/ffmpeg -ss 00:00:03.000 -i file:"/mnt/Home_Video/Дельфинарий 2013/IMGP4555.AVI" -map_metadata -1 -map_chapters -1 -threads 0 -map -0:v -map 0:1 -map -0:s -codec:v:0 libx264 -pix_fmt yuv420p -preset fast -crf 23 -tune zerolatency -maxrate 1616000 -bufsize 3232000 -vsync -1 -profile:v high -level 4.1 -force_key_frames "expr:gte(t,n_forced*3)" -vf "scale=trunc(min(max(iw\,ih*dar)\,1280)/2)*2:trunc(ow/dar/2)*2" -flags -global_header -copyts -codec:a:0 aac -strict experimental -ac 1 -ab 384000 -af "adelay=1,aresample=async=1" -max_delay 5000000 -avoid_negative_ts disabled -start_at_zero -hls_time 3 -start_number 1 -hls_list_size 0 -y "/var/lib/emby-server/transcoding-temp/097d21fe770b197d73d84a3a25bb4389.m3u8"ffmpeg version N-83033-g890320b1c0-static http://johnvansickle.com/ffmpeg/ Copyright © 2000-2017 the FFmpeg developers built with gcc 5.4.1 (Debian 5.4.1-4) 20161202configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-5 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gray --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimglibavutil 55. 43.100 / 55. 43.100libavcodec 57. 71.100 / 57. 71.100libavformat 57. 62.100 / 57. 62.100libavdevice 57. 2.100 / 57. 2.100libavfilter 6. 68.100 / 6. 68.100libswscale 4. 3.101 / 4. 3.101libswresample 2. 4.100 / 2. 4.100libpostproc 54. 2.100 / 54. 2.100[avi @ 0x3cf6a80] non-interleaved AVIGuessed Channel Layout for Input Stream #0.1 : monoInput #0, avi, from 'file:/mnt/Home_Video/Дельфинарий 2013/IMGP4555.AVI':Metadata:creation_time : 2013-04-21 12:12:14encoder : PENTAX K-7Duration: 00:09:36.99, start: 0.000000, bitrate: 49474 kb/sStream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj420p(pc, bt470bg/unknown/unknown), 1280x720, 48961 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbcStream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 32000 Hz, mono, s16, 512 kb/sStream map '0:v' matches no streams.To ignore this, add a trailing '?' to the map. Link to comment Share on other sites More sharing options...
Luke 37349 Posted January 17, 2017 Share Posted January 17, 2017 Yea i got these a little further for the next release. they won't fail anymore, but won't have video yet, so there's a little more work to do still. Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted January 17, 2017 Share Posted January 17, 2017 Thanks for good news Luke, hope to see the video in future :^) Link to comment Share on other sites More sharing options...
Ge0rge 1 Posted March 7, 2017 Share Posted March 7, 2017 I do hear a sound from these files now, will it be possible to add the video playback in the nearest future? Link to comment Share on other sites More sharing options...
Luke 37349 Posted March 7, 2017 Share Posted March 7, 2017 Yes, I have it working in my test bed. thanks for reminding me. Link to comment Share on other sites More sharing options...
Luke 37349 Posted March 7, 2017 Share Posted March 7, 2017 Please note, once the next server release is available this will require refreshing titles from the detail screen. Link to comment Share on other sites More sharing options...
Richard Branches 236 Posted February 1, 2019 Share Posted February 1, 2019 (edited) I have the same problem, I hear audio but video is black... ffmpeg-transcode-eb04a929-2780-4146-b80d-9ce9eabf8432_1.txt Edited February 1, 2019 by delacosta78 Link to comment Share on other sites More sharing options...
Luke 37349 Posted February 1, 2019 Share Posted February 1, 2019 These files are always a challenge. can you provide a sample video for testing? I hid your posting in the other topic as it was the same thing in two different places. thanks. Link to comment Share on other sites More sharing options...
Happy2Play 8408 Posted February 1, 2019 Share Posted February 1, 2019 Just tested 2 sample files I acquired and they both played with out issue. But your ffmpeg log clearly shows the video track being ignored. Link to comment Share on other sites More sharing options...
Richard Branches 236 Posted February 1, 2019 Share Posted February 1, 2019 These files are always a challenge. can you provide a sample video for testing? I hid your posting in the other topic as it was the same thing in two different places. thanks. They are personal videos so I will record another one of the sky or the ground or something else, then I'll reply back. Link to comment Share on other sites More sharing options...
Luke 37349 Posted February 1, 2019 Share Posted February 1, 2019 Thanks. Link to comment Share on other sites More sharing options...
Richard Branches 236 Posted February 11, 2019 Share Posted February 11, 2019 These files are always a challenge. can you provide a sample video for testing? I hid your posting in the other topic as it was the same thing in two different places. thanks. Here you go: https://drive.google.com/open?id=1gwGhD5Gi5onMgmIp3gemeCX-wiREeeuY Link to comment Share on other sites More sharing options...
Luke 37349 Posted February 12, 2019 Share Posted February 12, 2019 What app are you playing with? Link to comment Share on other sites More sharing options...
Richard Branches 236 Posted February 12, 2019 Share Posted February 12, 2019 What app are you playing with? On Google Chrome tries to play the video but then this error message appears: On the latest beta of Android TV I hear audio but I see a black screen. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now