Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: m4v Video Clips during playback
2nd Apr, 2016, 03:01 AM
Post: #1
Bug m4v Video Clips during playback
I have got some Videos that are in m4v format and its really frustrating not to watch them.

I have raspberry pi 2 and HDD connected is WD 1TB.

I also tried to find the raspi-config so that i may increase the graphics share but didnt find.Big Grin

any idea Sad

any help is appreciated.
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 03:37 AM
Post: #2
RE: m4v Video Clips during playback
(2nd Apr, 2016 03:01 AM)onlyindian Wrote:  I have got some Videos that are in m4v format and its really frustrating not to watch them.

If they are unprotected you can rename them to .mp4

Quote:I also tried to find the raspi-config so that i may increase the graphics share but didnt find.Big Grin

Please use xbian-config
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 04:46 AM
Post: #3
RE: m4v Video Clips during playback
Renaming Didn't work.

as i said video plays but it clips.

also cant find the raspi-config in my Xbian
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 07:59 AM
Post: #4
RE: m4v Video Clips during playback
(2nd Apr, 2016 04:46 AM)onlyindian Wrote:  Renaming Didn't work.

as i said video plays but it clips.

you did not said this

btw, what do you mean exactly with 'clips' Huh

Quote:also cant find the raspi-config in my Xbian

You'll never find raspi-config on XBian.

As I said, please use xbian-config Exclamation
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 06:56 PM
Post: #5
Bug RE: m4v Video Clips during playback
By clips i mean

during playback first it plays first few frames then stops and then goes in reverse and then again plays and again reverse.

Also the play is very slow even audio.

Quote:You'll never find raspi-config on XBian.

As I said, please use xbian-config

sorry didn't read that line.

Tried that but didn't saw any setting where i may change the GPU share.

will increasing the GPU share help me Undecided

any help is really appreciated.
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 07:58 PM
Post: #6
RE: m4v Video Clips during playback
Can you post the output of /boot/config.txt

Also, if possible one of the m4v files on something like dropbox or gdrive so we can test the playback.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 08:18 PM
Post: #7
RE: m4v Video Clips during playback
Following is the contents of the /boot/config.txt

Terminal
root@xbian:/home/xbian# cat /boot/config.txt
#initramfs initramfs.gz 0x1000000
gpu_mem_1024=256
gpu_mem_512=144
gpu_mem_256=100
initial_turbo=3
hdmi_ignore_cec_init=1
disable_overscan=1
overscan_left=4
overscan_right=4
overscan_top=4
overscan_bottom=4
disable_splash=1

dtoverlay=lirc-rpi


# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1920
#framebuffer_height=1080
root@xbian:/home/xbian#

I downloaded them from torrent and it has a label:

Quote:A x265/HEVC Player is a REQUIREMENT for this Torrent!

i am attaching the torrent file. You might download and have a look.

Unable to attach the torrent file.

Torrent for the m4v File

from above link you can download the files.

Also i searched a bit for the HEVC support and i think KODI do not support the playback.

anyways i will keep searching for any solution.


any help is really appreciated.Smile
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 08:51 PM
Post: #8
RE: m4v Video Clips during playback
That link shows that you're trying to play HEVC or x265 encoded files. These will NOT play on a RPi1 or RPi2 (Probably not RPI3 either)

You'll have to convert them to x264 first.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 09:30 PM
Post: #9
RE: m4v Video Clips during playback
Really thank you for confirming this.

Can you help me in helping to convert this.

I searched a lot, but cant find any way to convert the files on raspberry pi.

I have Windows 10 laptop and don't want to install any software on it.

Other is raspi2.

can i convert it on raspberry pi and if yes how and if no how on laptop.

any help is really appreciated. Smile
Find all posts by this user
Quote this message in a reply
2nd Apr, 2016, 10:11 PM
Post: #10
RE: m4v Video Clips during playback
I use ffmpeg on Ubuntu.

You could use ffmpeg on the pi but it would probably take weeks to decode (A 4 core i5 takes about 20 minutes to decode). Haven't tried on a RPi :-)

If you want to try, I use:
ffmpeg -i <input-file> -c:a copy -x265-params crf=25 <output-file.mp4>

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
3rd Apr, 2016, 12:01 AM (This post was last modified: 3rd Apr, 2016 12:03 AM by Nachteule.)
Post: #11
RE: m4v Video Clips during playback
I already made some tests with RPi2/RPi3 playing HEVC/h.265 videos.

RPi2 (not overclocked) is not able to play 720p smoothly, sometimes it stucks. Don't ask me how 1080p are going Dodgy
RPi3 (not overclocked) is playing this 720p smoothly, no 1080p tested, but I suppose it does not Sad

Usually when I convert videos, I'm using Handbrake or XMedia Recode. Both using ffmpeg internally, so the command IriDium told should do the same job.
Find all posts by this user
Quote this message in a reply
3rd Apr, 2016, 01:48 PM
Post: #12
RE: m4v Video Clips during playback
Thank you guys. You really helped me.
Find all posts by this user
Quote this message in a reply
3rd Apr, 2016, 09:36 PM
Post: #13
RE: m4v Video Clips during playback
One thought - if you don't have a Micro$oft nobbled bios on your laptop, is to boot via USB/CD a live version of Ubuntu, install ffmpeg or handbrake there, do your conversions and shutdown the live image. That way you won't need to touch your Win10 setup. However, you'll have to repeat the process each time you have a bunch of files to convert.

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
5th Apr, 2016, 10:17 PM
Post: #14
RE: m4v Video Clips during playback
Hey tried to convert using your command and following is the output of the command

Quote:[root@localhost Friends Season 03 (1080p x265 Joy)]# ffmpeg -i Friends\ S03E01\ The\ One\ with\ the\ Princess\ Leia\ Fantasy\ \(1080p\ x265\ Joy\).m4v -c:a copy -x265-params crf=25 output/Friends_S03E01.mp4
FFmpeg version 0.6.5, Copyright © 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --mandir=/usr/share/man --incdir=/usr/include --disable-avisynth --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC' --enable-avfilter --enable-avfilter-lavf --enable-libdc1394 --enable-libdirac --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libx264 --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-shared --enable-swscale --enable-vdpau --enable-version3 --enable-x11grab
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 0.11. 0 / 0.11. 0
libpostproc 51. 2. 0 / 51. 2. 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x812670]max_analyze_duration reached

Seems stream 0 codec frame rate differs from container frame rate: 90000.00 (90000/1) -> 1000.00 (1000/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Friends S03E01 The One with the Princess Leia Fantasy (1080p x265 Joy).m4v':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2mp41
title : Friends s 03 (1996) - for Hurtom & TNU by Tenax555 & smak2001
encoder : HandBrake 0.10.1 2015030800
Duration: 00:22:43.37, start: 0.000000, bitrate: 1033 kb/s
Stream #0.0(und): Video: hev1 / 0x31766568, 1920x1080, 900 kb/s, PAR 8001:8000 DAR 889:500, 23.98 fps, 1k tbr, 90k tbn, 90k tbc
Stream #0.1(eng): Audio: aac, 48000 Hz, 7 channels (FL|FR|FC|LFE|BL|BR), s16, 128 kb/s
Stream #0.2(eng): Subtitle: tx3g / 0x67337874, 0 kb/s
Unrecognized option 'c:a'
[root@localhost Friends Season 03 (1080p x265 Joy)]#


and as you know i have little knowledge in this field, i was unable to comprehend whats going on Blush

can you please check whats wrong in here ?? Big Grin

any help is really appreciated. Smile
Find all posts by this user
Quote this message in a reply
5th Apr, 2016, 10:41 PM
Post: #15
RE: m4v Video Clips during playback
Quote:FFmpeg version 0.6.5, Copyright 2000-2010 the FFmpeg developers
built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)

I suppose this version is a little bit too old Sad

Tested the command syntax given by IriDium with a more recent ffmpeg works pretty well Smile
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  [SOLVED] Video playback NOT fullscreen malibu 11 18,049 14th Jun, 2013 06:41 PM
Last Post: rikardo1979

Forum Jump: